Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Kristof Zelechovski
Plain text loses context under copy and paste as well.  I doubt it is
possible to express complex cultural phenomena without context of any kind.
When you paste a fragment of another document, you usually have to provide
some information about the context of the fragment.
Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Julian Reschke
Sent: Saturday, August 30, 2008 1:25 AM
To: Henri Sivonen
Cc: Ben Adida; [email protected]; 'Manu Sporny'; Kristof Zelechovski
Subject: Re: [whatwg] RDFa statement consistency


>> I like GRDDL, too, but it has problems with respect to scaling similar 
>> to microformats. Things will get complicated when you want to combine 
>> statements from different vocabularies on the same page.
> 
> The completely prefixless microformat naming approach isn't good when 
> different microformats overlap and common words have been allocated 
> badly. It works if you can decide that all classes that are on 
> descendants of a class identifying a format root belong to that format 
> (i.e. the subtree root is effectively the prefix).

Yes. But in that case the format is fragile under copy&paste, just as 
prefix-based approaches.





Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Julian Reschke

Henri Sivonen wrote:
If I've understood history correctly, introducing Namespaces into XML 
was primarily a requirement stipulated by the RDF community. XML got


Pointer, please?


http://lists.w3.org/Archives/Public/semantic-web/2007Dec/0116.html


Thanks.

I like GRDDL, too, but it has problems with respect to scaling similar 
to microformats. Things will get complicated when you want to combine 
statements from different vocabularies on the same page.


The completely prefixless microformat naming approach isn't good when 
different microformats overlap and common words have been allocated 
badly. It works if you can decide that all classes that are on 
descendants of a class identifying a format root belong to that format 
(i.e. the subtree root is effectively the prefix).


Yes. But in that case the format is fragile under copy&paste, just as 
prefix-based approaches.



...

Browsers don't
need to do anything (except make the attributes available in the DOM,
which they would probably do anyways.)
I'm getting mixed signals about the extent to which RDFa in 
envisioned to be browser-sensitive. Weren't browsers supposed to do 
cool stuff with it according to some emails in this thread?

...


Browsers are not "supposed" to do with RDFa anymore than, for 
instance, with microformats.



I've seen Mozilla Ubiquity referred to several times in this 
thread--presumably with the implication that something like Mozilla 
Ubiquity should be RDFa-based. That would be more than just ignoring 
attributes. (As far as I can tell, Ubiquity is not RDFa-based.)


Ubiquity is a plugin.

So again, nobody is asking the UA vendors *right now* to do something 
with it -- just like nobody is asking for native Microformats support.


BR, Julian




Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Dan Brickley

Henri Sivonen wrote:

On Aug 29, 2008, at 11:11, Julian Reschke wrote:


Henri Sivonen wrote:

I don't believe that is the case.
If I've understood history correctly, introducing Namespaces into XML 
was primarily a requirement stipulated by the RDF community. XML got


Pointer, please?


http://lists.w3.org/Archives/Public/semantic-web/2007Dec/0116.html


W3C Members (or invited experts with the right permissions) can read 
more of the back story in the original XML WG archives.


See http://lists.w3.org/Archives/Member/w3c-xml-wg/1998Jan/0034.html
'URGENT: Proposal to modify or delay XML 1.0 Recommendation', From: Jon 
Bosak, 12 Jan 1998. This points to a paper,

'Turning XML into a Universal Syntax for Web Data Formats'
http://www.w3.org/Member/Meeting/98JanAC/xml-req.html that was put 
before the Jan 1998 W3C AC Meeting in San Jose. I think it's reasonable 
to share the abstract here: "Concern is shared by members of the RDF, 
SMIL and Math working groups, and the W3C architecture domain staff, 
that the XML 1.0 Proposed Recommendation of 8Dec97 does not address the 
needs as a common base for the transmission of machine-understandable 
data.".


cheers,

Dan


Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Kristof Zelechovski
WHATWG cannot purge existing ignored elements and properties but it can try
avoiding adding new ones.
Besides, I wonder if the promoter of the DFN element make it clear that he
expected it to be ignored by the browser, as is the case with RDFa.
Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Toby A Inkster
Sent: Friday, August 29, 2008 10:28 PM
To: [email protected]
Subject: Re: [whatwg] RDFa statement consistency

Kristof Zelechovski wrote:

> The goal of the specification is to provide a set of rules that  
> conformant
> user agents must obey out of the box, without any extensions.   
> Features that
> are supposed to be ignored do not make good candidates for  
> including in the
> specification, except as extensions to HTML that are explicitly  
> supported.

The HTML 5 spec already includes the many features which browsers  
currently (mostly) ignore - the  tag, the "type" attribute on  
most links and so on. The fact that HTML includes a  element  
doesn't mean that every browser has to have a built in dictionary for  
storing all the definitions people collect on the web, but the  
element is there for those people who want to use it. Browsers  
*could* do something useful with  if they liked, but none so far  
seem to have done so.

