Tests described in microdata with turtle and json-ld variations
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 01 Sep 2012 21:04:43 -0600
changeset 122 cf9789b86496
parent 121 708abf15510a
child 123 e9cb6e6b95a3
Tests described in microdata with turtle and json-ld variations
.DS_Store
microdata-rdf/.DS_Store
microdata-rdf/index.html
microdata-rdf/tests/0001.ttl
microdata-rdf/tests/0002.html
microdata-rdf/tests/0002.ttl
microdata-rdf/tests/0003.html
microdata-rdf/tests/0003.ttl
microdata-rdf/tests/0004.html
microdata-rdf/tests/0004.ttl
microdata-rdf/tests/0005.html
microdata-rdf/tests/0005.ttl
microdata-rdf/tests/0006.ttl
microdata-rdf/tests/0007.ttl
microdata-rdf/tests/0008.ttl
microdata-rdf/tests/0009.ttl
microdata-rdf/tests/0010.ttl
microdata-rdf/tests/0011.ttl
microdata-rdf/tests/0012.ttl
microdata-rdf/tests/0013.ttl
microdata-rdf/tests/0014.ttl
microdata-rdf/tests/0015.ttl
microdata-rdf/tests/index.html
microdata-rdf/tests/manifest-frame.jsonld
microdata-rdf/tests/manifest.jsonld
microdata-rdf/tests/manifest.ttl
microdata-rdf/tests/mk-manifest.rb
microdata-rdf/tests/test-registry.json
microdata-rdf/tests/update_index.rb
Binary file .DS_Store has changed
Binary file microdata-rdf/.DS_Store has changed
--- a/microdata-rdf/index.html	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/index.html	Sat Sep 01 21:04:43 2012 -0600
@@ -9,7 +9,7 @@
   out in the same tree and use relative links so that they'll work offline,
   -->
 <script type="text/javascript"
-  src="http://darobin.github.com/respec/builds/respec-w3c-common-3.1.14.js" class="remove">
+  src="http://darobin.github.com/respec/builds/respec-w3c-common.js" class="remove">
  </script>
 <script type="text/javascript" class="remove">
 // <!--
--- a/microdata-rdf/tests/0001.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0001.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Person; schema:name "Gregg Kellogg"]) .
+<0001.html> md:item ([ a schema:Person; schema:name "Gregg Kellogg"]) .
--- a/microdata-rdf/tests/0002.html	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0002.html	Sat Sep 01 21:04:43 2012 -0600
@@ -4,17 +4,6 @@
     <title>Test 0002</title>
   </head>
   <body>
-    <p class="entry" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry">
-      <span itemprop="name">Test 0002</span>:
-      <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Item with no itemtype and 2 elements with equivalent itemprop</span>
-      (
-      <span itemprop="action" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
-        <a itemprop="data" href="0002.html">input</a>
-      </span> |
-      <a itemprop="result" href="0002.ttl">query</a> |
-      <a itemprop="registry" href="test-registry.json">registry</a>
-      )
-    </p>
     <p itemscope>This test created by
       <span itemprop="name">Gregg</span>.
       <span itemprop="name">Kellogg</span>.
--- a/microdata-rdf/tests/0002.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0002.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,6 +1,7 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Person;
+<0002.html> md:item ([ a schema:Person;
   schema:fullName "Gregg Kellogg";
   schema:name "Gregg Kellogg"]) .
--- a/microdata-rdf/tests/0003.html	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0003.html	Sat Sep 01 21:04:43 2012 -0600
@@ -4,17 +4,6 @@
     <title>Test 0003</title>
   </head>
   <body>
-    <p class="entry" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry">
-      <span itemprop="name">Test 0003</span>:
-      <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Item with itemprop having two properties</span>
-      (
-      <span itemprop="action" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
-        <a itemprop="data" href="0003.html">input</a>
-      </span> |
-      <a itemprop="result" href="0003.ttl">query</a> |
-      <a itemprop="registry" href="test-registry.json">registry</a>
-      )
-    </p>
     <p itemscope>This test created by <span itemprop="name fullName">Gregg Kellogg</span>.</p>
   </body>
 </html>
