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

[3 BUGS FIXED] Test Case #96: non-reserved, un-prefixed CURIEs when used in @property generate triples

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Thu, 28 Feb 2008 00:36:14 -0500
Message-ID: <47C6484E.1040903@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Sorry, fixed another bug that Shane pointed out (thanks Shane) - I
forgot that we're not allowed to use unsafe CURIEs in @about... =p

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
         <span property=":definition">a bi-pedal primate</span>.
         They are quite possibly one of the most
         <span property="[:note]">confused animal</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 05:36:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 February 2008 05:36:25 GMT