-- 
Toby A Inkster
<mailto:[EMAIL PROTECTED]>
<http://tobyinkster.co.uk>





Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Toby A Inkster

Kristof Zelechovski wrote:

The goal of the specification is to provide a set of rules that  
conformant
user agents must obey out of the box, without any extensions.   
Features that
are supposed to be ignored do not make good candidates for  
including in the
specification, except as extensions to HTML that are explicitly  
supported.


The HTML 5 spec already includes the many features which browsers  
currently (mostly) ignore - the  tag, the "type" attribute on  
most links and so on. The fact that HTML includes a  element  
doesn't mean that every browser has to have a built in dictionary for  
storing all the definitions people collect on the web, but the  
element is there for those people who want to use it. Browsers  
*could* do something useful with  if they liked, but none so far  
seem to have done so.


--
Toby A Inkster







Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Ian Hickson
On Fri, 29 Aug 2008, Elliotte Harold wrote:
> 
> I fully expect to be revisiting this whole mess in 5-10 years to come up 
> with a real spec, after we've seen which of the experiments succeeded 
> and which failed. Then again maybe we'll just decide that specs don't 
> matter, and live with whatever browser vendors choose to implement.

That's actually exactly the process we are following. Spec things that we 
can justify and can get experimental implementations for, try to get more 
implementations, remove stuff that fails in the market place. That's one 
of the reasons the timetable for HTML5 has the work planned to continue 
until at least 2022.

For details see the FAQ:

   http://wiki.whatwg.org/wiki/FAQ

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Henri Sivonen

On Aug 29, 2008, at 11:11, Julian Reschke wrote:


Henri Sivonen wrote:

I don't believe that is the case.
If I've understood history correctly, introducing Namespaces into  
XML was primarily a requirement stipulated by the RDF community.  
XML got


Pointer, please?


http://lists.w3.org/Archives/Public/semantic-web/2007Dec/0116.html


...
I like the GRDDL approach of seeing RDF there by looking at non-RDF  
things just right--with the modification that the person who wants  
to look just right is the one supplying the transform.

...


I like GRDDL, too, but it has problems with respect to scaling  
similar to microformats. Things will get complicated when you want  
to combine statements from different vocabularies on the same page.


The completely prefixless microformat naming approach isn't good when  
different microformats overlap and common words have been allocated  
badly. It works if you can decide that all classes that are on  
descendants of a class identifying a format root belong to that format  
(i.e. the subtree root is effectively the prefix).


If vocabularies are designed to overlap, instead of having "title" it  
would be better to have "hcard-title". Still no need for all the full  
URI stuff in HTML. That could live in the GRDDL transform.



...

Browsers don't
need to do anything (except make the attributes available in the  
DOM,

which they would probably do anyways.)
I'm getting mixed signals about the extent to which RDFa in  
envisioned to be browser-sensitive. Weren't browsers supposed to do  
cool stuff with it according to some emails in this thread?

...


Browsers are not "supposed" to do with RDFa anymore than, for  
instance, with microformats.



I've seen Mozilla Ubiquity referred to several times in this thread-- 
presumably with the implication that something like Mozilla Ubiquity  
should be RDFa-based. That would be more than just ignoring  
attributes. (As far as I can tell, Ubiquity is not RDFa-based.)


--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/




Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Ben Adida
Kristof Zelechovski wrote:
> The goal of the specification is to provide a set of rules that conformant
> user agents must obey out of the box, without any extensions.  Features that
> are supposed to be ignored do not make good candidates for including in the
> specification, except as extensions to HTML that are explicitly supported.

We would be happy if RDFa were an extension to HTML5.

-Ben



Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Kristof Zelechovski
The goal of the specification is to provide a set of rules that conformant
user agents must obey out of the box, without any extensions.  Features that
are supposed to be ignored do not make good candidates for including in the
specification, except as extensions to HTML that are explicitly supported.
Chris

