- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Sun, 16 Dec 2007 21:56:40 -0500
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
The structure of the HTML was kept intact, but the predicates and types were changed so that the test made more semantic sense. Purpose: Tests to ensure that @instanceof creates a new bnode instead of being applied to the resource on the same element. ====================== Test Case 47 ============================= ---------------------Test Case 47 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:foaf="http://xmlns.com/foaf/0.1/"> <head> <title>Test 0047</title> </head> <body> <div rel="foaf:maker" instanceof="foaf:Document" resource="http://www.example.org/#me"> <p property="foaf:name">John Doe</p> </div> </body> </html> ---------------------------------------------------------------- ---------------------Test Case 47 SPARQL ----------------------- ASK WHERE { _:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> . _:a <http://xmlns.com/foaf/0.1/maker> <http://www.example.org/#me> . <http://www.example.org/#me> <http://xmlns.com/foaf/0.1/name> "John Doe" . } ---------------------------------------------------------------- -- manu -- Manu Sporny President/CEO - Digital Bazaar, Inc. blog: Over One Million Songs Available on Bitmunk http://blog.digitalbazaar.com/2007/10/29/one-million-songs-on-bitmunk/
Received on Monday, 17 December 2007 02:56:56 UTC