Test #64 (corrected): @about generates a proper triple when a safe CURIE is used

Shane McCarron wrote:
> Actually, rel does not permit the use of a safe CURIE - only a CURIE. 
> So this should NOT produce a triple. 

Ooops! Changing test #64 to be a basic safe CURIE test...

Purpose:

Tests to make sure that a safe CURIE generates a triple when used in @about.

====================== Test Case 64 =============================

---------------------Test Case 64 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 0064</title>
  </head>
  <body>
    <div about="[_:dan]"
         rel="foaf:knows"
         href="mailto:libby.miller@bristol.ac.uk">
    </div>
  </body>
</html>

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

---------------------Test Case 64 SPARQL ------------------------
ASK WHERE {
<_:dan>
   <http://xmlns.com/foaf/0.1/knows>
      <mailto:libby.miller@bristol.ac.uk> .
}
-----------------------------------------------------------------

-- 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 Wednesday, 12 December 2007 15:05:36 UTC