\ No newline at end of file
--- a/microdata-rdf/tests/0003.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0003.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,1 +1,5 @@
-@prefix md: <http://www.w3.org/ns/md#> .#> .@prefix schema: <http://schema.org/> .<> md:item ([ a schema:Person; schema:name "Gregg Kellogg"]) .
\ No newline at end of file
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix schema: <http://schema.org/> .
+
+<0003.html> md:item ([ a schema:Person; schema:name "Gregg Kellogg"]) .
\ No newline at end of file
--- a/microdata-rdf/tests/0004.html	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0004.html	Sat Sep 01 21:04:43 2012 -0600
@@ -4,18 +4,6 @@
     <title>Test 0004</title>
   </head>
   <body>
-    <p class="entry" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry">
-      <span itemprop="name">Test 0004</span>:
-      <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Use of meta and @content</span>
-      (
-      <span itemprop="action" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
-        <a itemprop="data" href="0004.html">input</a> |
-        <a itemprop="query" href="0004.rq">query</a>
-      </span>
-      <a itemprop="registry" href="test-registry.json">registry</a>
-      <meta itemprop="result" content="true"/>
-      )
-    </p>
     <div itemscope="" itemtype="http://schema.org/Thing">
       <meta itemprop="meta" content="foo"/>
     </div>
--- a/microdata-rdf/tests/0004.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0004.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:meta "foo"]) .
+<0004.html> md:item ([ a schema:Thing; schema:meta "foo"]) .
--- a/microdata-rdf/tests/0005.html	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0005.html	Sat Sep 01 21:04:43 2012 -0600
@@ -4,18 +4,6 @@
     <title>Test 0005</title>
   </head>
   <body>
-    <p class="entry" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry">
-      <span itemprop="name">Test 0005</span>:
-      <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Use of meta and @content</span>
-      (
-      <span itemprop="action" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
-        <a itemprop="data" href="0005.html">input</a> |
-        <a itemprop="query" href="0005.rq">query</a>
-      </span>
-      <a itemprop="registry" href="test-registry.json">registry</a>
-      <meta itemprop="result" content="true"/>
-      )
-    </p>
     <div itemscope="" itemtype="http://schema.org/Thing">
       <audio itemprop="audio" src="foo"></audio>
     </div>
--- a/microdata-rdf/tests/0005.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0005.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:audio <foo>]) .
+<0005.html> md:item ([ a schema:Thing; schema:audio <foo>]) .
--- a/microdata-rdf/tests/0006.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0006.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:embed <foo>]) .
+<0006.html> md:item ([ a schema:Thing; schema:embed <foo>]) .
--- a/microdata-rdf/tests/0007.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0007.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:iframe <foo>]) .
+<0007.html> md:item ([ a schema:Thing; schema:iframe <foo>]) .
--- a/microdata-rdf/tests/0008.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0008.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:img <foo>]) .
+<0008.html> md:item ([ a schema:Thing; schema:img <foo>]) .
--- a/microdata-rdf/tests/0009.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0009.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:source <foo>]) .
+<0009.html> md:item ([ a schema:Thing; schema:source <foo>]) .
--- a/microdata-rdf/tests/0010.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0010.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:track <foo>]) .
+<0010.html> md:item ([ a schema:Thing; schema:track <foo>]) .
--- a/microdata-rdf/tests/0011.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0011.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:video <foo>]) .
+<0011.html> md:item ([ a schema:Thing; schema:video <foo>]) .
--- a/microdata-rdf/tests/0012.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0012.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:a <foo>]) .
+<0012.html> md:item ([ a schema:Thing; schema:a <foo>]) .
--- a/microdata-rdf/tests/0013.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0013.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:area <foo>]) .
+<0013.html> md:item ([ a schema:Thing; schema:area <foo>]) .
--- a/microdata-rdf/tests/0014.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0014.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:link <foo>]) .
+<0014.html> md:item ([ a schema:Thing; schema:link <foo>]) .
--- a/microdata-rdf/tests/0015.ttl	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/0015.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -1,4 +1,5 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
 @prefix md: <http://www.w3.org/ns/md#> .
 @prefix schema: <http://schema.org/> .
 
