W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > June 2008

Test Case #17 (v3): Related blanknodes

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Mon, 09 Jun 2008 13:00:13 -0400
Message-ID: <484D619D.9060504@digitalbazaar.com>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

The SPARQL for this test case was not completely correct.

====================== Test Case 17 =============================

---------------------Test Case 17 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 0017</title>
  </head>
  <body>
  	 <p>
          <span about="[_:a]" property="foaf:name">Manu Sporny</span>
           <span about="[_:a]" rel="foaf:knows"
resource="[_:b]">knows</span>
           <span about="[_:b]" property="foaf:name">Ralph Swick</span>.
        </p>
  </body>
</html>
-----------------------------------------------------------------

---------------------Test Case 17 SPARQL -----------------------
ASK WHERE {
	?x <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
	?x <http://xmlns.com/foaf/0.1/knows> ?y .
	?y <http://xmlns.com/foaf/0.1/name> "Ralph Swick" .
FILTER (ISBLANK(?x) && ISBLANK(?y))
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Dynamic Spectrum Auctions and Digital Marketplaces
http://blog.digitalbazaar.com/2008/04/24/dynamic-spectrum-auctions/
Received on Monday, 9 June 2008 17:00:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 June 2008 17:00:51 GMT