- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Sat, 07 Jun 2008 14:42:14 -0400
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
The SPARQL in this test was re-done to test that: a) dc:creator is bound to a blank node. b) ben.html does not exist in any triple. Mark, let me know if you wanted something other than what's been written below. Purpose: This test case checks the behavior of triple generation in a corner case where the inner @rel is neither a CURIE or a LinkType. This test effectively causes a rel="" to be inserted between the outer div subject and the inner href, which halts chaining. ====================== Test Case 105 ============================= ---------------------Test Case 105 XHTML-------------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/"> <head> <title>Test 0105</title> </head> <body> <div about="" rel="dc:creator"> <a rel="myfoobarrel" href="ben.html">Ben</a> created this page. </div> </body> </html> ----------------------------------------------------------------- ---------------------Test Case 105 SPARQL ----------------------- ASK WHERE { <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/0105.xhtml> <http://purl.org/dc/elements/1.1/creator> ?a . OPTIONAL { ?x ?y <http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/ben.html> . } FILTER (ISBLANK(?a) && !BOUND(?x) && !BOUND(?y)) } ----------------------------------------------------------------- -- manu -- Manu Sporny President/CEO - Digital Bazaar, Inc. blog: DB Launches Medical Record Sales Service with Shepherd Medical http://blog.digitalbazaar.com/2008/02/24/health2trade/
Received on Saturday, 7 June 2008 18:43:09 UTC