-<> md:item ([ a schema:Thing; schema:object <foo>]) .
+<0015.html> md:item ([ a schema:Thing; schema:object <foo>]) .
--- a/microdata-rdf/tests/index.html	Fri Aug 31 10:25:47 2012 -0700
+++ b/microdata-rdf/tests/index.html	Sat Sep 01 21:04:43 2012 -0600
@@ -1,22 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 <title>Microdata to RDF Tests</title>
 <!--
   === NOTA BENE ===
   For the three scripts below, if your spec resides on dev.w3 you can check them
   out in the same tree and use relative links so that they'll work offline,
-  --><script type="text/javascript" src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove">
+  --><script type="text/javascript" src="http://darobin.github.com/respec/builds/respec-w3c-common.js" class="remove">
  </script><script type="text/javascript" class="remove">
 
-    var preProc = {
-        apply:  function(c) {
-                    // extend the bibliography entries
-                    berjon.biblio["MICRODATA-RDF"] = "<cite><a href=\"http://www.w3.org/TR/microdata-rdf/\">Microdata to RDF</a></cite> Gregg Kellogg Editor. World Wide Web Consortium (work in progress). 12 January 2011. This edition of the Microdata to RDF specification is http://www.w3.org/TR/2012/WD-microdata-rdf-20120112/. The <a href=\"http://www.w3.org/TR/2012/WD-microdata-rdf-20120112/\">latest edition of Microdata to RDF</a> is available at http://www.w3.org/TR/microdata-rdf/";
-                }
-        } ;
-
       var respecConfig = {
           // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
           specStatus:           "unofficial",
@@ -70,78 +63,32 @@
           // Team Contact.
           wgPatentURI:  "",
           maxTocLevel: 4,
-          preProcess: [ preProc ]
           //alternateFormats: [ {uri: "diff-20111118.html", label: "diff to previous version"} ],
       };
 
+      function _esc(s) {
+          s = s.replace(/&/g,'&amp;');
+          s = s.replace(/>/g,'&gt;');
+          s = s.replace(/"/g,'&quot;');
+          s = s.replace(/</g,'&lt;');
+          return s;
+      }
+
       function updateExample(doc, content) {
         // perform transformations to make it render and prettier
         content = content.replace(/<!--/, '');
         content = content.replace(/-->/, '');
-        content = doc._esc(content);
+        content = _esc(content);
         content = content.replace(/\*\*\*\*([^*]*)\*\*\*\*/g, '<span class="diff">$1</span>') ;
         return content ;
       }
-
-      function updateDTD(doc, content) {
-        // perform transformations to
-        // make it render and prettier
-        content = '<pre class="dtd">' + doc._esc(content) + '</pre>';
-        content = content.replace(/!ENTITY % ([^ \t\r\n]*)/g, '!ENTITY <span class="entity">% $1</span>');
-        content = content.replace(/!ELEMENT ([^ \t$]*)/mg, '!ELEMENT <span class="element">$1</span>');
-        return content;
-      }
-
-      function updateSchema(doc, content) {
-        // perform transformations to
-        // make it render and prettier
-        content = '<pre class="dtd">' + doc._esc(content) + '</pre>';
-        content = content.replace(/&lt;xs:element\s+name=&quot;([^&]*)&quot;/g, '&lt;xs:element name="<span class="element" id="schema_element_$1">$1</span>"') ;
-        return content;
-      }
-
-      function updateTTL(doc, content) {
-        // perform transformations to
-        // make it render and prettier
-        content = '<pre class="sh_sourceCode">' + doc._esc(content) + '</pre>';
-        content = content.replace(/@prefix/g, '<span class="sh_keyword">@prefix</span>');
-        return content;
-      }
-  </script><style type="text/css">
-.diff { font-weight:bold; color:#0a3; }
-ol.algorithm { counter-reset:numsection; list-style-type: none; }
-ol.algorithm li { margin: 0.5em 0; }
-ol.algorithm li:before {
-  font-weight: bold;
-  counter-increment: numsection;
-  content: counters(numsection, ".") ") ";
-}
-dl.triple { padding: 0 0 0 1em; }
-dl.triple dt, dl.triple dd { margin: 0; display: inline }
-dl.triple dt:after { content: ':'; }
-dl.triple dd:after { content: '\A'; white-space: pre; }
-.adef { 
-	font-family: monospace; 
-	font-weight: bold; 
-    color: #ff4500 !important;
-}
-
-.aref { 
-	font-family: monospace; 
-	font-weight: bold; 
-    color: #ff4500 !important;
-}
-
-span.entity { color: red; }
-
-span.element { color: green; }
-span[itemprop=name] { font-weight: bold; }
-</style>
+  </script>
 </head>
 <body>
 <section id="abstract"><p>This document serves as the manifest describing [[MICRODATA-RDF]] tests to be used by
     processor implementations claiming conformance.</p>
-</section><section><h2>Running tests</h2>
+</section>
+<section><h2>Running tests</h2>
   <p>Tests are described with individual HTML files containing microdata, which when processed,
     generates exactly the triples specified in the result file.
     <a href="#positive-tests">Positive processor
@@ -159,7 +106,7 @@
     typically a file co-located and numbered along with the test itself.</p>
   <section><h3>Example Test Entry</h3>
     <p>An example test entry parsed from this manifest might have the following form:</p>
-<pre class="example" data-transform="updateExample">
+    <pre class="example" data-transform="updateExample">
 <!--
 @prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfs:	<http://www.w3.org/2000/01/rdf-schema#> .
@@ -179,23 +126,322 @@
   )
 ] .
 -->
