Re: PROPOSAL from telecon on XMLLiteral

Ivan Herman wrote:
> I try to understand one aspect of the proposal. Is it so that
> 
> <div datatype="" property="a:b">XML CONTENT</div>
> 
> and
> 
> <div property="a:b">XML CONTENT</div>
> 
> would have the same effect? 

That is correct.

> to produce an XML Literal, I have to explicitly define it 
> with the datatype?

That is also correct, you would have to do this:

<div property="a:b" datatype="rdf:XMLLiteral"><foo>bar</foo></div>

which would result in this triple:

<> a:b "<foo>bar</foo>"^^rdf:XMLLiteral .

Doing this,

<div property="a:b"><foo>bar</foo></div>

would result in this triple:

<> a:b "bar" .

> We gave a special role to the @datatype="" in this respect and I think
> it is essential to keep that. 

Agreed, and I haven't heard anybody say that we would change that
particular behavior.

> With that we would probably make most of the RDFa content stay valid and
> unchanged. Maybe it is worth 'asking it around' among RDFa deployments
> to see if _real_ XML Literals are used frequently or not, to get a
> feeling of the possible damage such a change would produce (I am not too
> afraid of implementers, for those this change should be doable easily
> and quickly)

Agreed - we should try and find a good number of pages where the author
specifically meant to generate XMLLiterals without specifying
rdf:XMLLiteral.

Anybody at a semantic search provider that could help us figure out a
rough number (percentages?) of how many XMLLiterals you have in your
triple store vs. other types of triples? Any chance we could get a
sample set of triples? We could analyze some of the data by seeing if
XMLLiteral is allow-able via rdfs:range?

Michael, could DERI help us out with this in some way through the
Sindice triple store?

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk 3.1 Released - Browser-based P2P Commerce
http://blog.digitalbazaar.com/2009/06/29/browser-based-p2p-commerce/

Received on Wednesday, 29 July 2009 03:10:51 UTC