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

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 UTC