Test Case #17 (v3): Related blanknodes

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 UTC