- From: Ben Adida <ben@adida.net>
- Date: Wed, 17 Oct 2007 21:55:40 -0700
- To: Manu Sporny <msporny@digitalbazaar.com>
- CC: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
Manu Sporny wrote:
> TC48: SEMANTICS OK, SPARQL OK
> I've stared at this one for quite some time and thoroughly
> confused myself. Somebody that is more familiar with the
> processing rules will have to explain why this is right or
> wrong. It passes the latest pyRDFa and SPARQL implementations.
Here's how I think about it:
If you had the following markup:
<div about="http://www.example.org"
rel="foaf:knows">
<p property="foaf:name">John Doe</p>
</div>
Then by the chaining rule of @rel, you get:
<http://www.example.org> foaf:knows _:x
_:x foaf:name "John Doe" .
where the bnode _:x "corresponds" to the DIV and is the chaining node.
@instanceof, when added, applies to this corresponding bnode, the
chaining node, so, when you add
instanceof="foaf:Person", you get the same triples as above plus:
_:x rdf:type foaf:Person .
-Ben
Received on Thursday, 18 October 2007 04:55:29 UTC