-</pre>
-</section></section><section id="positive-tests" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest"><h2 itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Positive processor tests</h2>
-  
+    </pre>
+  </section>
+</section>
 
-<div itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry" itemprop="entries" class="test-entry">
-<span itemprop="name">Test 0001</span>:
-      <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Item with no itemtype and literal itemprop</span>
-      (
-      <span itemprop="action" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
-        <a itemprop="data" href="0001.html">input</a> |
-        <a itemprop="query" href="0001.rq">query</a>
-      </span>
-      <a itemprop="registry" href="test-registry.json">registry</a>
-      <meta itemprop="result" content="true">
-      )
-    </div></section><section id="negative-tests" itemscope itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest"><h2 itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Negative processor tests</h2>
-  
+<section id="positive-tests"
+         itemscope="true"
+         itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest">
+  <h2 itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Positive processor tests</h2>
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0001</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Item with no itemtype and literal itemprop</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0001.html">input</a> |
+      <a itemprop="query" href="0001.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0002</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Item with no itemtype and 2 elements with equivalent itemprop</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0002.html">input</a> |
+      <a itemprop="query" href="0002.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0003</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Item with itemprop having two properties</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0003.html">input</a> |
+      <a itemprop="query" href="0003.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0004</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of meta and @content</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0004.html">input</a> |
+      <a itemprop="query" href="0004.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0005</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of audio and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0005.html">input</a> |
+      <a itemprop="query" href="0005.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0006</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of embed and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0006.html">input</a> |
+      <a itemprop="query" href="0006.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0007</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of iframe and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0007.html">input</a> |
+      <a itemprop="query" href="0007.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0008</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of img and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0008.html">input</a> |
+      <a itemprop="query" href="0008.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0009</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of source and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0009.html">input</a> |
+      <a itemprop="query" href="0009.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0010</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of track and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0010.html">input</a> |
+      <a itemprop="query" href="0010.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0011</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of video and @src</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0011.html">input</a> |
+      <a itemprop="query" href="0011.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0012</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of a and @href</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0012.html">input</a> |
+      <a itemprop="query" href="0012.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0013</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of area and @href</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0013.html">input</a> |
+      <a itemprop="query" href="0013.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0014</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of link and @href</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0014.html">input</a> |
+      <a itemprop="query" href="0014.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+  <!-- Start Test Description -->
+  <div itemprop="entries"
+       itemscope="true"
+       itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#ManifestEntry"
+       class="test-entry">
+    <span itemprop="name">Test 0015</span>:
+    <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+      >Use of object and @data</span>
+    (
+    <span itemprop="action"
+          itemscope="true"
+          itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+      <a itemprop="data" href="0015.html">input</a> |
+      <a itemprop="query" href="0015.ttl">query</a>
+    </span>
+    <meta itemprop="result" content="true"/>
+    )
+  </div>
+  <!-- End Test Description -->
+
+</section>
+
+<section id="negative-tests"
+         itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+         itemscope="true"
+         itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest">
+  <h2 itemprop="http://www.w3.org/2000/01/rdf-schema#comment">Negative processor tests</h2>
 </section>
 </body>
 </html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/manifest-frame.jsonld	Sat Sep 01 21:04:43 2012 -0600
