Test Case #96: non-reserved, un-prefixed CURIEs when used in @property generate triples

Purpose:

Ensures that non-reserved, un-prefixed CURIEs, when used in @property,
generate triples.

====================== Test Case 96 =============================

---------------------Test Case 96 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">
   <head profile="http://www.w3.org/1999/xhtml/vocab">
      <title>Test 0096</title>
   </head>
   <body>
      <p about="_:human">
         A human is a
         <span property=":definition">a bi-pedal primate</span>.
         They are quite possibly one of the most
         <span property="[:note]">confused animals</span>s residing
         in the Milky Way.
      </p>
   </body>
</html>
----------------------------------------------------------------

---------------------Test Case 96 SPARQL -----------------------
ASK WHERE {
_:human
   <http://www.w3.org/1999/xhtml/vocab#definition>
      "a bi-pedal primate" .
_:human
   <http://www.w3.org/1999/xhtml/vocab#note>
      "confused animal" .
}
-----------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Intro to the Semantic Web in 6 minutes (video)
http://blog.digitalbazaar.com/2007/12/26/semantic-web-intro

Received on Thursday, 28 February 2008 02:43:26 UTC