Test Case #94: @src sets new subject - @instanceof test

Purpose:

Ensures that @src sets a new subject. This test focuses on @instanceof.

====================== Test Case 94 =============================

---------------------Test Case 94 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 profile="http://www.w3.org/1999/xhtml/vocab">
      <title>Test 0094</title>
   </head>
   <body>
      <img src="http://example.org/example.png"
           instanceof="foaf:Image" />
   </body>
</html>
----------------------------------------------------------------

---------------------Test Case 94 SPARQL -----------------------
ASK WHERE {
<http://example.org/example.png>
   <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
      <http://xmlns.com/foaf/0.1/Image> .
}
-----------------------------------------------------------------

-- 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 01:46:24 UTC