-Original Message-
From: Ben Adida [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2008 6:05 PM
To: Henri Sivonen
Cc: [email protected]; Kristof Zelechovski; 'Manu Sporny'
Subject: Re: [whatwg] RDFa statement consistency

> I'm getting mixed signals about the extent to which RDFa in envisioned
> to be browser-sensitive. Weren't browsers supposed to do cool stuff with
> it according to some emails in this thread?

Loose coupling. Browsers can do nothing or lots with RDFa, up to them.
But you don't have to mandate anything, certainly not any rendering
behavior.

No mixed message, just flexibility in what user agents choose to
implement. In fact, I'd rather they implement nothing and let extensions
like Ubiquity do the work.

-Ben



Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Ben Adida
Henri Sivonen wrote:
> Now we have people from the RDF community asking for CURIEs in HTML.

No. I'm not "from the RDF community." I am from Creative Commons. I
represent Creative Commons at the W3C. I have done no research or active
work on RDF, only on integrating RDF in HTML, because RDF was clearly
the best metadata model for our needs.

I am a member of the *Web* community. I believe URLs are useful. The
overhead you mention is easily optimized by caching common namespaces,
all the while maintaining a *Web* architecture, where you don't hand
over power to a central authority, you allow many to develop their own
vocabularies, and you let a thousand flowers bloom.

I understand that "RDF" is a four-letter word in some circles. But I
deal with the realities of what's needed for the kinds of applications
that we envision at Creative Commons, so it's important for me to get
over the exaggerated (and unprofessional) badmouthing of RDF and see
what it offers.

The SemWeb folks will tell you that I criticize large parts of RDF all
the time. I think many mistakes were made. But there are also many solid
design principles, especially if you believe in the Web.

> Even if the experiment didn't work out, the damage would already have
> been done, and the HTML community would be stuck with supporting CURIEs.

No. You don't have to support them at all. You can say that "browsers
are free to ignore these attributes. If browsers or other user agents
want to parse them, they should use the RDFa specification."

The *rest* of your HTML is completely unaffected. This is quite
different from the XML experience you describe, where you have to be
namespace-aware to start parsing anything. So, not a fair comparison by
any stretch.

> Or even if we were able to negotiate CURIEs away and settle on full
> URIs, the HTML community would be stuck with unwieldy identifiers (just
> consider how much things would suck if HTML element names had to be
> written as URIs).

We agree, writing out full URIs often sucks, which is why we limit that
with prefixes. But we never claimed we needed to do so with element
*names*, that's a strawman argument.

> It's really not nice to impose the RDF tax onto the HTML community.

It's not the RDF tax. It's the Web tax. It's building an architecture
that supports distributed innovation, that says your URL is not
inherently more powerful than mine.

You want monolithic, top-down, one solution-fits-all. I want the Web.

> Back in the Atom WG, there was also the issue that some RDF proponents
> wanted to make Atom RDF. Instead of making all Atom consumers deal with
> RDF, we specced a way for mapping Atom rel keywords onto URIs, so people
> who want to see the world as URIs, can see it as URIs but the rest of us
> don't have to.

Doesn't Atom have namespaces for all of its extensions, i.e. gdata? Why
aren't you complaining there? In fact, the funny thing is that Atom is
effectively RDF, because it's XML that doesn't have a very strict
schema, since you can extend every which way you like, add extra
namespaces, etc... and pretty soon it looks like RDF/XML, only it's not
called that.

I suspect you're more afraid of the acronym "RDF" than you are of the
actual technology.

> I like the GRDDL approach of seeing RDF there by looking at non-RDF
> things just right--with the modification that the person who wants to
> look just right is the one supplying the transform.

GRDDL is great, but in the HTML case it has some significant downsides.
It doesn't let you do the important Ubiquity-like use case: where you
point to an area of the screen and you get exactly *that* structured data.

> The point of
> http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/016021.html
> was to try to come up with a scheme that allows people who want to see
> HTML as RDF to see it that way, but in doing so making them pay the RDF
> tax so that those who don't need or want to see HTML as RDF do not need
> to pay the RDF tax.

This entire line of reasoning around the "RDF tax" is, in my opinion,
bogus. There is no significant RDF-specific tax in the proposal we're
making. The question is whether you believe in a Web-like architecture,
or whether you want all parsers to know all sorts of pre-defined kludges
ahead of time. Monolithic vs the Web.

Is it a bit slower to do things with a Web-like architecture?
Absolutely. That's the price we pay for flexibility, a price we already
accept by getting on the web in the first place, e.g. visiting sites
that include JavaScript from other servers which then slow down the
rendering of the page, etc

> I'm getting mixed signals about the extent to which RDFa in envisioned
> to be browser-sensitive. Weren't browsers supposed to do cool stuff with
> it according to some emails in this thread?

Loose coupling. Browsers can do nothing or lots with RDFa, up to them.
But you don't have to mandate anything, certainly not any rendering
behavior.

No mixed message, just flexibility in 

Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Julian Reschke

Elliotte Harold wrote:

Julian Reschke wrote:


Parts of the community are totally happy with them.


You have got to be kidding me. I can't think of anyone who is totally 
happy with namespaces in XML. I can't even think of anybody who is happy 
with. The best I think anyone claims is tolerance. Even full-time XML 
geeks like me have a real distaste for namespaces, and admit the design 
is seriously flawed.


Seriously, can anyone here stand up and say, "I really like namespaces 
in XML."? If so, can you please explain why?


I do.

They solve the problem they are supposed to solve. I've been taking 
advantage of them in many many projects over the last few years, and it 
really all works as expected.


I admit that there are some aspects that suck; the main one being the 
primitive support in DOM, and the fact that it took years until 
serializers did work as expected (without the programmer having to 
explicitly deal with xmlns attributes).


Of course it's totally cool nowadays to diss XML namespaces -- it would 
be interesting to see what other design and syntax would have worked 
better, and which decisions about the syntax may be wrong in 
retrospective. But then it's also cool to prefer JSON or tag soup over XML.


But that would be a discussion for xml-dev.

BR, Julian





Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Elliotte Harold

Kristof Zelechovski wrote:


Do you think that HTML5 should allow arbitrary experimentation under the
banner "Let us just do it and we shall see?"  


I don't think HTML 5 should allow arbitrary experimentation.

That doesn't change the fact that the HTML 5 spec is full of arbitrary 
experimentation, which is one of the reasons I think this whole effort 
has gone badly off the rails and will fail.


I fully expect to be revisiting this whole mess in 5-10 years to come up 
with a real spec, after we've seen which of the experiments succeeded 
and which failed. Then again maybe we'll just decide that specs don't 
matter, and live with whatever browser vendors choose to implement.


Maybe that's OK. That's pretty much how the Web has worked for close to 
20 years now, and it seems to be muddling along. Maybe no HTML spec has 
ever really been anything but an experiment anyway.


--
Elliotte Rusty Harold  [EMAIL PROTECTED]
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA


Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Elliotte Harold

Julian Reschke wrote:


Parts of the community are totally happy with them.


You have got to be kidding me. I can't think of anyone who is totally 
happy with namespaces in XML. I can't even think of anybody who is happy 
with. The best I think anyone claims is tolerance. Even full-time XML 
geeks like me have a real distaste for namespaces, and admit the design 
is seriously flawed.


Seriously, can anyone here stand up and say, "I really like namespaces 
in XML."? If so, can you please explain why?


--
Elliotte Rusty Harold  [EMAIL PROTECTED]
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA


Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Elliotte Harold

Henri Sivonen wrote:

I like the GRDDL approach of seeing RDF there by looking at non-RDF 
things just right--with the modification that the person who wants to 
look just right is the one supplying the transform.


There's a really simple algorithm for deciding whether to introduce a 
feature, tag, or datum that RDF folks want. Pretend you've never heard 
of RDF, OWL, or the Semantic Web. Eliminate all arguments in favor that 
reference RDF, OWL, or the Semantic Web. Then ask, "Does the addition 
still make sense?" If so, add it, If not, leave it out.


--
Elliotte Rusty Harold  [EMAIL PROTECTED]
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA


Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Julian Reschke

Henri Sivonen wrote:

I don't believe that is the case.

If I've understood history correctly, introducing Namespaces into XML 
was primarily a requirement stipulated by the RDF community. XML got 


Pointer, please?

Namespaces, but then at least notable parts of the RDF community figured 
that they didn't like RDF/XML all that much and started doing N-triples, 
N3 and Turtle. The damage was already done, and now the XML community is 
stuck with Namespaces in XML.


Parts of the community are totally happy with them.


...
I like the GRDDL approach of seeing RDF there by looking at non-RDF 
things just right--with the modification that the person who wants to 
look just right is the one supplying the transform.

...


I like GRDDL, too, but it has problems with respect to scaling similar 
to microformats. Things will get complicated when you want to combine 
statements from different vocabularies on the same page.



 ...

Browsers don't
need to do anything (except make the attributes available in the DOM,
which they would probably do anyways.)


I'm getting mixed signals about the extent to which RDFa in envisioned 
to be browser-sensitive. Weren't browsers supposed to do cool stuff with 
it according to some emails in this thread?

...


Browsers are not "supposed" to do with RDFa anymore than, for instance, 
with microformats.


BR, Julian


Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Henri Sivonen

On Aug 29, 2008, at 00:29, Ben Adida wrote:


Plus, consider the risk to HTML5: nothing.


I don't believe that is the case.

If I've understood history correctly, introducing Namespaces into XML  
was primarily a requirement stipulated by the RDF community. XML got  
Namespaces, but then at least notable parts of the RDF community  
figured that they didn't like RDF/XML all that much and started doing  
N-triples, N3 and Turtle. The damage was already done, and now the XML  
community is stuck with Namespaces in XML.


I write software that processes XML, so every time I have to look up a  
namespace URI, I'm effectively paying a spill-over RDF tax. When my  
software runs slower because it has to compare two strings instead of  
one, the users of my software are paying a spill-over RDF tax. I  
seriously don't like paying the spill-over RDF tax in the form of  
Namespaces.


Now we have people from the RDF community asking for CURIEs in HTML.  
Even if the experiment didn't work out, the damage would already have  
been done, and the HTML community would be stuck with supporting  
CURIEs. Or even if we were able to negotiate CURIEs away and settle on  
full URIs, the HTML community would be stuck with unwieldy identifiers  
(just consider how much things would suck if HTML element names had to  
be written as URIs).


It's really not nice to impose the RDF tax onto the HTML community.

Back in the Atom WG, there was also the issue that some RDF proponents  
wanted to make Atom RDF. Instead of making all Atom consumers deal  
with RDF, we specced a way for mapping Atom rel keywords onto URIs, so  
people who want to see the world as URIs, can see it as URIs but the  
rest of us don't have to.


I like the GRDDL approach of seeing RDF there by looking at non-RDF  
things just right--with the modification that the person who wants to  
look just right is the one supplying the transform.


The point of
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-August/016021.html
was to try to come up with a scheme that allows people who want to see  
HTML as RDF to see it that way, but in doing so making them pay the  
RDF tax so that those who don't need or want to see HTML as RDF do not  
need to pay the RDF tax.



Browsers don't
need to do anything (except make the attributes available in the DOM,
which they would probably do anyways.)


I'm getting mixed signals about the extent to which RDFa in envisioned  
to be browser-sensitive. Weren't browsers supposed to do cool stuff  
with it according to some emails in this thread?


--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/




Re: [whatwg] RDFa statement consistency

2008-08-29 Thread Kristof Zelechovski
Having alternate interleaved content streams is a new concept on the web; it
has happened before but only to replaced elements that are guests to the
document but not to the main text.  Returning to Ben's example, the content
verifier should verify that an element claimed to claimed to contain the
author of the resource is recognizable as such to the human reader who does
not have immediate access to the metadata.  Of course, it should also check
that the entities in question exist and can have the property specified, but
that is a technical problem that is much easier to solve.
It is easier to generate description from metadata than to check the
consistency afterwards IMHO but you insist on not doing it.
Do you think that HTML5 should allow arbitrary experimentation under the
banner "Let us just do it and we shall see?"  I suppose you do not think so
either.  RDFa without any means of consistency validation, as incomplete and
imperfect as they have to be, is not mature enough.
I do not think we need to have a consistency checker for the natural
language text in the Web page, for the following reasons:
1. A natural language does not require repeating the same information in two
different ways.
2. All natural language text is, roughly speaking, visible in display mode
so any inconsistencies can be easily recognized; whereas the alternative
information streams are not; they are for different readers to read.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Sporny
Sent: Friday, August 29, 2008 6:46 AM
To: [email protected]
Subject: Re: [whatwg] RDFa statement consistency

Kristof Zelechovski wrote:
> HTML5 is too crucial as a technology to allow arbitrary experimentation. 

Please refrain from making wildly opinionated and loaded comments such
as this without logically backing up your argument Kristof. Many on this
list and off this list would view a number of HTML5 features as
"arbitrary experimentation".

"Experimentation" is fine and "arbitrary" is a matter of opinion when
applied in broad strokes. The important thing is to discuss the benefits
and drawbacks of each decision without resorting to wording such as yours.

> I
> would rather wait for a consistency checker to exist, at least
approximately
> and conceptually, before having alternate content streams in HTML.  Maybe
> that is just me.

Yes, it does seems to be just you that is making this argument that the
Web must be completely consistent at all times. Perhaps if you could
outline exactly what your consistency checker would check, then we could
make some progress on whether or not it is achievable. Do you think that
we should also have a consistency checker for natural language used in a
web page? Is your idea of a valid consistency checker to solve the
Natural Language Processing (NLP) problem first?





Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Manu Sporny
Kristof Zelechovski wrote:
> HTML5 is too crucial as a technology to allow arbitrary experimentation. 

Please refrain from making wildly opinionated and loaded comments such
as this without logically backing up your argument Kristof. Many on this
list and off this list would view a number of HTML5 features as
"arbitrary experimentation".

"Experimentation" is fine and "arbitrary" is a matter of opinion when
applied in broad strokes. The important thing is to discuss the benefits
and drawbacks of each decision without resorting to wording such as yours.

> I
> would rather wait for a consistency checker to exist, at least approximately
> and conceptually, before having alternate content streams in HTML.  Maybe
> that is just me.

Yes, it does seems to be just you that is making this argument that the
Web must be completely consistent at all times. Perhaps if you could
outline exactly what your consistency checker would check, then we could
make some progress on whether or not it is achievable. Do you think that
we should also have a consistency checker for natural language used in a
web page? Is your idea of a valid consistency checker to solve the
Natural Language Processing (NLP) problem first?

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches


Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Kristof Zelechovski
Browsers do not have to support JavaScript at all and the user can switch it
off when it is supported.
Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Adida
Sent: Friday, August 29, 2008 12:28 AM
To: Anne van Kesteren
Cc: Kristof Zelechovski; 'Manu Sporny'; [EMAIL PROTECTED]
Subject: Re: [whatwg] RDFa statement consistency

Anne van Kesteren wrote:
> SQL actually doesn't affect the HTML5 language,

Isn't that nitpicking a bit? It's part of the feature-set that a browser
would have to implement, part of the books that have to be written,
etc..., right?





Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Ben Adida
Kristof Zelechovski wrote:
> It seems you believe in code generators.  I do not share your belief.

Creative Commons, YouTube, Flickr, etc... a lot of sites generate a
chunk of HTML for you to paste within your site to gain a feature. This
is a model that seems to work pretty well.

> A comment "Do not touch --- generated code"

So we've built RDFa specifically so that it's quite robust to changes
you make to the generated code. Not infinitely robust, of course, but
certainly ready to withstand a bit of styling.

-Ben


Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Ben Adida
Anne van Kesteren wrote:
> SQL actually doesn't affect the HTML5 language,

Isn't that nitpicking a bit? It's part of the feature-set that a browser
would have to implement, part of the books that have to be written,
etc..., right?

> I don't really think it makes sense to compare that
> feature to RDF though... (Because as far as I can tell we're not talking
> about adding an RDF triple store to browsers.)

Exactly, RDFa makes far fewer demands.

>> The cost is small when we've already written a lot of the documentation
>> and specs for how this would work (in XHTML, but it's all DOM-based.)
> 
> No, it makes the language more complex. That's a significant cost.

So, since we've written the documentation, and we're willing to write it
in the context of HTML5, what is the *significant* cost to the HTML5 WG?

>> Ubiquity is a plug-in. The user-agents themselves don't have to support
>> those features directly, at least not now.
> 
> "not now" was my point, indeed.

Just to be clear, I meant "not now" for user-agents' mandated UIs, but
certainly "now" for integrating into the language and letting user-agent
extensions handle them.

>> The SQL-in-the-browser spec affects user-agents quite a bit more, since
>> they actually *have* to provide SQL capabilities, otherwise they're not
>> conformant.
> 
> Yes, though again, that's a totally different feature. Supporting
> (dynamic) CSS layout probably costs us a lot more, yet having that
> doesn't imply we should simply add support for everything that is less
> complex.

I'm only trying to frame the complexity of RDFa to that of another new
feature that was recently added. I wouldn't dream of comparing to CSS,
which is obviously not new.

-Ben


Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Kristof Zelechovski
They want the xmlns declaration on a DIV provided by the wizard, not on the
HTML element.
Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anne van Kesteren
Sent: Friday, August 29, 2008 12:19 AM
To: Ben Adida
Cc: Kristof Zelechovski; 'Manu Sporny'; [EMAIL PROTECTED]
Subject: Re: [whatwg] RDFa statement consistency

On Thu, 28 Aug 2008 23:55:07 +0200, Ben Adida <[EMAIL PROTECTED]> wrote:
> Anne van Kesteren wrote:
>> Especially given the copy & paste authors you want to enable this for,
>> down the road.
>
> I'm confused. Copy&Paste is meant to abstract out the complexity for
> simple web publishers.

The point is that the Web author would most likely forget the namespace  
indirection:

   
...
 ... 





Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Anne van Kesteren

On Thu, 28 Aug 2008 23:55:07 +0200, Ben Adida <[EMAIL PROTECTED]> wrote:

Anne van Kesteren wrote:

FWIW, when considering language complexity, just considering whether it
impacts user agents seems naïve. Eg, it impacts people reading the
specification, people writing documentation, people writing books, etc.


Fair enough.

Doesn't "SQL in the browser" affect all of those things by at least an
order of magnitude more? Which SQL spec, given that no SQL engine
perfectly abides by any of the SQL standards? What kind of transaction
support and locking?


SQL actually doesn't affect the HTML5 language, but it's a certainly a  
complex feature. I don't really think it makes sense to compare that  
feature to RDF though... (Because as far as I can tell we're not talking  
about adding an RDF triple store to browsers.)




Adding attributes is certainly not without cost even if browsers have to
do nothing at all.


The cost is small when we've already written a lot of the documentation
and specs for how this would work (in XHTML, but it's all DOM-based.)


No, it makes the language more complex. That's a significant cost.



(Also, given examples such as Ubiquity, the idea is
that it actually does impact user agents in nontrivial ways long term.)


Ubiquity is a plug-in. The user-agents themselves don't have to support
those features directly, at least not now.


"not now" was my point, indeed.



The SQL-in-the-browser spec affects user-agents quite a bit more, since
they actually *have* to provide SQL capabilities, otherwise they're not
conformant.


Yes, though again, that's a totally different feature. Supporting  
(dynamic) CSS layout probably costs us a lot more, yet having that doesn't  
imply we should simply add support for everything that is less complex.




The idea and premise of RDF is sort of attractive (people being able to
do their own thing, unified data model, etc),


I'm glad this point is coming across.


though I agree with others
that the complexity (lengthy URIs, qname/curie cruft) is an issue.
Especially given the copy & paste authors you want to enable this for,
down the road.


I'm confused. Copy&Paste is meant to abstract out the complexity for
simple web publishers.


The point is that the Web author would most likely forget the namespace  
indirection:


  
   ...
... 

Anyway, I wasn't planning on completely diving into this permathread. Have  
fun!



--
Anne van Kesteren




Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Kristof Zelechovski
It seems you believe in code generators.  I do not share your belief.  A
comment "Do not touch --- generated code" means to me the formal language
used is at fault and that I should rather find another language to use.
(Unless we are talking about a secondary form, of course, but what is the
primary form then?)
Chris

-Original Message-
From: Ben Adida [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 28, 2008 11:55 PM
To: Anne van Kesteren
Cc: Kristof Zelechovski; [EMAIL PROTECTED]; 'Manu Sporny'
Subject: Re: [whatwg] RDFa statement consistency

> though I agree with others
> that the complexity (lengthy URIs, qname/curie cruft) is an issue.
> Especially given the copy & paste authors you want to enable this for,
> down the road.

I'm confused. Copy&Paste is meant to abstract out the complexity for
simple web publishers.

-Ben



Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Ben Adida
Anne van Kesteren wrote:
> FWIW, when considering language complexity, just considering whether it
> impacts user agents seems naïve. Eg, it impacts people reading the
> specification, people writing documentation, people writing books, etc.

Fair enough.

Doesn't "SQL in the browser" affect all of those things by at least an
order of magnitude more? Which SQL spec, given that no SQL engine
perfectly abides by any of the SQL standards? What kind of transaction
support and locking?

> Adding attributes is certainly not without cost even if browsers have to
> do nothing at all.

The cost is small when we've already written a lot of the documentation
and specs for how this would work (in XHTML, but it's all DOM-based.)

> (Also, given examples such as Ubiquity, the idea is
> that it actually does impact user agents in nontrivial ways long term.)

Ubiquity is a plug-in. The user-agents themselves don't have to support
those features directly, at least not now.

The SQL-in-the-browser spec affects user-agents quite a bit more, since
they actually *have* to provide SQL capabilities, otherwise they're not
conformant.

> The idea and premise of RDF is sort of attractive (people being able to
> do their own thing, unified data model, etc),

I'm glad this point is coming across.

> though I agree with others
> that the complexity (lengthy URIs, qname/curie cruft) is an issue.
> Especially given the copy & paste authors you want to enable this for,
> down the road.

I'm confused. Copy&Paste is meant to abstract out the complexity for
simple web publishers.

-Ben


Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Anne van Kesteren

On Thu, 28 Aug 2008 23:29:22 +0200, Ben Adida <[EMAIL PROTECTED]> wrote:

Kristof Zelechovski wrote:

HTML5 is too crucial as a technology to allow arbitrary experimentation.


Arbitrary? Plus, consider the risk to HTML5: nothing. Browsers don't
need to do anything (except make the attributes available in the DOM,
which they would probably do anyways.) This is just about what validates
and what doesn't.


FWIW, when considering language complexity, just considering whether it  
impacts user agents seems naïve. Eg, it impacts people reading the  
specification, people writing documentation, people writing books, etc.  
Adding attributes is certainly not without cost even if browsers have to  
do nothing at all. (Also, given examples such as Ubiquity, the idea is  
that it actually does impact user agents in nontrivial ways long term.)


The idea and premise of RDF is sort of attractive (people being able to do  
their own thing, unified data model, etc), though I agree with others that  
the complexity (lengthy URIs, qname/curie cruft) is an issue. Especially  
given the copy & paste authors you want to enable this for, down the road.



--
Anne van Kesteren




Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Ben Adida
Kristof Zelechovski wrote:
> HTML5 is too crucial as a technology to allow arbitrary experimentation.

Arbitrary? Plus, consider the risk to HTML5: nothing. Browsers don't
need to do anything (except make the attributes available in the DOM,
which they would probably do anyways.) This is just about what validates
and what doesn't.

If you're worried about risk to a crucial technology, I have to come
back to my example: SQL-in-the-browser is *significantly* riskier
experimentation.

-Ben



Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Kristof Zelechovski
HTML5 is too crucial as a technology to allow arbitrary experimentation.  I
would rather wait for a consistency checker to exist, at least approximately
and conceptually, before having alternate content streams in HTML.  Maybe
that is just me.
Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Sporny
Sent: Thursday, August 28, 2008 11:06 PM
To: [email protected]
Subject: Re: [whatwg] RDFa statement consistency

Kristof Zelechovski wrote:
> I think RDFa has already happened: you know what it is and how to use it.

Yes, you are correct - RDFa has, more or less, already happened. It will
be an official W3C standard in the next couple of months and will be
supported in XHTML1.1 and XHTML2. Some are currently working to get it
integrated into a new HTML4 DTD as well. No putting the semantic genie
back in the bottle. :)

> You can embed it in XHTML.  Why is having it in HTML necessary for
creating
> statistical models?

I was speaking generally in that case because I thought you were
speaking generally... this seems to have caused confusion. Apologies for
that.

If we are to be very specific, you do not /need/ RDFa attributes in
HTML5 to create statistical semantic models. You could build the same
models from all of the HTML4+RDFa, XHTML1.1+RDFa, and XHTML2 documents
out there. It would also be easier to check those documents for
NLP/semantic correctness with the RDFa markup embedded in the document.
Statistical models are just one approach among the many that would be
used to perform NLP correctness verification. You would not be able to
depend solely on statistical models.

So while you are technically correct, not having any sort of robust
semantic expression mechanism in HTML5 deprives the content from having
multiple paths to validating the document semantics:

- The page's NLP based semantic model verified against RDFa model.
- The page's Statistical model used to verify parts of the RDFa model.

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches



Re: [whatwg] RDFa statement consistency

2008-08-28 Thread Manu Sporny
Kristof Zelechovski wrote:
> I think RDFa has already happened: you know what it is and how to use it.

Yes, you are correct - RDFa has, more or less, already happened. It will
be an official W3C standard in the next couple of months and will be
supported in XHTML1.1 and XHTML2. Some are currently working to get it
integrated into a new HTML4 DTD as well. No putting the semantic genie
back in the bottle. :)

> You can embed it in XHTML.  Why is having it in HTML necessary for creating
> statistical models?

I was speaking generally in that case because I thought you were
speaking generally... this seems to have caused confusion. Apologies for
that.

If we are to be very specific, you do not /need/ RDFa attributes in
HTML5 to create statistical semantic models. You could build the same
models from all of the HTML4+RDFa, XHTML1.1+RDFa, and XHTML2 documents
out there. It would also be easier to check those documents for
NLP/semantic correctness with the RDFa markup embedded in the document.
Statistical models are just one approach among the many that would be
used to perform NLP correctness verification. You would not be able to
depend solely on statistical models.

So while you are technically correct, not having any sort of robust
semantic expression mechanism in HTML5 deprives the content from having
multiple paths to validating the document semantics:

- The page's NLP based semantic model verified against RDFa model.
- The page's Statistical model used to verify parts of the RDFa model.

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches


Re: [whatwg] RDFa statement consistency (was: RDFa Basics Video (8 minutes))

2008-08-28 Thread Kristof Zelechovski
I think RDFa has already happened: you know what it is and how to use it.
You can embed it in XHTML.  Why is having it in HTML necessary for creating
statistical models?
Chris

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Sporny
Sent: Thursday, August 28, 2008 12:42 AM
To: [email protected]
Subject: Re: [whatwg] RDFa statement consistency (was: RDFa Basics Video (8
minutes))

Kristof Zelechovski wrote:
> We have two options for having both human-readable and
> machine-readable information in a document: write the structure and
> generate the text or write the text and recover the structure.  At the
> very least, if you insist on having both, there must be a mechanism to
> verify that they are consistent.

It is understood that there may be data that is corrupt and that is
okay. There is an area of semantic web development that deals with the
concept of provenance and validation. You can even apply statistical
models to catch logical inconsistencies, but those models need a core
set of semantic information to be of any use. RDFa must happen before
any sort of statistical model can be created for checking logical
consistency between HTML text and semantic data.





Re: [whatwg] RDFa statement consistency (was: RDFa Basics Video (8 minutes))

2008-08-27 Thread Manu Sporny
Kristof Zelechovski wrote:
> We have two options for having both human-readable and
> machine-readable information in a document: write the structure and
> generate the text or write the text and recover the structure.  At the
> very least, if you insist on having both, there must be a mechanism to
> verify that they are consistent.

As both Ben and Toby already pointed out, there doesn't have to be any
sort of consistency mechanism. The web today works without a logical
consistency checking mechanism in any of the current publishing languages.

We are not striving for perfect semantic data with RDFa on day one - we
are striving for an easy mechanism for expressing semantic data in HTML
family languages.

It is understood that there may be data that is corrupt and that is
okay. There is an area of semantic web development that deals with the
concept of provenance and validation. You can even apply statistical
models to catch logical inconsistencies, but those models need a core
set of semantic information to be of any use. RDFa must happen before
any sort of statistical model can be created for checking logical
consistency between HTML text and semantic data.

The other approach is the use of Natural Language Processing (NLP) to
address the HTML/RDFa logical consistency issue. Solving the problem of
NLP has proven to be quite a tough nut to crack. Computer scientists
have been working on the problem for decades and a general purpose
solution is nowhere in sight. The good news is that we don't need to
solve this problem, as the web contains logical inconsistencies in it's
content today without affecting the positive global utility of the system.

Assume, however, that the NLP problem is solved. RDFa still provides a
mechanism that is useful in a post-NLP web. That is, one of content
validation. There will come a time where we mis-state facts on a web
page but the machine generated semantic data on the page is correct. The
counter to this scenario is also possible - where we state the correct
facts on a web page, but the machine generated semantic data on the page
is incorrect. In both cases, the consistency verification process would
use both the RDFa data as well as the NLP data in determining the
location of the inconsistency. A human could then be brought in to
correct the inconsistency - or a solution could be reasoned out by the
computer using the same statistical method as mentioned previously.

The possibilities don't stop there - we can utilize RDFa to get to the
stage of NLP by using RDFa markup to teach computers how to reason.
Think of RDFa as a NLP stepping-stone that could be used by researchers
in the field. Building NLP databases are a very expensive, manual and
thus and time consuming process. However, humans are publishing data
that would be useful to a NLP system every day - in blog posts,
wikipedia entries, e-commerce sites, news feeds, maps and photo streams.
 RDFa-assisted NLP would be one such approach that researchers could use
to get us to the eventual goal of true NLP.

I hope that outlines the possibilities and shows how RDFa is a major
part in realizing each scenario outlined above. Any questions on the
concepts outlined in this e-mail?

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.0 Website Launches
http://blog.digitalbazaar.com/2008/07/03/bitmunk-3-website-launches