Added @itemref tests
authorGregg Kellogg <gregg@kellogg-assoc.com>
Tue, 11 Sep 2012 17:44:05 -0700
changeset 135 6633ab65ac76
parent 134 b6604f21ccb0
child 136 bbcc808bfd7f
Added @itemref tests
microdata-rdf/tests/0062.html
microdata-rdf/tests/0062.ttl
microdata-rdf/tests/0063.html
microdata-rdf/tests/0063.ttl
microdata-rdf/tests/0064.html
microdata-rdf/tests/0064.ttl
microdata-rdf/tests/0065.html
microdata-rdf/tests/0065.ttl
microdata-rdf/tests/0066.html
microdata-rdf/tests/0066.ttl
microdata-rdf/tests/0067.html
microdata-rdf/tests/0067.ttl
microdata-rdf/tests/index.html
microdata-rdf/tests/manifest.jsonld
microdata-rdf/tests/manifest.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0062.html	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div>
+  <div itemscope itemtype="http://schema.org/Person" id="amanda" itemref="a"></div>
+  <p id="a">Name: <span itemprop="name">Amanda</span></p>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0062.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,7 @@
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix schema: <http://schema.org/> .
+
+<http://www.w3.org/TR/microdata-rdf/tests/0062.html> md:item (
+  [ a schema:Person;
+    schema:name "Amanda"]) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0063.html	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<div>
+  <div itemscope itemtype="http://schema.org/Person" itemref="surname">
+    <p>My name is <span itemprop="name">Gregg</span></p>
+  </div>
+  <p id="surname">My name is <span itemprop="name">Kellogg</span></p>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0063.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,7 @@
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix schema: <http://schema.org/> .
+
+<http://www.w3.org/TR/microdata-rdf/tests/0063.html> md:item (
+  [ a schema:Person;
+    schema:name "Gregg", "Kellogg"]) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0064.html	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<div>
+  <div itemscope itemtype="http://xmlns.com/foaf/0.1/Person" id="amanda" itemref="a"></div>
+  <div itemscope itemtype="http://schema.org/Person" id="amanda2" itemref="a"></div>
+  <p id="a">Name: <span itemprop="name">Amanda</span></p>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0064.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,8 @@
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix schema: <http://schema.org/> .
+
+<http://www.w3.org/TR/microdata-rdf/tests/0064.html> md:item (
+  [ a foaf:Person; foaf:name "Amanda"]
+  [ a schema:Person; schema:name "Amanda"]) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0065.html	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<div>
+  <div itemscope itemtype="http://schema.org/Person" id="amanda" itemref="a b"></div>
+  <p id="a">Name: <span itemprop="name">Amanda</span></p>
+  <p id="b" itemprop="band">Jazz Band</p>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0065.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,8 @@
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix schema: <http://schema.org/> .
+
+<http://www.w3.org/TR/microdata-rdf/tests/0065.html> md:item (
+  [ a schema:Person;
+    schema:band "Jazz Band";
+    schema:name "Amanda"]) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0066.html	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<div>
+  <div itemscope itemtype="http://schema.org/Person" id="amanda" itemref="a b"></div>
+  <p id="a">Name: <span itemprop="name">Amanda</span></p>
+  <div id="b" itemprop="band" itemscope itemtype="http://schema.org/MusicGroup" itemref="c"></div>
+  <div id="c">
+   <p>Band: <span itemprop="name">Jazz Band</span></p>
+   <p>Size: <span itemprop="size">12</span> players</p>
+  </div>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0066.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,11 @@
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix schema: <http://schema.org/> .
+
+<http://www.w3.org/TR/microdata-rdf/tests/0066.html> md:item (
+  [ a schema:Person;
+    schema:band [
+      a schema:MusicGroup;
+      schema:name "Jazz Band";
+      schema:size "12"];
+    schema:name "Amanda"]) .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0067.html	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<div>
+  <div itemscope itemref="a"></div>
+  <div itemscope itemref="a"></div>
+  <div id="a" itemprop="refers-to" itemscope=''>
+    <span itemprop="name">Amanda</span>
+  </div>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microdata-rdf/tests/0067.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -0,0 +1,8 @@
+@prefix md: <http://www.w3.org/ns/md#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+
+<http://www.w3.org/TR/microdata-rdf/tests/0067.html> md:item (
+  [ <http://www.w3.org/TR/microdata-rdf/tests/0067.html#refers-to> _:amanda]
+  [ <http://www.w3.org/TR/microdata-rdf/tests/0067.html#refers-to> _:amanda]) .
+
+_:amanda <http://www.w3.org/TR/microdata-rdf/tests/0067.html#name> "Amanda" .
--- a/microdata-rdf/tests/index.html	Tue Sep 11 17:30:07 2012 -0700
+++ b/microdata-rdf/tests/index.html	Tue Sep 11 17:44:05 2012 -0700
@@ -1369,6 +1369,126 @@
 </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 0062</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >@itemref to single id</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0062.html">input</a> |
+    <a itemprop="query" href="0062.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 0063</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >@itemref generates property values</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0063.html">input</a> |
+    <a itemprop="query" href="0063.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 0064</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >@itemref to single id with different types</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0064.html">input</a> |
+    <a itemprop="query" href="0064.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 0065</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >@itemref to multiple ids</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0065.html">input</a> |
+    <a itemprop="query" href="0065.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 0066</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >@itemref with chaining</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0066.html">input</a> |
+    <a itemprop="query" href="0066.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 0067</span>:
+  <span itemprop="http://www.w3.org/2000/01/rdf-schema#comment"
+    >Shared @itemref</span>
+  (
+  <span itemprop="action"
+        itemscope="true"
+        itemtype="http://www.w3.org/2001/sw/DataAccess/tests/test-query#QueryTest">
+    <a itemprop="data" href="0067.html">input</a> |
+    <a itemprop="query" href="0067.ttl">query</a>
+  </span>
+  <meta itemprop="result" content="true"/>
+  )
+</div>
+<!-- End Test Description -->
+
 </section>
 
 <section id="negative-tests"
--- a/microdata-rdf/tests/manifest.jsonld	Tue Sep 11 17:30:07 2012 -0700
+++ b/microdata-rdf/tests/manifest.jsonld	Tue Sep 11 17:44:05 2012 -0700
@@ -27,15 +27,15 @@
   },
   "@graph": [
     {
-      "@id": "_:y2",
+      "@id": "_:x4",
       "@type": "mf:Manifest",
       "comment": "Positive processor tests",
       "entries": [
         {
-          "@id": "_:u8",
+          "@id": "_:w9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u9",
+            "@id": "_:v9",
             "@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"
@@ -45,10 +45,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v7",
+          "@id": "_:w7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v8",
+            "@id": "_:w8",
             "@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"
@@ -58,10 +58,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w4",
+          "@id": "_:x5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:w5",
+            "@id": "_:af3",
             "@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"
@@ -71,10 +71,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x0",
+          "@id": "_:x6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:x1",
+            "@id": "_:af8",
             "@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"
@@ -84,10 +84,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x9",
+          "@id": "_:x7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:y0",
+            "@id": "_:ag3",
             "@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"
@@ -97,10 +97,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y3",
+          "@id": "_:x8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac3",
+            "@id": "_:ac4",
             "@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"
@@ -110,10 +110,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y4",
+          "@id": "_:x9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac5",
+            "@id": "_:ac8",
             "@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"
@@ -123,10 +123,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y5",
+          "@id": "_:y0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac9",
+            "@id": "_:ag4",
             "@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"
@@ -136,10 +136,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y6",
+          "@id": "_:y1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad4",
+            "@id": "_:ad6",
             "@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"
@@ -149,10 +149,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y7",
+          "@id": "_:y2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad8",
+            "@id": "_:ae0",
             "@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"
@@ -162,7 +162,7 @@
           "result": "true"
         },
         {
-          "@id": "_:y8",
+          "@id": "_:y3",
           "@type": "mf:ManifestEntry",
           "action": {
             "@id": "_:ae3",
@@ -175,10 +175,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y9",
+          "@id": "_:y4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae5",
+            "@id": "_:ae8",
             "@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"
@@ -188,10 +188,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z0",
+          "@id": "_:y5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:af2",
+            "@id": "_:ae9",
             "@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"
@@ -201,10 +201,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z1",
+          "@id": "_:y6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae6",
+            "@id": "_:ae4",
             "@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"
@@ -214,10 +214,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z2",
+          "@id": "_:y7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae1",
+            "@id": "_:ad9",
             "@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"
@@ -227,10 +227,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z3",
+          "@id": "_:y8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad7",
+            "@id": "_:ad5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_1.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_1.ttl"
@@ -241,10 +241,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z4",
+          "@id": "_:y9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad2",
+            "@id": "_:ad1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_2.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_2.ttl"
@@ -255,10 +255,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z5",
+          "@id": "_:z0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac7",
+            "@id": "_:ac6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_3.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_3.ttl"
@@ -269,10 +269,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z6",
+          "@id": "_:z1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac2",
+            "@id": "_:ag2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_4.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_4.ttl"
@@ -283,10 +283,10 @@
           "result": "true"
         },
         {
-          "@id": "_:y1",
+          "@id": "_:z2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:x5",
+            "@id": "_:af7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_5.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_5.ttl"
@@ -297,10 +297,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w8",
+          "@id": "_:z3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:w9",
+            "@id": "_:ac2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_6.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_6.ttl"
@@ -311,10 +311,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w3",
+          "@id": "_:w6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:w1",
+            "@id": "_:w4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_7.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_7.ttl"
@@ -325,10 +325,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v5",
+          "@id": "_:v8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v3",
+            "@id": "_:v6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_8.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_8.ttl"
@@ -339,10 +339,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u7",
+          "@id": "_:v1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u5",
+            "@id": "_:u6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_9.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_9.ttl"
@@ -356,7 +356,7 @@
           "@id": "_:u0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t8",
+            "@id": "_:u1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_10.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_10.ttl"
@@ -367,10 +367,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t2",
+          "@id": "_:z4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t3",
+            "@id": "_:af2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_11.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_11.ttl"
@@ -381,10 +381,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z7",
+          "@id": "_:t3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t1",
+            "@id": "_:t4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_12.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_12.ttl"
@@ -395,10 +395,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z8",
+          "@id": "_:z5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae8",
+            "@id": "_:ae6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_13.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_13.ttl"
@@ -409,10 +409,10 @@
           "result": "true"
         },
         {
-          "@id": "_:z9",
+          "@id": "_:z6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae2",
+            "@id": "_:ae1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_14.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_14.ttl"
@@ -423,10 +423,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa0",
+          "@id": "_:z7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad6",
+            "@id": "_:ad4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_15.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_15.ttl"
@@ -437,10 +437,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa1",
+          "@id": "_:z8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad1",
+            "@id": "_:ad0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_16.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_16.ttl"
@@ -451,10 +451,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa2",
+          "@id": "_:z9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac6",
+            "@id": "_:ac5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_17.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_17.ttl"
@@ -465,10 +465,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa3",
+          "@id": "_:aa0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac0",
+            "@id": "_:ag0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_18.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_18.ttl"
@@ -479,10 +479,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x7",
+          "@id": "_:aa1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:x3",
+            "@id": "_:af5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_19.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_19.ttl"
@@ -493,10 +493,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa4",
+          "@id": "_:aa2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:af1",
+            "@id": "_:x1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_20.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_20.ttl"
@@ -507,10 +507,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w0",
+          "@id": "_:w2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v6",
+            "@id": "_:w3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_21.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_21.ttl"
@@ -521,10 +521,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v1",
+          "@id": "_:v4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v0",
+            "@id": "_:v5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_22.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_22.ttl"
@@ -535,10 +535,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u3",
+          "@id": "_:u5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u2",
+            "@id": "_:u4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_23.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_23.ttl"
@@ -549,10 +549,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t7",
+          "@id": "_:aa3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t6",
+            "@id": "_:af0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_24.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_24.ttl"
@@ -563,10 +563,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa5",
+          "@id": "_:t6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:af0",
+            "@id": "_:t5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_25.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_25.ttl"
@@ -577,10 +577,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa6",
+          "@id": "_:aa4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae9",
+            "@id": "_:ae7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_26.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_26.ttl"
@@ -591,10 +591,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa7",
+          "@id": "_:aa5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae4",
+            "@id": "_:ae2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_27.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_27.ttl"
@@ -605,10 +605,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa8",
+          "@id": "_:aa6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad9",
+            "@id": "_:ad7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_28.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_28.ttl"
@@ -619,10 +619,10 @@
           "result": "true"
         },
         {
-          "@id": "_:aa9",
+          "@id": "_:aa7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad3",
+            "@id": "_:ad2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_29.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_29.ttl"
@@ -633,10 +633,10 @@
           "result": "true"
         },
         {
-          "@id": "_:ab0",
+          "@id": "_:aa8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac8",
+            "@id": "_:ac7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_30.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/sdo_eg_md_30.ttl"
@@ -647,10 +647,10 @@
           "result": "true"
         },
         {
-          "@id": "_:ab1",
+          "@id": "_:aa9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac1",
+            "@id": "_:ag1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0046.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0046.ttl"
@@ -660,10 +660,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x8",
+          "@id": "_:ab0",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:x4",
+            "@id": "_:af6",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0047.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0047.ttl"
@@ -673,10 +673,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w6",
+          "@id": "_:ab1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:w7",
+            "@id": "_:x2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0048.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0048.ttl"
@@ -686,10 +686,10 @@
           "result": "true"
         },
         {
-          "@id": "_:w2",
+          "@id": "_:w5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v9",
+            "@id": "_:w0",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0049.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0049.ttl"
@@ -699,10 +699,10 @@
           "result": "true"
         },
         {
-          "@id": "_:v4",
+          "@id": "_:v7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:v2",
+            "@id": "_:v3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0050.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0050.ttl"
@@ -712,10 +712,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u6",
+          "@id": "_:v2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:u4",
+            "@id": "_:u7",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0051.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0051.ttl"
@@ -725,10 +725,10 @@
           "result": "true"
         },
         {
-          "@id": "_:u1",
+          "@id": "_:u2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t9",
+            "@id": "_:u3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0052.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0052.ttl"
@@ -738,10 +738,10 @@
           "result": "true"
         },
         {
-          "@id": "_:t4",
+          "@id": "_:ab2",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t5",
+            "@id": "_:af1",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0053.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0053.ttl"
@@ -751,10 +751,10 @@
           "result": "true"
         },
         {
-          "@id": "_:ab2",
+          "@id": "_:t1",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:t0",
+            "@id": "_:t2",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0054.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0054.ttl"
@@ -767,7 +767,7 @@
           "@id": "_:ab3",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae7",
+            "@id": "_:ae5",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0055.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0055.ttl"
@@ -780,7 +780,7 @@
           "@id": "_:ab4",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ae0",
+            "@id": "_:ad8",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0056.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0056.ttl"
@@ -793,7 +793,7 @@
           "@id": "_:ab5",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad5",
+            "@id": "_:ad3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0057.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0057.ttl"
@@ -806,7 +806,7 @@
           "@id": "_:ab6",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ad0",
+            "@id": "_:ac9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0058.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0058.ttl"
@@ -819,7 +819,7 @@
           "@id": "_:ab7",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ac4",
+            "@id": "_:ac3",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0059.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0059.ttl"
@@ -832,7 +832,7 @@
           "@id": "_:ab8",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:ab9",
+            "@id": "_:af9",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0060.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0060.ttl"
@@ -842,10 +842,10 @@
           "result": "true"
         },
         {
-          "@id": "_:x6",
+          "@id": "_:ab9",
           "@type": "mf:ManifestEntry",
           "action": {
-            "@id": "_:x2",
+            "@id": "_:af4",
             "@type": "mq:QueryTest",
             "data": "http://www.w3.org/TR/microdata-rdf/tests/0061.html",
             "query": "http://www.w3.org/TR/microdata-rdf/tests/0061.ttl"
@@ -853,6 +853,84 @@
           "comment": "inherited type and token property",
           "name": "Test 0061",
           "result": "true"
+        },
+        {
+          "@id": "_:x3",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:x0",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0062.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0062.ttl"
+          },
+          "comment": "@itemref to single id",
+          "name": "Test 0062",
+          "result": "true"
+        },
+        {
+          "@id": "_:w1",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:u8",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0063.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0063.ttl"
+          },
+          "comment": "@itemref generates property values",
+          "name": "Test 0063",
+          "result": "true"
+        },
+        {
+          "@id": "_:ac0",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:t0",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0064.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0064.ttl"
+          },
+          "comment": "@itemref to single id with different types",
+          "name": "Test 0064",
+          "result": "true"
+        },
+        {
+          "@id": "_:t7",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:t8",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0065.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0065.ttl"
+          },
+          "comment": "@itemref to multiple ids",
+          "name": "Test 0065",
+          "result": "true"
+        },
+        {
+          "@id": "_:ac1",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:t9",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0066.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0066.ttl"
+          },
+          "comment": "@itemref with chaining",
+          "name": "Test 0066",
+          "result": "true"
+        },
+        {
+          "@id": "_:u9",
+          "@type": "mf:ManifestEntry",
+          "action": {
+            "@id": "_:v0",
+            "@type": "mq:QueryTest",
+            "data": "http://www.w3.org/TR/microdata-rdf/tests/0067.html",
+            "query": "http://www.w3.org/TR/microdata-rdf/tests/0067.ttl"
+          },
+          "comment": "Shared @itemref",
+          "name": "Test 0067",
+          "result": "true"
         }
       ]
     }