@@ -0,0 +1,23 @@
+{
+  "@context": {
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
+    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+    "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",
+    "mq": "http://www.w3.org/2001/sw/DataAccess/tests/test-query#",
+    
+    "comment": "rdfs:comment",
+    "entries": {"@id": "mf:entries", "@container": "@list"},
+    "name": "mf:name",
+    "action": "mf:action",
+    "data": {"@id": "mq:data", "@type": "@id"},
+    "query": {"@id": "mq:query", "@type": "@id"},
+    "result": {"@id": "mf:result", "@type": "xsd:boolean"}
+  },
+  "@type": "mf:Manifest",
+  "entries": {
+    "@type": "mf:ManifestEntry",
+    "action": {
+      "@type": "mq:QueryTest"
+    }
+  }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/manifest.jsonld	Sat Sep 01 21:04:43 2012 -0600
@@ -0,0 +1,229 @@
+{
+  "@context": {
+    "xsd": "http://www.w3.org/2001/XMLSchema#",
+    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+    "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",
+    "mq": "http://www.w3.org/2001/sw/DataAccess/tests/test-query#",
+    "comment": "rdfs:comment",
+    "entries": {
+      "@id": "mf:entries",
+      "@container": "@list"
+    },
+    "name": "mf:name",
+    "action": "mf:action",
+    "data": {
+      "@id": "mq:data",
+      "@type": "@id"
+    },
+    "query": {
+      "@id": "mq:query",
+      "@type": "@id"
+    },
+    "result": {
+      "@id": "mf:result",
+      "@type": "xsd:boolean"
+    }
+  },
+  "@graph": [
+  {
+    "@id": "_:t23",
+    "@type": "mf:Manifest",
+    "comment": "Positive processor tests",
+    "entries": [
+    {
+      "@id": "_:t13",
+      "@type": "mf:ManifestEntry",
+      "comment": "Item with no itemtype and literal itemprop",
+      "action": {
+        "@id": "_:t7",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0001.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0001.ttl"
+      },
+      "name": "Test 0001",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t24",
+      "@type": "mf:ManifestEntry",
+      "comment": "Item with no itemtype and 2 elements with equivalent itemprop",
+      "action": {
+        "@id": "_:t3",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0002.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0002.ttl"
+      },
+      "name": "Test 0002",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t25",
+      "@type": "mf:ManifestEntry",
+      "comment": "Item with itemprop having two properties",
+      "action": {
+        "@id": "_:t21",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0003.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0003.ttl"
+      },
+      "name": "Test 0003",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t17",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of meta and @content",
+      "action": {
+        "@id": "_:t12",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0004.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0004.ttl"
+      },
+      "name": "Test 0004",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t10",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of audio and @src",
+      "action": {
+        "@id": "_:t6",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0005.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0005.ttl"
+      },
+      "name": "Test 0005",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t26",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of embed and @src",
+      "action": {
+        "@id": "_:t2",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0006.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0006.ttl"
+      },
+      "name": "Test 0006",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t27",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of iframe and @src",
+      "action": {
+        "@id": "_:t20",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0007.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0007.ttl"
+      },
+      "name": "Test 0007",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t16",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of img and @src",
+      "action": {
+        "@id": "_:t11",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0008.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0008.ttl"
+      },
+      "name": "Test 0008",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t9",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of source and @src",
+      "action": {
+        "@id": "_:t5",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0009.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0009.ttl"
+      },
+      "name": "Test 0009",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t28",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of track and @src",
+      "action": {
+        "@id": "_:t1",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0010.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0010.ttl"
+      },
+      "name": "Test 0010",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t29",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of video and @src",
+      "action": {
+        "@id": "_:t19",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0011.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0011.ttl"
+      },
+      "name": "Test 0011",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t15",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of a and @href",
+      "action": {
+        "@id": "_:t14",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0012.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0012.ttl"
+      },
+      "name": "Test 0012",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t8",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of area and @href",
+      "action": {
+        "@id": "_:t4",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0013.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0013.ttl"
+      },
+      "name": "Test 0013",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t30",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of link and @href",
+      "action": {
+        "@id": "_:t0",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0014.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0014.ttl"
+      },
+      "name": "Test 0014",
+      "mf:result": "true"
+    },
+    {
+      "@id": "_:t22",
+      "@type": "mf:ManifestEntry",
+      "comment": "Use of object and @data",
+      "action": {
+        "@id": "_:t18",
+        "@type": "mq:QueryTest",
+        "data": "http://www.w3.org/TR/microdata-rdf/tests/0015.html",
+        "query": "http://www.w3.org/TR/microdata-rdf/tests/0015.ttl"
+      },
+      "name": "Test 0015",
+      "mf:result": "true"
+    }]
+  }]
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/manifest.ttl	Sat Sep 01 21:04:43 2012 -0600
@@ -0,0 +1,112 @@
+@base <http://www.w3.org/TR/microdata-rdf/tests/> .
+@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
+@prefix mq: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+
+<> <http://www.w3.org/ns/md#item> ([ a mf:Manifest;
+       rdfs:comment "Positive processor tests";
+       mf:entries [ a mf:ManifestEntry;
+         rdfs:comment "Item with no itemtype and literal itemprop";
+         mf:action [ a mq:QueryTest;
+           mq:data <0001.html>;
+           mq:query <0001.ttl>];
+         mf:name "Test 0001";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Item with no itemtype and 2 elements with equivalent itemprop";
+         mf:action [ a mq:QueryTest;
+           mq:data <0002.html>;
+           mq:query <0002.ttl>];
+         mf:name "Test 0002";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Item with itemprop having two properties";
+         mf:action [ a mq:QueryTest;
+           mq:data <0003.html>;
+           mq:query <0003.ttl>];
+         mf:name "Test 0003";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of meta and @content";
+         mf:action [ a mq:QueryTest;
+           mq:data <0004.html>;
+           mq:query <0004.ttl>];
+         mf:name "Test 0004";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of audio and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0005.html>;
+           mq:query <0005.ttl>];
+         mf:name "Test 0005";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of embed and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0006.html>;
+           mq:query <0006.ttl>];
+         mf:name "Test 0006";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of iframe and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0007.html>;
+           mq:query <0007.ttl>];
+         mf:name "Test 0007";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of img and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0008.html>;
+           mq:query <0008.ttl>];
+         mf:name "Test 0008";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of source and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0009.html>;
+           mq:query <0009.ttl>];
+         mf:name "Test 0009";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of track and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0010.html>;
+           mq:query <0010.ttl>];
+         mf:name "Test 0010";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of video and @src";
+         mf:action [ a mq:QueryTest;
+           mq:data <0011.html>;
+           mq:query <0011.ttl>];
+         mf:name "Test 0011";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of a and @href";
+         mf:action [ a mq:QueryTest;
+           mq:data <0012.html>;
+           mq:query <0012.ttl>];
+         mf:name "Test 0012";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of area and @href";
+         mf:action [ a mq:QueryTest;
+           mq:data <0013.html>;
+           mq:query <0013.ttl>];
+         mf:name "Test 0013";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of link and @href";
+         mf:action [ a mq:QueryTest;
+           mq:data <0014.html>;
+           mq:query <0014.ttl>];
+         mf:name "Test 0014";
+         mf:result "true"],
+         [ a mf:ManifestEntry;
+         rdfs:comment "Use of object and @data";
+         mf:action [ a mq:QueryTest;
+           mq:data <0015.html>;
+           mq:query <0015.ttl>];
+         mf:name "Test 0015";
+         mf:result "true"]]) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/mk-manifest.rb	Sat Sep 01 21:04:43 2012 -0600
@@ -0,0 +1,16 @@
+#!/usr/bin/env ruby
+#!/usr/bin/env ruby
+require 'rdf/microdata'
+require 'json/ld'
+
+graph = RDF::Graph.load("./index.html",
+  :base_uri => "http://www.w3.org/TR/microdata-rdf/tests/",
+  :registry => "./test-registry.json")
+JSON::LD::API.fromRDF(graph) do |expanded|
+  puts "expanded: #{expanded.to_json(JSON::LD::JSON_STATE)}"
+  JSON::LD::API.frame(expanded, "./manifest-frame.jsonld") do |framed|
+    File.open("./index.jsonld", "w") do |f|
+      f.write framed.to_json(JSON::LD::JSON_STATE)
+    end
+  end
+end
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/test-registry.json	Sat Sep 01 21:04:43 2012 -0600
@@ -0,0 +1,40 @@
+{
+  "@comment": "This registry defines several artificial vocabularies used when running tests in the microdata to RDF test suite",
+  "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#": {
+    "properties": {
+      "entries": {"multipleValues": "list"}
+    }
+  },
+  "http://vocabulary.unordered/": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "unordered",
+    "properties": {
+      "list": {"multipleValues": "list"},
+      "typed": {"datatype": "http://typed"}
+    }
+  },
+  "http://vocabulary.list/": {
+    "propertyURI":    "vocabulary",
+    "multipleValues": "list",
+    "properties": {
+      "list": {"multipleValues": "list"},
+      "typed": {"datatype": "http://typed"}
+    }
+  },
+  "http://contextual.unordered/": {
+    "propertyURI":    "contextual",
+    "multipleValues": "unordered",
+    "properties": {
+      "list": {"multipleValues": "list"},
+      "typed": {"datatype": "http://typed"}
+    }
+  },
+  "http://contextual.list/": {
+    "propertyURI":    "contextual",
+    "multipleValues": "list",
+    "properties": {
+      "list": {"multipleValues": "list"},
+      "typed": {"datatype": "http://typed"}
+    }
+  }
+}
--- a/microdata-rdf/tests/update_index.rb	Fri Aug 31 10:25:47 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-#!/usr/bin/env ruby
-# Processing the index file replacing test entries from tests found within this directory.
-
-require 'rubygems'
-require 'nokogiri'
-require 'getoptlong'
-
-def run(file, options)
-  index = Nokogiri::HTML.parse(file)
-  
-  # Remove existing tests
-  index.css("div.test-entry").remove
-
-  # Find Positive and Negative insertion points
-  pos_entries = index.at_css("section#positive-tests")
-  neg_entries = index.at_css("section#negative-tests")
-
-  num_pos = num_neg = 0
-
-  Dir.glob("*.html").each do |test_file|
-    next unless test_file =~ /^\d+\.html$/
-    test = Nokogiri::HTML.parse(File.open(test_file))
-    
-    # Extract head, replace as div.test-entry
-    test_info = test.at_css('p.entry')
-    test_info.name = "div"
-    test_info['itemprop'] = 'entries'
-    test_info['class'] = 'test-entry'
-    test_info.css("title")
-    result = test_info.at_css("[itemprop=result]")
-    if !result || result['content'].downcase == 'true'
-      # Add entry to index
-      num_pos += 1
-      pos_entries.add_child(test_info)
-    else
-      num_neg += 1
-      neg_entries.add_child(test_info)
-    end
-  end
-  options[:output].puts index.to_s
-end
-
-options = {
-  :output => STDOUT,
-}
-input = nil
-opts = GetoptLong.new(
-  ["--output", "-o", GetoptLong::REQUIRED_ARGUMENT],
-)
-opts.each do |opt, arg|
-  case opt
-  when '--output'       then options[:output] = File.open(arg, "w")
-  end
-end
-
-if ARGV.empty?
-  run($stdin, options)
-else
-  run(Kernel.open(ARGV.first), options)
-end