- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Sun, 16 Dec 2007 22:08:28 -0500
- To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>
I almost proposed to remove this test case because it is very similar to test #56, except for that the foaf:name property "John Doe" has a corresponding @about in test #56. Purpose: Tests to make sure that @instanceof applies to the @about and the @rel creates a new triple for the foaf:name @property. ====================== Test Case 48 ============================= ---------------------Test Case 48 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 0048</title> </head> <body> <div about="http://www.example.org/#me" rel="foaf:knows" instanceof="foaf:Person"> <p property="foaf:name">John Doe</p> </div> </body> </html> ---------------------------------------------------------------- ---------------------Test Case 48 SPARQL ----------------------- ASK WHERE { <http://www.example.org/#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <http://www.example.org/#me> <http://xmlns.com/foaf/0.1/knows> _:a . _:a <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 03:08:38 UTC