- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Thu, 18 Oct 2007 00:39:38 -0400
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
TC46: SEMANTICS ISSUE, SPARQL OK
The rel should be "foaf:maker", I doubt the page could "foaf:know"
"John Doe"... unless the page has intelligence... is that the
point? When the web uses RDFa, the page does have intelligence and
thus could "know" its maker? :)
TC47: SEMANTICS ISSUE, SPARQL OK
Same as the test case above, should be "foaf:maker" not
"foaf:knows".
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.
TC49: SEMANTICS OK, SPARQL OK
TC50: SEMANTICS OK, SPARQL FAILS
The SPARQL query should be:
ASK WHERE {
_:a <http://xmlns.com/foaf/0.1/name> "John Doe" .
_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://xmlns.com/foaf/0.1/Person> .
}
TC51: SEMANTICS ISSUE, SPARQL OK
The semantics of the markup seem a bit wierd, can we use this
instead:
<h1 instanceof="foaf:Document" property="foaf:topic">
Test Case 51
</h1>
TC52: SEMANTICS OK, SPARQL OK
TC53: SEMANTICS OK, SPARQL INCOMPLETE
Missing the check for foaf:name in the SPARQL query.
The SPARQL query should be:
ASK WHERE {
<http://www.example.org>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://xmlns.com/foaf/0.1/Person> .
<http://www.example.org>
<http://xmlns.com/foaf/0.1/name>
"John Doe".
}
TC54: SEMANTICS OK, SPARQL OK
TC55: SEMANTICS OK, SPARQL OK
TC56: SEMANTICS OK, SPARQL SYNTAX ERRORS
"rdf:type" needed to be expanded, also missing a "." at the end of
the next-to-last statement.
The SPARQL query should be:
ASK WHERE {
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0056.xhtml#event1>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0056.xhtml#event1>
<http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0056.xhtml#event1>
<http://www.w3.org/2002/12/cal/icaltzd#dtstart>
"2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0056.xhtml#event1>
<http://www.w3.org/2002/12/cal/icaltzd#dtend>
"2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0056.xhtml#event1>
<http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
<http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0056.xhtml#event1>
<http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
}
-- manu
--
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Bitmunk Launches World's First Open Music Recommendation Service
http://blog.digitalbazaar.com/2007/09/09/bitmunk-music-recommendation/
Received on Thursday, 18 October 2007 04:39:55 UTC