Test #52: @instanceof with @resource and nothing else (re-review needed?)

Mark, Ben,

Does test #52 need to be re-reviewed? This is a complement to Ivan's
post about the same issue[1]. Per the new @instanceof rules, does
@instanceof apply to @resource when there is no @about? If it doesn't,
and it creates a new bnode instead, then test #52 is wrong. Here's the
full-text of the current test...

Purpose:

@instanceof applies to @resource when there is no @about specified.

====================== Test Case 52 =============================

---------------------Test Case 52 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 0052</title>
  </head>
  <body>
     <p instanceof="foaf:Person" resource="http://www.example.org/#me">
       John Doe
     </p>
  </body>
</html>

----------------------------------------------------------------

----------------Test Case 52 SPARQL (current)-------------------
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> .
}
-----------------------------------------------------------------

----------------Test Case 52 SPARQL (alternative)----------------
ASK WHERE {
   _:a
      <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
         <http://xmlns.com/foaf/0.1/Person> .
}
-----------------------------------------------------------------

-- manu

[1]http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Dec/0031.html

-- 
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 Tuesday, 11 December 2007 04:41:52 UTC