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

Test #65: @rel properly connects triples generated using safe CURIEs

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Wed, 12 Dec 2007 10:14:08 -0500
Message-ID: <475FFAC0.3070803@digitalbazaar.com>
To: RDFa mailing list <public-rdf-in-xhtml-tf@w3.org>

Purpose:

Tests to make sure that two triples generated via safe CURIE can be
related to one another using @rel.

====================== Test Case 65 =============================

---------------------Test Case 65 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 0065</title>
  </head>
    <body>
    <div about="[_:dan]">
      DanBri can be reached via
      <a rel="foaf:mbox"
        href="mailto:daniel.brickley@bristol.ac.uk">
        email
      </a>.
      <span rel="foaf:knows" resource="[_:libby]">
        He knows Libby.
      </span>
    </div>

    <div about="[_:libby]">
      Libby can be reached via
      <a rel="foaf:mbox"
        href="mailto:libby.miller@bristol.ac.uk">
        email
      </a>.
    </div>
  </body>
</html>

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

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

-- 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:14:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:19 GMT