--- a/microdata-rdf/tests/manifest.ttl	Tue Sep 11 17:30:07 2012 -0700
+++ b/microdata-rdf/tests/manifest.ttl	Tue Sep 11 17:44:05 2012 -0700
@@ -401,4 +401,40 @@
              mq:data <0061.html>;
              mq:query <0061.ttl>];
            mf:name "Test 0061";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "@itemref to single id";
+           mf:action [ a mq:QueryTest;
+             mq:data <0062.html>;
+             mq:query <0062.ttl>];
+           mf:name "Test 0062";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "@itemref generates property values";
+           mf:action [ a mq:QueryTest;
+             mq:data <0063.html>;
+             mq:query <0063.ttl>];
+           mf:name "Test 0063";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "@itemref to single id with different types";
+           mf:action [ a mq:QueryTest;
+             mq:data <0064.html>;
+             mq:query <0064.ttl>];
+           mf:name "Test 0064";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "@itemref to multiple ids";
+           mf:action [ a mq:QueryTest;
+             mq:data <0065.html>;
+             mq:query <0065.ttl>];
+           mf:name "Test 0065";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "@itemref with chaining";
+           mf:action [ a mq:QueryTest;
+             mq:data <0066.html>;
+             mq:query <0066.ttl>];
+           mf:name "Test 0066";
+           mf:result "true"] [ a mf:ManifestEntry;
+           rdfs:comment "Shared @itemref";
+           mf:action [ a mq:QueryTest;
+             mq:data <0067.html>;
+             mq:query <0067.ttl>];
+           mf:name "Test 0067";
            mf:result "true"])]) .