--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0031-in.jsonld Tue Mar 12 00:33:09 2013 +0100
@@ -0,0 +1,15 @@
+{
+ "@context": {
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+ "defines": { "@reverse": "rdfs:definedBy" },
+ "label": "rdfs:label"
+ },
+ "@id": "http://example.com/vocab",
+ "label": "My vocabulary",
+ "defines": [
+ {
+ "@id": "http://example.com/vocab#property",
+ "label": "A property"
+ }
+ ]
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/toRdf-0031-out.nq Tue Mar 12 00:33:09 2013 +0100
@@ -0,0 +1,3 @@
+<http://example.com/vocab#property> <http://www.w3.org/2000/01/rdf-schema#definedBy> <http://example.com/vocab> .
+<http://example.com/vocab#property> <http://www.w3.org/2000/01/rdf-schema#label> "A property" .
+<http://example.com/vocab> <http://www.w3.org/2000/01/rdf-schema#label> "My vocabulary" .
--- a/test-suite/tests/toRdf-manifest.jsonld Mon Mar 11 22:13:50 2013 +0100
+++ b/test-suite/tests/toRdf-manifest.jsonld Tue Mar 12 00:33:09 2013 +0100
@@ -186,6 +186,12 @@
"purpose": "Tests graphs containing subject references as strings.",
"input": "toRdf-0030-in.jsonld",
"expect": "toRdf-0030-out.nq"
+ }, {
+ "@type": ["test:TestCase", "jld:ToRDFTest"],
+ "name": "Reverse property",
+ "purpose": "Tests conversion of reverse properties.",
+ "input": "toRdf-0031-in.jsonld",
+ "expect": "toRdf-0031-out.nq"
}
]
}