--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/reports/earl.jsonld Sun Apr 07 17:12:34 2013 -0700
@@ -0,0 +1,3209 @@
+{
+ "@context": {
+ "@vocab": "http://www.w3.org/ns/earl#",
+ "foaf:homepage": {
+ "@type": "@id"
+ },
+ "dc": "http://purl.org/dc/terms/",
+ "doap": "http://usefulinc.com/ns/doap#",
+ "earl": "http://www.w3.org/ns/earl#",
+ "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#",
+ "foaf": "http://xmlns.com/foaf/0.1/",
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+ "assertedBy": {
+ "@type": "@id"
+ },
+ "assertions": {
+ "@type": "@id",
+ "@container": "@list"
+ },
+ "bibRef": {
+ "@id": "dc:bibliographicCitation"
+ },
+ "created": {
+ "@id": "doap:created",
+ "@type": "xsd:date"
+ },
+ "description": {
+ "@id": "dc:description",
+ "@language": "en"
+ },
+ "developer": {
+ "@id": "doap:developer",
+ "@type": "@id",
+ "@container": "@set"
+ },
+ "doapDesc": {
+ "@id": "doap:description",
+ "@language": "en"
+ },
+ "generatedBy": {
+ "@type": "@id"
+ },
+ "homepage": {
+ "@id": "doap:homepage",
+ "@type": "@id"
+ },
+ "label": {
+ "@id": "rdfs:label",
+ "@language": "en"
+ },
+ "language": {
+ "@id": "doap:programming-language"
+ },
+ "license": {
+ "@id": "doap:license",
+ "@type": "@id"
+ },
+ "mode": {
+ "@type": "@id"
+ },
+ "name": {
+ "@id": "doap:name"
+ },
+ "outcome": {
+ "@type": "@id"
+ },
+ "release": {
+ "@id": "doap:release",
+ "@type": "@id"
+ },
+ "shortdesc": {
+ "@id": "doap:shortdesc",
+ "@language": "en"
+ },
+ "subject": {
+ "@type": "@id"
+ },
+ "test": {
+ "@type": "@id"
+ },
+ "testAction": {
+ "@id": "mf:action",
+ "@type": "@id"
+ },
+ "testResult": {
+ "@id": "mf:result",
+ "@type": "@id"
+ },
+ "entries": {
+ "@id": "mf:entries",
+ "@type": "@id",
+ "@container": "@list"
+ },
+ "testSubjects": {
+ "@type": "@id",
+ "@container": "@list"
+ },
+ "title": {
+ "@id": "dc:title"
+ },
+ "xsd": {
+ "@id": "http://www.w3.org/2001/XMLSchema#"
+ }
+ },
+ "@id": "",
+ "@type": [
+ "earl:Software",
+ "doap:Project"
+ ],
+ "name": "JSON-LD",
+ "bibRef": "[[JSON-LD-API]]",
+ "generatedBy": {
+ "@id": "http://rubygems.org/gems/earl-report",
+ "@type": "doap:Project",
+ "name": "earl-report",
+ "shortdesc": "Earl Report summary generator",
+ "doapDesc": "EarlReport generates HTML+RDFa rollups of multiple EARL reports",
+ "homepage": "https://github.com/gkellogg/earl-report",
+ "language": "Ruby",
+ "license": "http://unlicense.org",
+ "release": {
+ "@id": "https://github.com/gkellogg/earl-report/tree/0.2.3",
+ "@type": "doap:Version",
+ "name": "earl-report-0.2.3",
+ "created": "2013-03-20",
+ "revision": "0.2.3"
+ },
+ "developer": {
+ "@type": "foaf:Person",
+ "@id": "http://greggkellogg.net/foaf#me",
+ "foaf:name": "Gregg Kellogg",
+ "foaf:homepage": "http://greggkellogg.net/"
+ }
+ },
+ "assertions": [
+ "earl.ttl",
+ "empty-earl.ttl"
+ ],
+ "testSubjects": [
+
+ ],
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld",
+ "@type": [
+ "earl:Report",
+ "mf:Manifest"
+ ],
+ "title": "JSON-LD flatten tests use object compare",
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "id",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0001-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0001-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0002",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "basic",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0002-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0002-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "drop null and unmapped properties",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0003-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0003-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0004",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "optimize @set, keep empty arrays",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0004-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0004-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0005",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "do not expand aliased @id/@type",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0005-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0005-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0006",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "alias keywords",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0006-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0006-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0007",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "date type-coercion",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0007-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0007-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0008",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "@value with @language",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0008-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0008-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0009",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "@graph with terms",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0009-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0009-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0010",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "native types",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0010-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0010-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0011",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "coerced @id",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0011-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0011-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0012",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "@graph with embed",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0012-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0012-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0013",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "flatten already expanded",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0013-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0013-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0014",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "@set of @value objects with keyword aliases",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0014-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0014-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0015",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "collapse set of sets, keep empty lists",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0015-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0015-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0016",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "context reset",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0016-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0016-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0017",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "@graph and @id aliased",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0017-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0017-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0018",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "override default @language in terms; only language-tag strings",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0018-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0018-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0019",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "remove @value = null",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0019-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0019-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0020",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "do not remove @graph if not at top-level",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0020-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0020-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0021",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "do not remove @graph at top-level if not only property",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0021-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0021-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0022",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "flatten value with default language",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0022-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0022-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0023",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Flattening lists and sets with properties having coercion coerces list/set values",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0023-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0023-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0024",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Multiple contexts",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0024-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0024-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0025",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Problematic IRI flattening tests",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0025-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0025-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0026",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Flattening term mapping to @type uses @type syntax",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0026-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0026-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0027",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Keep duplicate values in @list but remove them in @set",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0027-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0027-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0028",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Use @vocab in properties and @type but not in @id",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0028-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0028-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0029",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Relative IRIs",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0029-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0030",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Language maps",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0030-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0030-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0031",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "type-coercion of native types",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0031-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0031-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0032",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Mapping a term to null decouples it from @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0032-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0032-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0033",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Using @vocab with with type-coercion",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0033-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0033-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0034",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Multiple properties expanding to the same IRI",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0034-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0034-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0035",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Using language maps with @vocab, a default language, and a colliding property",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0035-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0035-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0036",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Flattening @index",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0036-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0036-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0037",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Flattening reverse properties",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0037-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0037-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0038",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Ensure all blank nodes are relabeled when flattening.",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0038-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0038-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0039",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Flattening reverse properties using blank nodes",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0039-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0039-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0040",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FlattenTest"
+ ],
+ "title": "Only invoke language and index map expansion if the value is a JSON object",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0040-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0040-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0041",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Free-floating sets and lists",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0041-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0041-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0042",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Lists objects are implicit unlabeled blank nodes and thus never equivalent",
+ "testAction": "http://json-ld.org/test-suite/tests/flatten-0042-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/flatten-0042-out.jsonld"
+ }
+ ]
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld",
+ "@type": [
+ "earl:Report",
+ "mf:Manifest"
+ ],
+ "title": "JSON-LD to Compaction tests use object compare",
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0001",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "drop free-floating nodes",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0001-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0001-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0002",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "basic",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0002-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0002-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0003",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "drop null and unmapped properties",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0003-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0003-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0004",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "optimize @set, keep empty arrays",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0004-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0004-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0005",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "@type and prefix compaction",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0005-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0005-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0006",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "keep expanded object format if @type doesn't match",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0006-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0006-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0007",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "add context",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0007-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0007-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0008",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "alias keywords",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0008-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0008-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0009",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "compact @id",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0009-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0009-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0010",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "array to @graph",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0010-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0010-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0011",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "compact date",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0011-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0011-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0012",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "native types",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0012-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0012-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0013",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "@value with @language",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0013-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0013-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0014",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "array to aliased @graph",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0014-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0014-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0015",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "best match compaction",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0015-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0015-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0016",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "recursive named graphs",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0016-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0016-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0017",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "A term mapping to null removes the mapping",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0017-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0017-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0018",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "best matching term for lists",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0018-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0018-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0019",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Keep duplicate values in @list and @set",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0019-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0019-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0020",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact @id that is a property IRI when @container is @list",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0020-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0020-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0021",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact properties and types using @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0021-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0021-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0022",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact nested properties using @list containers",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0022-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0022-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0023",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "@vocab takes precedence over prefixes - even if the result is longer",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0023-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0023-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0024",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0024-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0024-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0025",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Language maps",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0025-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0025-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0026",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Using language maps with @vocab, a default language, and a competing term",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0026-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0026-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0027",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Fall back to term with @set container if term with language map is defined",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0027-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0027-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0028",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Alias keywords and use @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0028-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0028-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0029",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Simple @index map",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0029-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0029-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0030",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Preserve @index tags if not compacted to an index map",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0030-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0030-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0031",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact @reverse",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0031-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0031-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0032",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact keys in reverse-maps",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0032-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0032-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0033",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact reverse-map to reverse property",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0033-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0033-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0034",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Do not use reverse property if no other property matches as normal property",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0034-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0034-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0035",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact pure node references to strings for reverse properties",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0035-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0035-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0036",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact reverse properties using index containers",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0036-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0036-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0037",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact keys in @reverse using @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0037-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0037-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0038",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Index map round-tripping (Drupal content deployment)",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0038-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0038-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0039",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Value of @graph is always an array",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0039-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0039-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0040",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Ensure that value of @list is always an array",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0040-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0040-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0041",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "If an index is present, a term having an @list container is not selected",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0041-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0041-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0042",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Make sure keyword aliasing works if a list can't be compacted",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0042-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0042-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0043",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Ensure that @vocab compaction isn't used if the result collides with a term",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0043-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0043-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0044",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0044-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0044-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0045",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Values of @id are transformed to relative IRIs, terms are ignored",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0045-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0045-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0046",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Wrap top-level array into @graph even if no context is passed",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0046-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0046-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0048",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Prefer terms with a language mapping set to null over terms without language-mapping for non-strings",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0048-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0048-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0049",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Round tripping of lists that contain just IRIs",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0049-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0049-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0051",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Round tripping @list with scalar",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0051-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0051-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0052",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Round tripping @list with scalar and @graph alias",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0052-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0052-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0053",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact to @type: @vocab when no @type: @id term available",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0053-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0053-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0054",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact to @type: @vocab and compact @id to term",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0054-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0054-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0055",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Round tripping @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0055-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0055-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0056",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Prefer @type: @vocab over @type: @id for terms",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0056-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0056-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0057",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Complex round tripping @type: @vocab and @type: @id",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0057-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0057-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0058",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Prefer @type: @id over @type: @vocab for non-terms",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0058-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0058-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0059",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0059-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0059-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0060",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0060-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0060-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0061",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0061-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0061-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0062",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Relative IRIs don't round-trip with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0062-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0062-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0063",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact IRI round-tripping with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0063-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0063-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0064",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact language-tagged and indexed strings to index-map",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0064-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0064-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0065",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Language-tagged and indexed strings don't compact to language-map",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0065-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0065-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0066",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Relative IRIs",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0066-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0067",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#CompactTest"
+ ],
+ "title": "Compact reverse property whose values are unlabeled blank nodes",
+ "testAction": "http://json-ld.org/test-suite/tests/compact-0067-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/compact-0067-out.jsonld"
+ }
+ ]
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld",
+ "@type": [
+ "earl:Report",
+ "mf:Manifest"
+ ],
+ "title": "JSON-LD to Expansion tests use object compare",
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0001",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "drop free-floating nodes",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0001-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0001-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0002",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "basic",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0002-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0002-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0003",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "drop null and unmapped properties",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0003-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0003-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0004",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "optimize @set, keep empty arrays",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0004-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0004-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0005",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "do not expand aliased @id/@type",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0005-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0005-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0006",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "alias keywords",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0006-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0006-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0007",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "date type-coercion",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0007-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0007-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0008",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "@value with @language",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0008-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0008-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0009",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "@graph with terms",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0009-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0009-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0010",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "native types",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0010-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0010-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0011",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "coerced @id",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0011-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0011-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0012",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "@graph with embed",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0012-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0012-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0013",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "expand already expanded",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0013-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0013-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0014",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "@set of @value objects with keyword aliases",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0014-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0014-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0015",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "collapse set of sets, keep empty lists",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0015-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0015-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0016",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "context reset",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0016-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0016-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0017",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "@graph and @id aliased",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0017-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0017-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0018",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "override default @language in terms; only language-tag strings",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0018-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0018-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0019",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "remove @value = null",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0019-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0019-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0020",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "do not remove @graph if not at top-level",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0020-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0020-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0021",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "do not remove @graph at top-level if not only property",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0021-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0021-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0022",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "expand value with default language",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0022-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0022-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0023",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expanding lists and sets with properties having coercion coerces list/set values",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0023-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0023-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0024",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Multiple contexts",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0024-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0024-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0025",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Problematic IRI expansion tests",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0025-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0025-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0026",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expanding term mapping to @type uses @type syntax",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0026-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0026-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0027",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Keep duplicate values in @list and @set",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0027-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0027-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0028",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Use @vocab in properties and @type but not in @id",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0028-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0028-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0029",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Relative IRIs",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0029-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0030",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Language maps",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0030-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0030-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0031",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "type-coercion of native types",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0031-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0031-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0032",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Mapping a term to null decouples it from @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0032-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0032-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0033",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Using @vocab with with type-coercion",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0033-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0033-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0034",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Multiple properties expanding to the same IRI",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0034-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0034-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0035",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Using language maps with @vocab, a default language, and a colliding property",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0035-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0035-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0036",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expanding @index",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0036-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0036-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0037",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expanding @reverse",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0037-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0037-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0038",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Blank nodes are not relabeled during expansion.",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0038-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0038-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0039",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Using terms in a reverse-maps",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0039-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0039-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0040",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Only invoke language and index map expansion if the value is a JSON object",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0040-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0040-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0041",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Reset the default language",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0041-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0041-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0042",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expanding reverse properties",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0042-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0042-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0043",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Using reverse properties inside a @reverse-container",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0043-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0043-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0044",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Ensure index maps use language mapping",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0044-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0044-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0045",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Top-level value objects are removed",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0045-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0045-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0046",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Free-floating nodes are removed",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0046-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0046-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0047",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Free-floating values in sets are removed, free-floating lists are removed completely",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0047-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0047-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0048",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Terms are ignored in @id",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0048-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0048-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0049",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Using strings as value of a reverse property",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0049-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0049-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0050",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Context definitions using compact IRIs don't inherit the definitions of the prefix",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0050-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0050-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0051",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expansion of keyword aliases in term definitions",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0051-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0051-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0052",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "@vocab-relative IRIs in term definitions",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0052-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0052-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0053",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand absolute IRI with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0053-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0053-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0054",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand term with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0054-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0054-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0055",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand @vocab-relative term with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0055-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0055-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0056",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Use terms with @type: @vocab but not with @type: @id",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0056-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0056-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0057",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand relative IRI with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0057-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0057-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0058",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand compact IRI with @type: @vocab",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0058-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0058-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0059",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Reset @vocab by setting it to null",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0059-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0059-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0060",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Overwrite document base with @base and reset it again",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0060-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0061",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Various relative IRIs with with @base",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0062-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0062-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0062",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand a reverse property with an index-container",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0063-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0063-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0063",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Expand reverse property whose values are unlabeled blank nodes",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0064-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0064-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0064",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Keys that are not mapped to an IRI in a reverse-map are dropped",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0065-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0065-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0065",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "Use @vocab to expand keys in reverse-maps",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0066-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0066-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0066",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0067-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0067-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0067",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ExpandTest"
+ ],
+ "title": "prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore",
+ "testAction": "http://json-ld.org/test-suite/tests/expand-0068-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/expand-0068-out.jsonld"
+ }
+ ]
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld",
+ "@type": [
+ "earl:Report",
+ "mf:Manifest"
+ ],
+ "title": "JSON-LD to Expansion tests use object compare",
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld#t0001",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ApiErrorTest"
+ ],
+ "title": "Keywords cannot be aliased to other keywords",
+ "testAction": "http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld",
+ "assertions": [
+
+ ],
+ "testResult": "http://json-ld.org/test-suite/tests/keyword redefinition"
+ }
+ ]
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld",
+ "@type": [
+ "earl:Report",
+ "mf:Manifest"
+ ],
+ "title": "JSON-LD to RDF tests generate N-Quads Output",
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0001",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Plain literal with URIs",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0001-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests generation of a triple using full URIs and a plain literal.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0001-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0002",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Plain literal with CURIE from default context",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0002-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests generation of a triple using a CURIE defined in the default context.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0002-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0003",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Default subject is BNode",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0003-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that a BNode is created if no explicit subject is set.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0003-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0004",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Literal with language tag",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0004-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that a plain literal is created with a language tag.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0004-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0005",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Extended character set literal",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0005-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that a literal may be created using extended characters.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0005-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0006",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Typed literal",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0006-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests creation of a literal with a datatype.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0006-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0007",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Tests 'a' generates rdf:type and object is implicit IRI",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0007-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0007-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0008",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test prefix defined in @context",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0008-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Generate an IRI using a prefix defined within an @context.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0008-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0009",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test using an empty suffix",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0009-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "An empty suffix may be used.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0009-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0010",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test object processing defines object",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0010-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "A property referencing an associative array gets object from subject of array.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0010-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0011",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test object processing defines object with implicit BNode",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0011-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0011-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0012",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Multiple Objects for a Single Property",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0012-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that Multiple Objects are for a Single Property using array syntax.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0012-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0013",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Creation of an empty list",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0013-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that [[]] generates an empty list.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0013-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0014",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Creation of a list with single element",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0014-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that [[a]] generates list.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0014-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0015",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Creation of a list with multiple elements",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0015-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that list with multiple elements.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0015-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0016",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Empty IRI expands to resource location",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0016-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Expanding an empty IRI uses the test file location.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0016-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0017",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Relative IRI expands relative resource location",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0017-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Expanding a relative IRI uses the test file location.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0017-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0018",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Frag ID expands relative resource location",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0018-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Expanding a fragment uses the test file location.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0018-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0019",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test type coercion to anyURI",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0019-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests coercion of object to anyURI when specified.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0019-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0020",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test type coercion to typed literal",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0020-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests coercion of object to a typed literal when specified.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0020-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0021",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test coercion of double value",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0022-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that a decimal value generates a xsd:double typed literal;.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0022-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0022",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test coercion of integer value",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0023-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that a decimal value generates a xsd:integer typed literal.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0023-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0023",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test coercion of boolean value",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0024-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that a decimal value generates a xsd:boolean typed literal.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0024-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0024",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test list coercion with single element",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0025-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0025-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0025",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Test creation of multiple types",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0026-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that @type with an array of types creates multiple types.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0026-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0026",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Simple named graph (Wikidata)",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0027-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Using @graph with other keys places triples in a named graph.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0027-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0027",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Simple named graph",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0028-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Signing a graph.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0028-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0028",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "named graph with embedded named graph",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0029-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests that named graphs containing named graphs flatten to single level of graph naming.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0029-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0029",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "top-level graph with string subject reference",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0030-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests graphs containing subject references as strings.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0030-out.nq"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0030",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#ToRDFTest"
+ ],
+ "title": "Reverse property",
+ "testAction": "http://json-ld.org/test-suite/tests/toRdf-0031-in.jsonld",
+ "assertions": [
+
+ ],
+ "description": "Tests conversion of reverse properties.",
+ "testResult": "http://json-ld.org/test-suite/tests/toRdf-0031-out.nq"
+ }
+ ]
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld",
+ "@type": [
+ "earl:Report",
+ "mf:Manifest"
+ ],
+ "title": "RDF to JSON-LD tests take N-Quads Input",
+ "entries": [
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0001",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "Object Lists",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0001-in.nq",
+ "assertions": [
+
+ ],
+ "description": "Tests generation using different types of objects.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0001-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0002",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "Native Types",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0002-in.nq",
+ "assertions": [
+
+ ],
+ "description": "Use native datatypes, where possible.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0002-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0003",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "BNodes and references",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0003-in.nq",
+ "assertions": [
+
+ ],
+ "description": "BNode name generation and references between resources.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0003-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0004",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "Lists",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0004-in.nq",
+ "assertions": [
+
+ ],
+ "description": "Multiple lists with different types of element.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0004-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0005",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "Document with list",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0005-in.nq",
+ "assertions": [
+
+ ],
+ "description": "Uses a named graph containing a list.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0005-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0006",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "Two graphs having same subject but different values",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0006-in.nq",
+ "assertions": [
+
+ ],
+ "description": "Ensure that properties and list elements aren't confused between graphs.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0006-out.jsonld"
+ },
+ {
+ "@id": "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0007",
+ "@type": [
+ "earl:TestCriterion",
+ "earl:TestCase",
+ "http://json-ld.org/test-suite/vocab#FromRDFTest"
+ ],
+ "title": "Graph with multiple named graphs",
+ "testAction": "http://json-ld.org/test-suite/tests/fromRdf-0007-in.nq",
+ "assertions": [
+
+ ],
+ "description": "Testing @graph recursion.",
+ "testResult": "http://json-ld.org/test-suite/tests/fromRdf-0007-out.jsonld"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/reports/index.html Sun Apr 07 17:12:34 2013 -0700
@@ -0,0 +1,3146 @@
+<!DOCTYPE html>
+<html prefix='earl: http://www.w3.org/ns/earl# doap: http://usefulinc.com/ns/doap# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#'>
+ <head>
+ <meta content='text/html;charset=utf-8' http-equiv='Content-Type' />
+ <title>
+ JSON-LD
+ Implementation Report
+ </title>
+ <script class='remove' src='http://www.w3.org/Tools/respec/respec-w3c-common' type='text/javascript'></script>
+ <script type='text/javascript'>
+ //<![CDATA[
+ var respecConfig = {
+ // extend the bibliography entries
+ localBiblio: {
+ DOAP: "Ed Dumbill. <cite><a href=\"https://github.com/edumbill/doap/wiki\">Turtle: Terse RDF Triple Language.</a></cite> Community Specification. URL: <a href=\"https://github.com/edumbill/doap/wiki\">https://github.com/edumbill/doap/wiki</a>",
+ "JSON-LD": "Manu Sporny, Gregg Kellogg, Markus Lanthaler, Editors. <cite><a href=\"http://json-ld.org/spec/latest/json-ld/\">JSON-LD 1.0</a>.</cite> W3C Editor's Draft (work in progress). URL: <a href=\"http://json-ld.org/spec/latest/json-ld/\">http://json-ld.org/spec/latest/json-ld/</a>",
+ "JSON-LD-API": "Markus Lanthaler, Gregg Kellogg, Manu Sporny, Editors. <cite><a href=\"http://json-ld.org/spec/latest/json-ld-api/\">JSON-LD 1.0 Processing Algorithms and API</a>.</cite> W3C Editor's Draft (work in progress). URL: <a href=\"http://json-ld.org/spec/latest/json-ld-api/\">http://json-ld.org/spec/latest/json-ld-api/</a>",
+ "JSON-LD-TESTS": "<cite><a href=\"http://www.w3.org/2013/json-ld-tests/\">JSON-LD 1.0 Test Suite</a></cite>. W3C Test Suite (work in progress). URL: <a href=\"http://www.w3.org/2013/json-ld-tests/\">http://www.w3.org/2013/json-ld-tests/</a>",
+ },
+
+ // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
+ specStatus: "unofficial",
+ copyrightStart: "2010",
+ doRDFa: "1.1",
+
+ // the specification's short name, as in http://www.w3.org/TR/short-name/
+ shortName: "json-ld-earl",
+ //subtitle: "JSON-LD Implementation Conformance Report",
+ // if you wish the publication date to be other than today, set this
+ publishDate: "2013/04/07",
+
+ // if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
+ // and its maturity status
+ //previousPublishDate: "2011-10-23",
+ //previousMaturity: "ED",
+ //previousDiffURI: "http://json-ld.org/spec/ED/json-ld-syntax/20111023/index.html",
+ //diffTool: "http://www.aptest.com/standards/htmldiff/htmldiff.pl",
+
+ // if there a publicly available Editor's Draft, this is the link
+ //edDraftURI: "",
+
+ // if this is a LCWD, uncomment and set the end of its review period
+ // lcEnd: "2009-08-05",
+
+ // if you want to have extra CSS, append them to this list
+ // it is recommended that the respec.css stylesheet be kept
+ extraCSS: [
+ "http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"
+ ],
+
+ // editors, add as many as you like
+ // only "name" is required
+ editors: [
+ { name: "Gregg Kellogg", url: "http://greggkellogg.net/",
+ company: "Kellogg Associates", companyURL: "http://kellogg-assoc.com/" },
+ { name: "Markus Lanthaler", url: "http://www.markus-lanthaler.com/",
+ company: "Graz University of Technology", companyURL: "http://www.tugraz.at/" },
+ { name: "Manu Sporny", url: "http://manu.sporny.org/",
+ company: "Digital Bazaar", companyURL: "http://digitalbazaar.com/" }
+ ],
+
+ // authors, add as many as you like.
+ // This is optional, uncomment if you have authors as well as editors.
+ // only "name" is required. Same format as editors.
+ authors: [
+ { name: "Manu Sporny", url: "http://digitalbazaar.com/",
+ company: "Digital Bazaar", companyURL: "http://digitalbazaar.com/" },
+ { name: "Dave Longley", url: "http://digitalbazaar.com/",
+ company: "Digital Bazaar", companyURL: "http://digitalbazaar.com/"},
+ { name: "Gregg Kellogg", url: "http://greggkellogg.net/",
+ company: "Kellogg Associates", companyURL: "http://kellogg-assoc.com/" },
+ { name: "Markus Lanthaler", url: "http://www.markus-lanthaler.com/",
+ company: "Graz University of Technology", companyURL: "http://www.tugraz.at/" },
+ { name: "Niklas Lindström", url: "http://neverspace.net/" }
+ ],
+
+ // name of the WG
+ wg: "RDF Working Group",
+
+ // URI of the public WG page
+ wgURI: "http://www.w3.org/2011/rdf-wg/",
+
+ // name (with the @w3c.org) of the public mailing to which comments are due
+ wgPublicList: "public-rdf-comments",
+
+ // URI of the patent status for this WG, for Rec-track documents
+ // !!!! IMPORTANT !!!!
+ // This is important for Rec-track documents, do not copy a patent URI from a random
+ // document unless you know what you're doing. If in doubt ask your friendly neighbourhood
+ // Team Contact.
+ wgPatentURI: "http://www.w3.org/2004/01/pp-impl/46168/status",
+ alternateFormats: [
+ {uri: "earl.ttl", label: "Turtle"},
+ {uri: "earl.jsonld", label: "JSON-LD"}
+ ],
+ };
+ //]]>
+ </script>
+ <style type='text/css'>
+ /*<![CDATA[*/
+ span[property='dc:description'] { display: none; }
+ td.PASS { color: green; }
+ td.FAIL { color: red; }
+ table.report {
+ border-width: 1px;
+ border-spacing: 2px;
+ border-style: outset;
+ border-color: gray;
+ border-collapse: separate;
+ background-color: white;
+ }
+ table.report th {
+ border-width: 1px;
+ padding: 1px;
+ border-style: inset;
+ border-color: gray;
+ background-color: white;
+ -moz-border-radius: ;
+ }
+ table.report td {
+ border-width: 1px;
+ padding: 1px;
+ border-style: inset;
+ border-color: gray;
+ background-color: white;
+ -moz-border-radius: ;
+ }
+ tr.summary {font-weight: bold;}
+ td.passed-all {color: green;}
+ td.passed-most {color: darkorange;}
+ td.passed-some {color: red;}
+ /*]]>*/
+ </style>
+ </head>
+ <body prefix='earl: http://www.w3.org/ns/earl# doap: http://usefulinc.com/ns/doap# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#'>
+ <section about='' id='abstract' typeof='earl:Software doap:Project'>
+ <p>
+ This document report test subject conformance for and related specifications for
+ <span property='doap:name'>JSON-LD</span>
+ <span property='dc:bibliographicCitation'>[[JSON-LD-API]]</span>
+ according to the requirements of the Evaluation and Report Language (EARL) 1.0 Schema [[EARL10-SCHEMA]].
+ </p>
+ <p>
+ This report is also available in alternate formats:
+ <a href='earl.ttl'>
+ Turtle
+ </a>
+ and
+ <a href='earl.jsonld'>
+ JSON-LD
+ </a>
+ </p>
+ </section>
+ <section id='sodt'></section>
+ <section>
+ <h2>Instructions for submitting implementation reports</h2>
+
+ <p>Tests should be run using the test manifests defined in the
+ <a href="#test-manifests">Test Manifests</a> Section.</p>
+
+ <p>Each test manifest MAY contain a <code>baseIri</code> property, indicating
+ the base IRI to be used for running each test.</p>
+
+ <p>Reports should be submitted in Turtle format to <a href="mailto:public-rdf-comments@w3.org">public-rdf-comments@w3.org</a>
+ and include an <code>earl:Assertion</code>
+ for each test, referencing the test resource from the associated manifest
+ and the test subject being reported upon. An example test entry is be the following:</p>
+
+ <pre><code> [ a earl:Assertion;
 earl:assertedBy <http://greggkellogg.net/foaf#me>;
 earl:subject <http://rubygems.org/gems/json-ld>;
 earl:test <http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001>;
 earl:result [
 a earl:TestResult;
 earl:outcome earl:passed;
 dc:date "2013-02-22T15:12:30-08:00"^^xsd:dateTime];
 earl:mode earl:automatic ] .
</code></pre>
+
+ <p>The Test Subject should be defined as a <code>doap:Project</code>, including the name,
+ homepage and developer(s) of the software (see [[DOAP]]). Optionally, including the
+ project description and programming language. An example test subject description is the following:</p>
+
+ <pre><code> <http://rubygems.org/gems/json-ld> a doap:Project, earl:TestSubject, earl:Software ;
 doap:name "JSON::LD" ;
 doap:homepage <http://gkellogg.github.com/json-ld> ;
 doap:license <http://creativecommons.org/licenses/publicdomain/> ;
 doap:description "JSON::LD parses and serializes JSON-LD into RDF and implements expansion, compaction and framing API interfaces."@en ;
 doap:programming-language "Ruby" ;
 doap:developer <http://greggkellogg.net/foaf#me> ;
 dc:title "JSON::LD" ;
 dc:date "2011-08-29"^^xsd:date ;
 dc:creator <http://greggkellogg.net/foaf#me> ;
</code></pre>
+
+ <p>The software developer, either an organization or one or more individuals SHOULD be
+ referenced from <code>doap:developer</code> using [[FOAF]]. For example:</p>
+
+ <pre><code> <http://greggkellogg.net/foaf#me> a foaf:Person, earl:Assertor;
 foaf:name "Gregg Kellogg";
 foaf:title "Implementor";
 foaf:homepage <http://greggkellogg.net/> .
</code></pre>
+
+ <p>See <a href="http://json-ld.org/tests/">JSON-LD Test Description</a> for more information.</p>
+ </section>
+ <section>
+ <h2>
+ Test Manifests
+ </h2>
+ <section resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld' typeof='earl:Report mf:Manifest'>
+ <h2>JSON-LD flatten tests use object compare</h2>
+ <table class='report'>
+ <tr>
+ <th>
+ Test
+ </th>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0001'>id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0002' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0002'>basic</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0003'>drop null and unmapped properties</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0004' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0004'>optimize @set, keep empty arrays</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0005' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0005'>do not expand aliased @id/@type</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0006' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0006'>alias keywords</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0007' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0007'>date type-coercion</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0008' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0008'>@value with @language</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0009' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0009'>@graph with terms</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0010' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0010'>native types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0011' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0011'>coerced @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0012' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0012'>@graph with embed</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0013' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0013'>flatten already expanded</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0014' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0014'>@set of @value objects with keyword aliases</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0015' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0015'>collapse set of sets, keep empty lists</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0016' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0016'>context reset</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0017' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0017'>@graph and @id aliased</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0018' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0018'>override default @language in terms; only language-tag strings</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0019' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0019'>remove @value = null</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0020' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0020'>do not remove @graph if not at top-level</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0021' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0021'>do not remove @graph at top-level if not only property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0022' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0022'>flatten value with default language</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0023' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0023'>Flattening lists and sets with properties having coercion coerces list/set values</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0024' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0024'>Multiple contexts</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0025' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0025'>Problematic IRI flattening tests</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0026' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0026'>Flattening term mapping to @type uses @type syntax</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0027' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0027'>Keep duplicate values in @list but remove them in @set</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0028' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0028'>Use @vocab in properties and @type but not in @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0029' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0029'>Relative IRIs</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0030' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0030'>Language maps</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0031' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0031'>type-coercion of native types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0032' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0032'>Mapping a term to null decouples it from @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0033' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0033'>Using @vocab with with type-coercion</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0034' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0034'>Multiple properties expanding to the same IRI</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0035' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0035'>Using language maps with @vocab, a default language, and a colliding property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0036' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0036'>Flattening @index</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0037' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0037'>Flattening reverse properties</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0038' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0038'>Ensure all blank nodes are relabeled when flattening.</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0039' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0039'>Flattening reverse properties using blank nodes</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0040' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FlattenTest'>
+ <td>
+ <a href='#test_t0040'>Only invoke language and index map expansion if the value is a JSON object</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0041' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0041'>Free-floating sets and lists</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0042' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0042'>Lists objects are implicit unlabeled blank nodes and thus never equivalent</a>
+ </td>
+ </tr>
+ <tr class='summary'>
+ <td>
+ Percentage passed out of 42 Tests
+ </td>
+ </tr>
+ </table>
+ </section>
+ <section resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld' typeof='earl:Report mf:Manifest'>
+ <h2>JSON-LD to Compaction tests use object compare</h2>
+ <table class='report'>
+ <tr>
+ <th>
+ Test
+ </th>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0001' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0001'>drop free-floating nodes</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0002' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0002'>basic</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0003' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0003'>drop null and unmapped properties</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0004' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0004'>optimize @set, keep empty arrays</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0005' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0005'>@type and prefix compaction</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0006' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0006'>keep expanded object format if @type doesn't match</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0007' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0007'>add context</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0008' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0008'>alias keywords</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0009' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0009'>compact @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0010' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0010'>array to @graph</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0011' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0011'>compact date</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0012' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0012'>native types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0013' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0013'>@value with @language</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0014' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0014'>array to aliased @graph</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0015' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0015'>best match compaction</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0016' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0016'>recursive named graphs</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0017' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0017'>A term mapping to null removes the mapping</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0018' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0018'>best matching term for lists</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0019' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0019'>Keep duplicate values in @list and @set</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0020' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0020'>Compact @id that is a property IRI when @container is @list</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0021' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0021'>Compact properties and types using @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0022' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0022'>Compact nested properties using @list containers</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0023' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0023'>@vocab takes precedence over prefixes - even if the result is longer</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0024' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0024'>The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0025' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0025'>Language maps</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0026' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0026'>Using language maps with @vocab, a default language, and a competing term</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0027' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0027'>Fall back to term with @set container if term with language map is defined</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0028' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0028'>Alias keywords and use @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0029' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0029'>Simple @index map</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0030' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0030'>Preserve @index tags if not compacted to an index map</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0031' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0031'>Compact @reverse</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0032' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0032'>Compact keys in reverse-maps</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0033' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0033'>Compact reverse-map to reverse property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0034' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0034'>Do not use reverse property if no other property matches as normal property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0035' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0035'>Compact pure node references to strings for reverse properties</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0036' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0036'>Compact reverse properties using index containers</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0037' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0037'>Compact keys in @reverse using @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0038' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0038'>Index map round-tripping (Drupal content deployment)</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0039' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0039'>Value of @graph is always an array</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0040' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0040'>Ensure that value of @list is always an array</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0041' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0041'>If an index is present, a term having an @list container is not selected</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0042' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0042'>Make sure keyword aliasing works if a list can't be compacted</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0043' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0043'>Ensure that @vocab compaction isn't used if the result collides with a term</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0044' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0044'>Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0045' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0045'>Values of @id are transformed to relative IRIs, terms are ignored</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0046' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0046'>Wrap top-level array into @graph even if no context is passed</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0048' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0048'>Prefer terms with a language mapping set to null over terms without language-mapping for non-strings</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0049' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0049'>Round tripping of lists that contain just IRIs</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0051' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0051'>Round tripping @list with scalar</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0052' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0052'>Round tripping @list with scalar and @graph alias</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0053' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0053'>Compact to @type: @vocab when no @type: @id term available</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0054' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0054'>Compact to @type: @vocab and compact @id to term</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0055' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0055'>Round tripping @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0056' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0056'>Prefer @type: @vocab over @type: @id for terms</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0057' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0057'>Complex round tripping @type: @vocab and @type: @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0058' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0058'>Prefer @type: @id over @type: @vocab for non-terms</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0059' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0059'>If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0060' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0060'>If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0061' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0061'>Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0062' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0062'>Relative IRIs don't round-trip with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0063' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0063'>Compact IRI round-tripping with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0064' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0064'>Compact language-tagged and indexed strings to index-map</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0065' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0065'>Language-tagged and indexed strings don't compact to language-map</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0066' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0066'>Relative IRIs</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0067' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#CompactTest'>
+ <td>
+ <a href='#test_t0067'>Compact reverse property whose values are unlabeled blank nodes</a>
+ </td>
+ </tr>
+ <tr class='summary'>
+ <td>
+ Percentage passed out of 65 Tests
+ </td>
+ </tr>
+ </table>
+ </section>
+ <section resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld' typeof='earl:Report mf:Manifest'>
+ <h2>JSON-LD to Expansion tests use object compare</h2>
+ <table class='report'>
+ <tr>
+ <th>
+ Test
+ </th>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0001' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0001'>drop free-floating nodes</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0002' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0002'>basic</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0003' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0003'>drop null and unmapped properties</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0004' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0004'>optimize @set, keep empty arrays</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0005' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0005'>do not expand aliased @id/@type</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0006' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0006'>alias keywords</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0007' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0007'>date type-coercion</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0008' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0008'>@value with @language</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0009' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0009'>@graph with terms</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0010' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0010'>native types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0011' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0011'>coerced @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0012' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0012'>@graph with embed</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0013' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0013'>expand already expanded</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0014' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0014'>@set of @value objects with keyword aliases</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0015' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0015'>collapse set of sets, keep empty lists</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0016' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0016'>context reset</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0017' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0017'>@graph and @id aliased</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0018' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0018'>override default @language in terms; only language-tag strings</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0019' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0019'>remove @value = null</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0020' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0020'>do not remove @graph if not at top-level</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0021' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0021'>do not remove @graph at top-level if not only property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0022' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0022'>expand value with default language</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0023' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0023'>Expanding lists and sets with properties having coercion coerces list/set values</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0024' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0024'>Multiple contexts</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0025' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0025'>Problematic IRI expansion tests</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0026' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0026'>Expanding term mapping to @type uses @type syntax</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0027' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0027'>Keep duplicate values in @list and @set</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0028' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0028'>Use @vocab in properties and @type but not in @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0029' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0029'>Relative IRIs</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0030' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0030'>Language maps</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0031' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0031'>type-coercion of native types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0032' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0032'>Mapping a term to null decouples it from @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0033' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0033'>Using @vocab with with type-coercion</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0034' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0034'>Multiple properties expanding to the same IRI</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0035' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0035'>Using language maps with @vocab, a default language, and a colliding property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0036' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0036'>Expanding @index</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0037' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0037'>Expanding @reverse</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0038' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0038'>Blank nodes are not relabeled during expansion.</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0039' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0039'>Using terms in a reverse-maps</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0040' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0040'>Only invoke language and index map expansion if the value is a JSON object</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0041' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0041'>Reset the default language</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0042' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0042'>Expanding reverse properties</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0043' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0043'>Using reverse properties inside a @reverse-container</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0044' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0044'>Ensure index maps use language mapping</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0045' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0045'>Top-level value objects are removed</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0046' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0046'>Free-floating nodes are removed</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0047' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0047'>Free-floating values in sets are removed, free-floating lists are removed completely</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0048' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0048'>Terms are ignored in @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0049' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0049'>Using strings as value of a reverse property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0050' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0050'>Context definitions using compact IRIs don't inherit the definitions of the prefix</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0051' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0051'>Expansion of keyword aliases in term definitions</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0052' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0052'>@vocab-relative IRIs in term definitions</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0053' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0053'>Expand absolute IRI with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0054' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0054'>Expand term with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0055' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0055'>Expand @vocab-relative term with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0056' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0056'>Use terms with @type: @vocab but not with @type: @id</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0057' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0057'>Expand relative IRI with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0058' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0058'>Expand compact IRI with @type: @vocab</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0059' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0059'>Reset @vocab by setting it to null</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0060' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0060'>Overwrite document base with @base and reset it again</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0061' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0061'>Various relative IRIs with with @base</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0062' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0062'>Expand a reverse property with an index-container</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0063' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0063'>Expand reverse property whose values are unlabeled blank nodes</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0064' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0064'>Keys that are not mapped to an IRI in a reverse-map are dropped</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0065' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0065'>Use @vocab to expand keys in reverse-maps</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0066' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0066'>prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0067' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ExpandTest'>
+ <td>
+ <a href='#test_t0067'>prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore</a>
+ </td>
+ </tr>
+ <tr class='summary'>
+ <td>
+ Percentage passed out of 67 Tests
+ </td>
+ </tr>
+ </table>
+ </section>
+ <section resource='http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld' typeof='earl:Report mf:Manifest'>
+ <h2>JSON-LD to Expansion tests use object compare</h2>
+ <table class='report'>
+ <tr>
+ <th>
+ Test
+ </th>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld#t0001' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ApiErrorTest'>
+ <td>
+ <a href='#test_t0001'>Keywords cannot be aliased to other keywords</a>
+ </td>
+ </tr>
+ <tr class='summary'>
+ <td>
+ Percentage passed out of 1 Tests
+ </td>
+ </tr>
+ </table>
+ </section>
+ <section resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld' typeof='earl:Report mf:Manifest'>
+ <h2>JSON-LD to RDF tests generate N-Quads Output</h2>
+ <table class='report'>
+ <tr>
+ <th>
+ Test
+ </th>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0001' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0001'>Plain literal with URIs</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0002' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0002'>Plain literal with CURIE from default context</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0003' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0003'>Default subject is BNode</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0004' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0004'>Literal with language tag</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0005' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0005'>Extended character set literal</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0006' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0006'>Typed literal</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0007' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0007'>Tests 'a' generates rdf:type and object is implicit IRI</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0008' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0008'>Test prefix defined in @context</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0009' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0009'>Test using an empty suffix</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0010' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0010'>Test object processing defines object</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0011' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0011'>Test object processing defines object with implicit BNode</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0012' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0012'>Multiple Objects for a Single Property</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0013' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0013'>Creation of an empty list</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0014' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0014'>Creation of a list with single element</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0015' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0015'>Creation of a list with multiple elements</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0016' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0016'>Empty IRI expands to resource location</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0017' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0017'>Relative IRI expands relative resource location</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0018' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0018'>Frag ID expands relative resource location</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0019' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0019'>Test type coercion to anyURI</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0020' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0020'>Test type coercion to typed literal</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0021' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0021'>Test coercion of double value</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0022' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0022'>Test coercion of integer value</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0023' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0023'>Test coercion of boolean value</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0024' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0024'>Test list coercion with single element</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0025' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0025'>Test creation of multiple types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0026' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0026'>Simple named graph (Wikidata)</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0027' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0027'>Simple named graph</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0028' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0028'>named graph with embedded named graph</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0029' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0029'>top-level graph with string subject reference</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0030' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#ToRDFTest'>
+ <td>
+ <a href='#test_t0030'>Reverse property</a>
+ </td>
+ </tr>
+ <tr class='summary'>
+ <td>
+ Percentage passed out of 30 Tests
+ </td>
+ </tr>
+ </table>
+ </section>
+ <section resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld' typeof='earl:Report mf:Manifest'>
+ <h2>RDF to JSON-LD tests take N-Quads Input</h2>
+ <table class='report'>
+ <tr>
+ <th>
+ Test
+ </th>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0001' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0001'>Object Lists</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0002' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0002'>Native Types</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0003' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0003'>BNodes and references</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0004' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0004'>Lists</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0005' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0005'>Document with list</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0006' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0006'>Two graphs having same subject but different values</a>
+ </td>
+ </tr>
+ <tr inlist='inlist' rel='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0007' typeof='earl:TestCriterion earl:TestCase http://json-ld.org/test-suite/vocab#FromRDFTest'>
+ <td>
+ <a href='#test_t0007'>Graph with multiple named graphs</a>
+ </td>
+ </tr>
+ <tr class='summary'>
+ <td>
+ Percentage passed out of 7 Tests
+ </td>
+ </tr>
+ </table>
+ </section>
+ </section>
+ <section class='appendix'>
+ <h2>
+ Test Subjects
+ </h2>
+ <p>
+ This report was tested using the following test subjects:
+ </p>
+ <dl>
+ </dl>
+ </section>
+ <section class='appendix' rel='earl:assertions'>
+ <h2>
+ Individual Test Results
+ </h2>
+ <p>
+ Individual test results used to construct this report are available here:
+ </p>
+ <ul>
+ <li>
+ <a class='source' href='earl.ttl'>earl.ttl</a>
+ </li>
+ <li>
+ <a class='source' href='empty-earl.ttl'>empty-earl.ttl</a>
+ </li>
+ </ul>
+ </section>
+ <section class='appendix'>
+ <h2>
+ Test Definitions
+ </h2>
+ <dl>
+ <div inlist='inlist' property='mf:entries' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld'>
+ <dt id='test_t0001' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001'>
+ Test
+ <span property='dc:title mf:name'>id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0001-in.jsonld' title='id Input'>{"@id": "http://example.org/test#example"}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0001-out.jsonld' title='id Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0002' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0002'>
+ Test
+ <span property='dc:title mf:name'>basic</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0002'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0002-in.jsonld' title='basic Input'>{<br/> "@context": {<br/> "t1": "http://example.com/t1",<br/> "t2": "http://example.com/t2",<br/> "term1": "http://example.com/term1",<br/> "term2": "http://example.com/term2",<br/> "term3": "http://example.com/term3",<br/> "term4": "http://example.com/term4",<br/> "term5": "http://example.com/term5"<br/> },<br/> "@id": "http://example.com/id1",<br/> "@type": "t1",<br/> "term1": "v1",<br/> "term2": {"@value": "v2", "@type": "t2"},<br/> "term3": {"@value": "v3", "@language": "en"},<br/> "term4": 4,<br/> "term5": [50, 51]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0002-out.jsonld' title='basic Result'>[<br/> {<br/> "@id": "http://example.com/id1",<br/> "@type": [<br/> "http://example.com/t1"<br/> ],<br/> "http://example.com/term1": [<br/> {<br/> "@value": "v1"<br/> }<br/> ],<br/> "http://example.com/term2": [<br/> {<br/> "@type": "http://example.com/t2",<br/> "@value": "v2"<br/> }<br/> ],<br/> "http://example.com/term3": [<br/> {<br/> "@language": "en",<br/> "@value": "v3"<br/> }<br/> ],<br/> "http://example.com/term4": [<br/> {<br/> "@value": 4<br/> }<br/> ],<br/> "http://example.com/term5": [<br/> {<br/> "@value": 50<br/> },<br/> {<br/> "@value": 51<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/t1"<br/> },<br/> {<br/> "@id": "http://example.com/t2"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0003' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003'>
+ Test
+ <span property='dc:title mf:name'>drop null and unmapped properties</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0003-in.jsonld' title='drop null and unmapped properties Input'>{<br/> "@id": "http://example.org/id",<br/> "http://example.org/property": null,<br/> "regularJson": {<br/> "nonJsonLd": "property",<br/> "deep": [{<br/> "foo": "bar"<br/> }, {<br/> "bar": "foo"<br/> }]<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0003-out.jsonld' title='drop null and unmapped properties Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0004' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0004'>
+ Test
+ <span property='dc:title mf:name'>optimize @set, keep empty arrays</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0004'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0004-in.jsonld' title='optimize @set, keep empty arrays Input'>{<br/> "@context": {<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"},<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set"},<br/> "myset3": {"@id": "http://example.com/myset3", "@container": "@set"}<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist1": { "@list": [ ] },<br/> "mylist2": "one item",<br/> "myset2": { "@set": [ ] },<br/> "myset3": [ "v1" ],<br/> "http://example.org/list1": { "@list": [ null ] },<br/> "http://example.org/list2": { "@list": [ {"@value": null} ] },<br/> "http://example.org/set1": { "@set": [ ] },<br/> "http://example.org/set1": { "@set": [ null ] },<br/> "http://example.org/set3": [ ],<br/> "http://example.org/set4": [ null ],<br/> "http://example.org/set5": "one item",<br/> "http://example.org/property": { "@list": "one item" }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0004-out.jsonld' title='optimize @set, keep empty arrays Result'>[<br/> {<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist1": [<br/> {<br/> "@list": [<br/><br/> ]<br/> }<br/> ],<br/> "http://example.com/mylist2": [<br/> {<br/> "@list": [<br/> {<br/> "@value": "one item"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/myset2": [<br/><br/> ],<br/> "http://example.com/myset3": [<br/> {<br/> "@value": "v1"<br/> }<br/> ],<br/> "http://example.org/list1": [<br/> {<br/> "@list": [<br/><br/> ]<br/> }<br/> ],<br/> "http://example.org/list2": [<br/> {<br/> "@list": [<br/><br/> ]<br/> }<br/> ],<br/> "http://example.org/property": [<br/> {<br/> "@list": [<br/> {<br/> "@value": "one item"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.org/set1": [<br/><br/> ],<br/> "http://example.org/set3": [<br/><br/> ],<br/> "http://example.org/set4": [<br/><br/> ],<br/> "http://example.org/set5": [<br/> {<br/> "@value": "one item"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0005' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0005'>
+ Test
+ <span property='dc:title mf:name'>do not expand aliased @id/@type</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0005'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0005-in.jsonld' title='do not expand aliased @id/@type Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepage": {<br/> "@id": "http://xmlns.com/foaf/0.1/homepage",<br/> "@type": "@id"<br/> },<br/> "know": "http://xmlns.com/foaf/0.1/knows",<br/> "@iri": "@id"<br/> },<br/> "@id": "#me",<br/> "know": [<br/> {<br/> "@id": "http://example.com/bob#me",<br/> "name": "Bob",<br/> "homepage": "http://example.com/bob"<br/> }, {<br/> "@id": "http://example.com/alice#me",<br/> "name": "Alice",<br/> "homepage": "http://example.com/alice"<br/> }<br/> ]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0005-out.jsonld' title='do not expand aliased @id/@type Result'>[<br/> {<br/> "@id": "http://example.com/alice"<br/> },<br/> {<br/> "@id": "http://example.com/alice#me",<br/> "http://xmlns.com/foaf/0.1/homepage": [<br/> {<br/> "@id": "http://example.com/alice"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Alice"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/bob"<br/> },<br/> {<br/> "@id": "http://example.com/bob#me",<br/> "http://xmlns.com/foaf/0.1/homepage": [<br/> {<br/> "@id": "http://example.com/bob"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Bob"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/flatten-0005-in.jsonld#me",<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/bob#me"<br/> },<br/> {<br/> "@id": "http://example.com/alice#me"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0006' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0006'>
+ Test
+ <span property='dc:title mf:name'>alias keywords</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0006'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0006-in.jsonld' title='alias keywords Input'>{<br/> "@context": {<br/> "http://example.org/test#property1": {<br/> "@type": "@id"<br/> },<br/> "http://example.org/test#property2": {<br/> "@type": "@id"<br/> },<br/> "uri": "@id"<br/> },<br/> "http://example.org/test#property1": {<br/> "http://example.org/test#property4": "foo",<br/> "uri": "http://example.org/test#example2"<br/> },<br/> "http://example.org/test#property2": "http://example.org/test#example3",<br/> "http://example.org/test#property3": {<br/> "uri": "http://example.org/test#example4"<br/> },<br/> "uri": "http://example.org/test#example1"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0006-out.jsonld' title='alias keywords Result'>[<br/> {<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/test#property1": [<br/> {<br/> "@id": "http://example.org/test#example2"<br/> }<br/> ],<br/> "http://example.org/test#property2": [<br/> {<br/> "@id": "http://example.org/test#example3"<br/> }<br/> ],<br/> "http://example.org/test#property3": [<br/> {<br/> "@id": "http://example.org/test#example4"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/test#property4": [<br/> {<br/> "@value": "foo"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#example3"<br/> },<br/> {<br/> "@id": "http://example.org/test#example4"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0007' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0007'>
+ Test
+ <span property='dc:title mf:name'>date type-coercion</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0007'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0007-in.jsonld' title='date type-coercion Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "ex:date": {<br/> "@type": "xsd:dateTime"<br/> },<br/> "ex:parent": {<br/> "@type": "@id"<br/> },<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test#example1",<br/> "ex:date": "2011-01-25T00:00:00Z",<br/> "ex:embed": {<br/> "@id": "http://example.org/test#example2",<br/> "ex:parent": "http://example.org/test#example1"<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0007-out.jsonld' title='date type-coercion Result'>[<br/> {<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/vocab#date": [<br/> {<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://www.w3.org/2001/XMLSchema#dateTime"<br/> }<br/> ],<br/> "http://example.org/vocab#embed": [<br/> {<br/> "@id": "http://example.org/test#example2"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/vocab#parent": [<br/> {<br/> "@id": "http://example.org/test#example1"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#dateTime"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0008' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0008'>
+ Test
+ <span property='dc:title mf:name'>@value with @language</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0008'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0008-in.jsonld' title='@value with @language Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#"<br/> },<br/> "@id": "http://example.org/test",<br/> "ex:test": { "@value": "test", "@language": "en" },<br/> "ex:drop-lang-only": { "@language": "en" },<br/> "ex:keep-full-value": { "@value": "only value" }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0008-out.jsonld' title='@value with @language Result'>[<br/> {<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#keep-full-value": [<br/> {<br/> "@value": "only value"<br/> }<br/> ],<br/> "http://example.org/vocab#test": [<br/> {<br/> "@language": "en",<br/> "@value": "test"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0009' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0009'>
+ Test
+ <span property='dc:title mf:name'>@graph with terms</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0009'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0009-in.jsonld' title='@graph with terms Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> }<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "authored": "http://example.org/test#chapter",<br/> "name": "Jane"<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0009-out.jsonld' title='@graph with terms Result'>[<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/contributor": [<br/> {<br/> "@value": "Writer"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "My Book"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "Fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter One"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Jane"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "John"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0010' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0010'>
+ Test
+ <span property='dc:title mf:name'>native types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0010'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0010-in.jsonld' title='native types Input'>{<br/> "@context": {<br/> "d": "http://purl.org/dc/elements/1.1/",<br/> "e": "http://example.org/vocab#",<br/> "f": "http://xmlns.com/foaf/0.1/",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test",<br/> "e:bool": true,<br/> "e:int": 123<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0010-out.jsonld' title='native types Result'>[<br/> {<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#bool": [<br/> {<br/> "@value": true<br/> }<br/> ],<br/> "http://example.org/vocab#int": [<br/> {<br/> "@value": 123<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0011' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0011'>
+ Test
+ <span property='dc:title mf:name'>coerced @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0011'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0011-in.jsonld' title='coerced @id Input'>{<br/> "@context": {<br/> "dc": "http://purl.org/dc/elements/1.1/",<br/> "ex": "http://example.org/vocab#",<br/> "ex:contains": {<br/> "@type": "@id"<br/> },<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test#book",<br/> "dc:title": "Title",<br/> "ex:contains": "http://example.org/test#chapter"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0011-out.jsonld' title='coerced @id Result'>[<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Title"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0012' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0012'>
+ Test
+ <span property='dc:title mf:name'>@graph with embed</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0012'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0012-in.jsonld' title='@graph with embed Input'>{<br/> "@context": {<br/> "dc": "http://purl.org/dc/elements/1.1/",<br/> "ex": "http://example.org/vocab#",<br/> "ex:authored": {<br/> "@type": "@id"<br/> },<br/> "ex:contains": {<br/> "@type": "@id"<br/> },<br/> "foaf": "http://xmlns.com/foaf/0.1/",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "dc:description": "Fun",<br/> "dc:title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "ex:authored": "http://example.org/test#chapter",<br/> "foaf:name": "Jane"<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "foaf:name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "ex:contains": {<br/> "@id": "http://example.org/test#book",<br/> "dc:contributor": "Writer",<br/> "dc:title": "My Book",<br/> "ex:contains": "http://example.org/test#chapter"<br/> }<br/> }<br/> ]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0012-out.jsonld' title='@graph with embed Result'>[<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/contributor": [<br/> {<br/> "@value": "Writer"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "My Book"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "Fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter One"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Jane"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "John"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0013' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0013'>
+ Test
+ <span property='dc:title mf:name'>flatten already expanded</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0013'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0013-in.jsonld' title='flatten already expanded Input'>[{<br/> "@id": "http://example.com/id1",<br/> "@type": ["http://example.com/t1"],<br/> "http://example.com/term1": ["v1"],<br/> "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}],<br/> "http://example.com/term3": [{"@value": "v3", "@language": "en"}],<br/> "http://example.com/term4": [4],<br/> "http://example.com/term5": [50, 51]<br/>}]</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0013-out.jsonld' title='flatten already expanded Result'>[<br/> {<br/> "@id": "http://example.com/id1",<br/> "@type": [<br/> "http://example.com/t1"<br/> ],<br/> "http://example.com/term1": [<br/> {<br/> "@value": "v1"<br/> }<br/> ],<br/> "http://example.com/term2": [<br/> {<br/> "@type": "http://example.com/t2",<br/> "@value": "v2"<br/> }<br/> ],<br/> "http://example.com/term3": [<br/> {<br/> "@language": "en",<br/> "@value": "v3"<br/> }<br/> ],<br/> "http://example.com/term4": [<br/> {<br/> "@value": 4<br/> }<br/> ],<br/> "http://example.com/term5": [<br/> {<br/> "@value": 50<br/> },<br/> {<br/> "@value": 51<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/t1"<br/> },<br/> {<br/> "@id": "http://example.com/t2"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0014' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0014'>
+ Test
+ <span property='dc:title mf:name'>@set of @value objects with keyword aliases</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0014'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0014-in.jsonld' title='@set of @value objects with keyword aliases Input'>{<br/> "@context": {<br/> "ex": "http://example.org/test#",<br/> "property1": {<br/> "@id": "http://example.org/test#property1",<br/> "@type": "@id"<br/> },<br/> "property2": {<br/> "@id": "ex:property2",<br/> "@type": "@id"<br/> },<br/> "uri": "@id",<br/> "set": "@set",<br/> "value": "@value",<br/> "type": "@type",<br/> "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" }<br/> },<br/> "property1": {<br/> "uri": "ex:example2",<br/> "http://example.org/test#property4": "foo"<br/> },<br/> "property2": "http://example.org/test#example3",<br/> "http://example.org/test#property3": {<br/> "uri": "http://example.org/test#example4"<br/> },<br/> "ex:property4": {<br/> "uri": "ex:example4",<br/> "ex:property5": [<br/> {<br/> "set": [<br/> {<br/> "value": "2012-03-31",<br/> "type": "xsd:date"<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> "ex:property6": [<br/> {<br/> "set": [<br/> {<br/> "value": null,<br/> "type": "xsd:date"<br/> }<br/> ]<br/> }<br/> ],<br/> "uri": "http://example.org/test#example1"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0014-out.jsonld' title='@set of @value objects with keyword aliases Result'>[<br/> {<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/test#property1": [<br/> {<br/> "@id": "http://example.org/test#example2"<br/> }<br/> ],<br/> "http://example.org/test#property2": [<br/> {<br/> "@id": "http://example.org/test#example3"<br/> }<br/> ],<br/> "http://example.org/test#property3": [<br/> {<br/> "@id": "http://example.org/test#example4"<br/> }<br/> ],<br/> "http://example.org/test#property4": [<br/> {<br/> "@id": "http://example.org/test#example4"<br/> }<br/> ],<br/> "http://example.org/test#property6": [<br/><br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/test#property4": [<br/> {<br/> "@value": "foo"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#example3"<br/> },<br/> {<br/> "@id": "http://example.org/test#example4",<br/> "http://example.org/test#property5": [<br/> {<br/> "@type": "http://www.w3.org/2001/XMLSchema#date",<br/> "@value": "2012-03-31"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0015' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0015'>
+ Test
+ <span property='dc:title mf:name'>collapse set of sets, keep empty lists</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0015'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0015-in.jsonld' title='collapse set of sets, keep empty lists Input'>{<br/> "@context": {<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"},<br/> "myset1": {"@id": "http://example.com/myset1", "@container": "@set" },<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set" },<br/> "myset3": {"@id": "http://example.com/myset3", "@container": "@set" }<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist1": [],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ],<br/> "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0015-out.jsonld' title='collapse set of sets, keep empty lists Result'>[<br/> {<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist1": [<br/> {<br/> "@list": [<br/><br/> ]<br/> }<br/> ],<br/> "http://example.com/myset1": [<br/><br/> ],<br/> "http://example.com/myset2": [<br/><br/> ],<br/> "http://example.com/myset3": [<br/> {<br/> "@value": "hello"<br/> },<br/> {<br/> "@value": "this"<br/> },<br/> {<br/> "@value": "will"<br/> },<br/> {<br/> "@value": "be"<br/> },<br/> {<br/> "@value": "collapsed"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0016' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0016'>
+ Test
+ <span property='dc:title mf:name'>context reset</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0016'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0016-in.jsonld' title='context reset Input'>{<br/> "@context": {<br/> "myproperty": { "@id": "http://example.com/myproperty" },<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"},<br/> "myset1": {"@id": "http://example.com/myset1", "@container": "@set" },<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }<br/> },<br/> "@id": "http://example.org/id1",<br/> "mylist1": [],<br/> "mylist2": [ 2, "hi" ],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ],<br/> "myproperty": {<br/> "@context": null,<br/> "@id": "http://example.org/id2",<br/> "mylist1": [],<br/> "mylist2": [ 2, "hi" ],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ],<br/> "http://example.org/myproperty2": "ok"<br/> },<br/> "http://example.com/emptyobj": {<br/> "@context": null,<br/> "mylist1": [],<br/> "mylist2": [ 2, "hi" ],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0016-out.jsonld' title='context reset Result'>[<br/> {<br/> "@id": "_:b0"<br/> },<br/> {<br/> "@id": "http://example.org/id1",<br/> "http://example.com/emptyobj": [<br/> {<br/> "@id": "_:b0"<br/> }<br/> ],<br/> "http://example.com/mylist1": [<br/> {<br/> "@list": [<br/><br/> ]<br/> }<br/> ],<br/> "http://example.com/mylist2": [<br/> {<br/> "@list": [<br/> {<br/> "@value": 2<br/> },<br/> {<br/> "@value": "hi"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/myproperty": [<br/> {<br/> "@id": "http://example.org/id2"<br/> }<br/> ],<br/> "http://example.com/myset1": [<br/><br/> ],<br/> "http://example.com/myset2": [<br/><br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/id2",<br/> "http://example.org/myproperty2": [<br/> {<br/> "@value": "ok"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0017' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0017'>
+ Test
+ <span property='dc:title mf:name'>@graph and @id aliased</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0017'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0017-in.jsonld' title='@graph and @id aliased Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> },<br/> "id": "@id",<br/> "data": "@graph"<br/> },<br/> "data": [<br/> {<br/> "id": "http://example.org/test#chapter",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "authored": "http://example.org/test#chapter",<br/> "name": "Jane"<br/> },<br/> {<br/> "id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0017-out.jsonld' title='@graph and @id aliased Result'>[<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/contributor": [<br/> {<br/> "@value": "Writer"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "My Book"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "Fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter One"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Jane"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "John"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0018' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0018'>
+ Test
+ <span property='dc:title mf:name'>override default @language in terms; only language-tag strings</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0018'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0018-in.jsonld' title='override default @language in terms; only language-tag strings Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "@language": "en",<br/> "de": { "@id": "ex:german", "@language": "de" },<br/> "nolang": { "@id": "ex:nolang", "@language": null }<br/> },<br/> "@id": "http://example.org/test",<br/> "ex:test-default": [<br/> "hello",<br/> 1,<br/> true<br/> ],<br/> "de": [<br/> "hallo",<br/> 2,<br/> true<br/> ],<br/> "nolang": [<br/> "no language",<br/> 3,<br/> false<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0018-out.jsonld' title='override default @language in terms; only language-tag strings Result'>[<br/> {<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#german": [<br/> {<br/> "@value": "hallo",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": 2<br/> },<br/> {<br/> "@value": true<br/> }<br/> ],<br/> "http://example.org/vocab#nolang": [<br/> {<br/> "@value": "no language"<br/> },<br/> {<br/> "@value": 3<br/> },<br/> {<br/> "@value": false<br/> }<br/> ],<br/> "http://example.org/vocab#test-default": [<br/> {<br/> "@value": "hello",<br/> "@language": "en"<br/> },<br/> {<br/> "@value": 1<br/> },<br/> {<br/> "@value": true<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0019' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0019'>
+ Test
+ <span property='dc:title mf:name'>remove @value = null</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0019'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0019-in.jsonld' title='remove @value = null Input'>{<br/> "@context": {<br/> "myproperty": "http://example.com/myproperty"<br/> },<br/> "myproperty": { "@value" : null }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0019-out.jsonld' title='remove @value = null Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0020' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0020'>
+ Test
+ <span property='dc:title mf:name'>do not remove @graph if not at top-level</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0020'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0020-in.jsonld' title='do not remove @graph if not at top-level Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> }<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "name": "Jane",<br/> "authored": {<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "description": "More fun",<br/> "title": "Chapter Two"<br/> }<br/> ]<br/> }<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0020-out.jsonld' title='do not remove @graph if not at top-level Result'>[<br/> {<br/> "@id": "_:b0",<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "Fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter One"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "More fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter Two"<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/contributor": [<br/> {<br/> "@value": "Writer"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "My Book"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@id": "_:b0"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Jane"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "John"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0021' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0021'>
+ Test
+ <span property='dc:title mf:name'>do not remove @graph at top-level if not only property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0021'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0021-in.jsonld' title='do not remove @graph at top-level if not only property Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> }<br/> },<br/> "title": "My first graph",<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "name": "Jane",<br/> "authored": {<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "description": "More fun",<br/> "title": "Chapter Two"<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter3",<br/> "title": "Chapter Three"<br/> }<br/> ]<br/> }<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0021-out.jsonld' title='do not remove @graph at top-level if not only property Result'>[<br/> {<br/> "@id": "_:b0",<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "My first graph"<br/> }<br/> ],<br/> "@graph": [<br/> {<br/> "@id": "_:b1"<br/> },<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/contributor": [<br/> {<br/> "@value": "Writer"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "My Book"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@id": "_:b1"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Jane"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "John"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book"<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:b1",<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "Fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter One"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "http://purl.org/dc/elements/1.1/description": [<br/> {<br/> "@value": "More fun"<br/> }<br/> ],<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter Two"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter3",<br/> "http://purl.org/dc/elements/1.1/title": [<br/> {<br/> "@value": "Chapter Three"<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0022' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0022'>
+ Test
+ <span property='dc:title mf:name'>flatten value with default language</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0022'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0022-in.jsonld' title='flatten value with default language Input'>{<br/> "@context": {<br/> "term": "http://example.com/term",<br/> "@language": "en"<br/> },<br/> "term": "v"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0022-out.jsonld' title='flatten value with default language Result'>[<br/> {<br/> "@id": "_:b0",<br/> "http://example.com/term": [<br/> {<br/> "@value": "v",<br/> "@language": "en"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0023' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0023'>
+ Test
+ <span property='dc:title mf:name'>Flattening lists and sets with properties having coercion coerces list/set values</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0023'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0023-in.jsonld' title='Flattening lists and sets with properties having coercion coerces list/set values Input'>{<br/> "@context": {<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"},<br/> "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"},<br/> "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"},<br/> "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"},<br/> "idprop": {"@id": "http://example.com/idprop", "@type": "@id" },<br/> "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" },<br/> "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" },<br/> "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" }<br/> },<br/> "idlist": ["http://example.org/id"],<br/> "datelist": ["2012-04-12"],<br/> "idprop": {"@list": ["http://example.org/id"]},<br/> "dateprop": {"@list": ["2012-04-12"]},<br/> "idset": ["http://example.org/id"],<br/> "dateset": ["2012-04-12"],<br/> "idprop2": {"@set": ["http://example.org/id"]},<br/> "dateprop2": {"@set": ["2012-04-12"]}<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0023-out.jsonld' title='Flattening lists and sets with properties having coercion coerces list/set values Result'>[<br/> {<br/> "@id": "_:b0",<br/> "http://example.com/datelist": [<br/> {<br/> "@list": [<br/> {<br/> "@value": "2012-04-12",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/dateprop": [<br/> {<br/> "@list": [<br/> {<br/> "@value": "2012-04-12",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/dateprop2": [<br/> {<br/> "@value": "2012-04-12",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> ],<br/> "http://example.com/dateset": [<br/> {<br/> "@value": "2012-04-12",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> ],<br/> "http://example.com/idlist": [<br/> {<br/> "@list": [<br/> {<br/> "@id": "http://example.org/id"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/idprop": [<br/> {<br/> "@list": [<br/> {<br/> "@id": "http://example.org/id"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/idprop2": [<br/> {<br/> "@id": "http://example.org/id"<br/> }<br/> ],<br/> "http://example.com/idset": [<br/> {<br/> "@id": "http://example.org/id"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/id"<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0024' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0024'>
+ Test
+ <span property='dc:title mf:name'>Multiple contexts</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0024'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0024-in.jsonld' title='Multiple contexts Input'>{<br/> "@context": [<br/> {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"}<br/> },<br/> {"ical": "http://www.w3.org/2002/12/cal/ical#"}<br/> ],<br/> "@id": "http://example.com/speakers#Alice",<br/> "name": "Alice",<br/> "homepage": "http://xkcd.com/177/",<br/> "ical:summary": "Alice Talk",<br/> "ical:location": "Lyon Convention Centre, Lyon, France"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0024-out.jsonld' title='Multiple contexts Result'>[<br/> {<br/> "@id": "http://example.com/speakers#Alice",<br/> "http://www.w3.org/2002/12/cal/ical#location": [<br/> {<br/> "@value": "Lyon Convention Centre, Lyon, France"<br/> }<br/> ],<br/> "http://www.w3.org/2002/12/cal/ical#summary": [<br/> {<br/> "@value": "Alice Talk"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/homepage": [<br/> {<br/> "@id": "http://xkcd.com/177/"<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Alice"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://xkcd.com/177/"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0025' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0025'>
+ Test
+ <span property='dc:title mf:name'>Problematic IRI flattening tests</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0025'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0025-in.jsonld' title='Problematic IRI flattening tests Input'>{<br/> "@context": {<br/> "foo": "http://example.com/foo/",<br/> "foo:bar": "http://example.com/bar",<br/> "bar": {"@id": "foo:bar", "@type": "@id"},<br/> "_": "http://example.com/underscore/"<br/> },<br/> "@type": ["foo", "foo:bar", "_"]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0025-out.jsonld' title='Problematic IRI flattening tests Result'>[<br/> {<br/> "@id": "_:b0",<br/> "@type": [<br/> "http://example.com/foo/",<br/> "http://example.com/bar",<br/> "http://example.com/underscore/"<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/bar"<br/> },<br/> {<br/> "@id": "http://example.com/foo/"<br/> },<br/> {<br/> "@id": "http://example.com/underscore/"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0026' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0026'>
+ Test
+ <span property='dc:title mf:name'>Flattening term mapping to @type uses @type syntax</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0026'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0026-in.jsonld' title='Flattening term mapping to @type uses @type syntax Input'>{<br/> "@context": {<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"}<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/a",<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b"<br/> }, {<br/> "@id": "http://example.com/c",<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [<br/> "http://example.com/d",<br/> "http://example.com/e"<br/> ]<br/> }, {<br/> "@id": "http://example.com/f",<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0026-out.jsonld' title='Flattening term mapping to @type uses @type syntax Result'>[<br/> {<br/> "@id": "http://example.com/a",<br/> "@type": [<br/> "http://example.com/b"<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/b"<br/> },<br/> {<br/> "@id": "http://example.com/c",<br/> "@type": [<br/> "http://example.com/d",<br/> "http://example.com/e"<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/d"<br/> },<br/> {<br/> "@id": "http://example.com/e"<br/> },<br/> {<br/> "@id": "http://example.com/f",<br/> "@type": [<br/> "http://example.com/g"<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/g"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0027' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0027'>
+ Test
+ <span property='dc:title mf:name'>Keep duplicate values in @list but remove them in @set</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0027'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0027-in.jsonld' title='Keep duplicate values in @list but remove them in @set Input'>{<br/> "@context": {<br/> "mylist": {"@id": "http://example.com/mylist", "@container": "@list"},<br/> "myset": {"@id": "http://example.com/myset", "@container": "@set"}<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist": [1, 2, 2, 3],<br/> "myset": [1, 2, 2, 3]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0027-out.jsonld' title='Keep duplicate values in @list but remove them in @set Result'>[<br/> {<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist": [<br/> {<br/> "@list": [<br/> {<br/> "@value": 1<br/> },<br/> {<br/> "@value": 2<br/> },<br/> {<br/> "@value": 2<br/> },<br/> {<br/> "@value": 3<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.com/myset": [<br/> {<br/> "@value": 1<br/> },<br/> {<br/> "@value": 2<br/> },<br/> {<br/> "@value": 3<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0028' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0028'>
+ Test
+ <span property='dc:title mf:name'>Use @vocab in properties and @type but not in @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0028'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0028-in.jsonld' title='Use @vocab in properties and @type but not in @id Input'>{<br/> "@context": {<br/> "@vocab": "http://example.org/vocab#",<br/> "date": { "@type": "dateTime" }<br/> },<br/> "@id": "example1",<br/> "@type": "test",<br/> "date": "2011-01-25T00:00:00Z",<br/> "embed": {<br/> "@id": "example2",<br/> "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0028-out.jsonld' title='Use @vocab in properties and @type but not in @id Result'>[<br/> {<br/> "@id": "http://example.org/vocab#dateTime"<br/> },<br/> {<br/> "@id": "http://example.org/vocab#test"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example1",<br/> "@type": [<br/> "http://example.org/vocab#test"<br/> ],<br/> "http://example.org/vocab#date": [<br/> {<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://example.org/vocab#dateTime"<br/> }<br/> ],<br/> "http://example.org/vocab#embed": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example2"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example2",<br/> "http://example.org/vocab#expandedDate": [<br/> {<br/> "@type": "http://example.org/vocab#dateTime",<br/> "@value": "2012-08-01T00:00:00Z"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0029' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0029'>
+ Test
+ <span property='dc:title mf:name'>Relative IRIs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0029'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld' title='Relative IRIs Input'>{<br/> "@context": {<br/> "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" }<br/> },<br/> "@id": "relativeIris",<br/> "@type": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../../parent-parent-eq-root",<br/> "../../../../../still-root",<br/> "../.././.././../../too-many-dots",<br/> "/absolute",<br/> "//example.org/scheme-relative"<br/> ],<br/> "links": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../../parent-parent-eq-root",<br/> "./../../../useless/../../../still-root",<br/> "../.././.././../../too-many-dots",<br/> "/absolute",<br/> "//example.org/scheme-relative"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0029-out.jsonld' title='Relative IRIs Result'>[<br/> {<br/> "@id": "http://example.org/scheme-relative"<br/> },<br/> {<br/> "@id": "http://json-ld.org/absolute"<br/> },<br/> {<br/> "@id": "http://json-ld.org/parent-parent-eq-root"<br/> },<br/> {<br/> "@id": "http://json-ld.org/still-root"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/parent"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/link"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relativeIris",<br/> "@type": [<br/> "http://json-ld.org/test-suite/tests/link",<br/> "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works",<br/> "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works",<br/> "http://json-ld.org/test-suite/tests/",<br/> "http://json-ld.org/test-suite/",<br/> "http://json-ld.org/test-suite/parent",<br/> "http://json-ld.org/parent-parent-eq-root",<br/> "http://json-ld.org/still-root",<br/> "http://json-ld.org/too-many-dots",<br/> "http://json-ld.org/absolute",<br/> "http://example.org/scheme-relative"<br/> ],<br/> "http://www.example.com/link": [<br/> {<br/> "@list": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/link"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/parent"<br/> },<br/> {<br/> "@id": "http://json-ld.org/parent-parent-eq-root"<br/> },<br/> {<br/> "@id": "http://json-ld.org/still-root"<br/> },<br/> {<br/> "@id": "http://json-ld.org/too-many-dots"<br/> },<br/> {<br/> "@id": "http://json-ld.org/absolute"<br/> },<br/> {<br/> "@id": "http://example.org/scheme-relative"<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/too-many-dots"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0030' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0030'>
+ Test
+ <span property='dc:title mf:name'>Language maps</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0030'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0030-in.jsonld' title='Language maps Input'>{<br/> "@context": {<br/> "vocab": "http://example.com/vocab/",<br/> "label": {<br/> "@id": "vocab:label",<br/> "@container": "@language"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": {<br/> "en": "The Queen",<br/> "de": [ "Die Königin", "Ihre Majestät" ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0030-out.jsonld' title='Language maps Result'>[<br/> {<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label": [<br/> {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0031' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0031'>
+ Test
+ <span property='dc:title mf:name'>type-coercion of native types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0031'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0031-in.jsonld' title='type-coercion of native types Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "ex:integer": { "@type": "xsd:integer" },<br/> "ex:double": { "@type": "xsd:double" },<br/> "ex:boolean": { "@type": "xsd:boolean" }<br/> },<br/> "@id": "http://example.org/test#example1",<br/> "ex:integer": 1,<br/> "ex:double": 123.45,<br/> "ex:boolean": true<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0031-out.jsonld' title='type-coercion of native types Result'>[<br/> {<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/vocab#boolean": [<br/> {<br/> "@value": true,<br/> "@type": "http://www.w3.org/2001/XMLSchema#boolean"<br/> }<br/> ],<br/> "http://example.org/vocab#double": [<br/> {<br/> "@value": 123.45,<br/> "@type": "http://www.w3.org/2001/XMLSchema#double"<br/> }<br/> ],<br/> "http://example.org/vocab#integer": [<br/> {<br/> "@value": 1,<br/> "@type": "http://www.w3.org/2001/XMLSchema#integer"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#boolean"<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#double"<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#integer"<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0032' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0032'>
+ Test
+ <span property='dc:title mf:name'>Mapping a term to null decouples it from @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0032'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0032-in.jsonld' title='Mapping a term to null decouples it from @vocab Input'>{<br/> "@context": {<br/> "@vocab": "http://xmlns.com/foaf/0.1/",<br/> "from": null,<br/> "university": { "@id": null }<br/> },<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "from": "Italy",<br/> "university": "TU Graz"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0032-out.jsonld' title='Mapping a term to null decouples it from @vocab Result'>[<br/> {<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Markus Lanthaler"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0033' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0033'>
+ Test
+ <span property='dc:title mf:name'>Using @vocab with with type-coercion</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0033'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0033-in.jsonld' title='Using @vocab with with type-coercion Input'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab#",<br/> "homepage": {<br/> "@type": "@id"<br/> },<br/> "created_at": {<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> },<br/> "name": "Markus Lanthaler",<br/> "homepage": "http://www.markus-lanthaler.com/",<br/> "created_at": "2012-10-28"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0033-out.jsonld' title='Using @vocab with with type-coercion Result'>[<br/> {<br/> "@id": "_:b0",<br/> "http://example.com/vocab#created_at": [<br/> {<br/> "@value": "2012-10-28",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> ],<br/> "http://example.com/vocab#homepage": [<br/> {<br/> "@id": "http://www.markus-lanthaler.com/"<br/> }<br/> ],<br/> "http://example.com/vocab#name": [<br/> {<br/> "@value": "Markus Lanthaler"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://www.markus-lanthaler.com/"<br/> },<br/> {<br/> "@id": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0034' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0034'>
+ Test
+ <span property='dc:title mf:name'>Multiple properties expanding to the same IRI</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0034'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0034-in.jsonld' title='Multiple properties expanding to the same IRI Input'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab/",<br/> "colliding": "http://example.com/vocab/collidingTerm"<br/> },<br/> "@id": "http://example.com/IriCollissions",<br/> "colliding": [<br/> "value 1",<br/> 2<br/> ],<br/> "collidingTerm": [<br/> 3,<br/> "four"<br/> ],<br/> "http://example.com/vocab/collidingTerm": 5<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0034-out.jsonld' title='Multiple properties expanding to the same IRI Result'>[<br/> {<br/> "@id": "http://example.com/IriCollissions",<br/> "http://example.com/vocab/collidingTerm": [<br/> {<br/> "@value": "value 1"<br/> },<br/> {<br/> "@value": 2<br/> },<br/> {<br/> "@value": 3<br/> },<br/> {<br/> "@value": "four"<br/> },<br/> {<br/> "@value": 5<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0035' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0035'>
+ Test
+ <span property='dc:title mf:name'>Using language maps with @vocab, a default language, and a colliding property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0035'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0035-in.jsonld' title='Using language maps with @vocab, a default language, and a colliding property Input'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab/",<br/> "@language": "it",<br/> "label": {<br/> "@container": "@language"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": {<br/> "en": "The Queen",<br/> "de": [ "Die Königin", "Ihre Majestät" ]<br/> },<br/> "http://example.com/vocab/label": [<br/> "Il re",<br/> { "@value": "The king", "@language": "en" }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0035-out.jsonld' title='Using language maps with @vocab, a default language, and a colliding property Result'>[<br/> {<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label": [<br/> {<br/> "@value": "Il re",<br/> "@language": "it"<br/> },<br/> {<br/> "@language": "en",<br/> "@value": "The king"<br/> },<br/> {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0036' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0036'>
+ Test
+ <span property='dc:title mf:name'>Flattening @index</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0036'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0036-in.jsonld' title='Flattening @index Input'>{<br/> "@context": {<br/> "property": "http://example.com/property",<br/> "indexContainer": { "@id": "http://example.com/container", "@container": "@index" }<br/> },<br/> "@id": "http://example.org/indexTest",<br/> "indexContainer": {<br/> "A": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexA",<br/> "@index": "this overrides the 'A' index from the container"<br/> },<br/> 1,<br/> true,<br/> false,<br/> null,<br/> "simple string A",<br/> {<br/> "@value": "typed literal A",<br/> "@type": "http://example.org/type"<br/> },<br/> {<br/> "@value": "language-tagged string A",<br/> "@language": "en"<br/> }<br/> ],<br/> "B": "simple string B",<br/> "C": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexC",<br/> "@index": "this overrides the 'C' index from the container"<br/> },<br/> 3,<br/> true,<br/> false,<br/> null,<br/> "simple string C",<br/> {<br/> "@value": "typed literal C",<br/> "@type": "http://example.org/type"<br/> },<br/> {<br/> "@value": "language-tagged string C",<br/> "@language": "en"<br/> }<br/> ]<br/> },<br/> "property": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": null,<br/> "@index": "prop"<br/> },<br/> "simple string no index",<br/> {<br/> "@value": "typed literal Prop",<br/> "@type": "http://example.org/type",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "language-tagged string Prop",<br/> "@language": "en",<br/> "@index": "prop"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0036-out.jsonld' title='Flattening @index Result'>[<br/> {<br/> "@id": "http://example.org/indexTest",<br/> "http://example.com/container": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexA"<br/> },<br/> {<br/> "@value": 1,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "simple string A",<br/> "@index": "A"<br/> },<br/> {<br/> "@type": "http://example.org/type",<br/> "@value": "typed literal A",<br/> "@index": "A"<br/> },<br/> {<br/> "@language": "en",<br/> "@value": "language-tagged string A",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "simple string B",<br/> "@index": "B"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexC"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "simple string C",<br/> "@index": "C"<br/> },<br/> {<br/> "@type": "http://example.org/type",<br/> "@value": "typed literal C",<br/> "@index": "C"<br/> },<br/> {<br/> "@language": "en",<br/> "@value": "language-tagged string C",<br/> "@index": "C"<br/> }<br/> ],<br/> "http://example.com/property": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp"<br/> },<br/> {<br/> "@index": "prop",<br/> "@value": 3<br/> },<br/> {<br/> "@index": "prop",<br/> "@value": true<br/> },<br/> {<br/> "@index": "prop",<br/> "@value": false<br/> },<br/> {<br/> "@value": "simple string no index"<br/> },<br/> {<br/> "@index": "prop",<br/> "@type": "http://example.org/type",<br/> "@value": "typed literal Prop"<br/> },<br/> {<br/> "@index": "prop",<br/> "@language": "en",<br/> "@value": "language-tagged string Prop"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexA",<br/> "@index": "this overrides the 'A' index from the container"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexC",<br/> "@index": "this overrides the 'C' index from the container"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp",<br/> "@index": "prop"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA",<br/> "@index": "A"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC",<br/> "@index": "C"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/type"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0037' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0037'>
+ Test
+ <span property='dc:title mf:name'>Flattening reverse properties</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0037'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0037-in.jsonld' title='Flattening reverse properties Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave"<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg"<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0037-out.jsonld' title='Flattening reverse properties Result'>[<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0038' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0038'>
+ Test
+ <span property='dc:title mf:name'>Ensure all blank nodes are relabeled when flattening.</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0038'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0038-in.jsonld' title='Ensure all blank nodes are relabeled when flattening. Input'>{<br/> "@context": {<br/> "term": "_:term",<br/> "termId": { "@id": "term", "@type": "@id" },<br/> "termTyped": { "@id": "term", "@type": "_:term" }<br/> },<br/> "@id": "_:term",<br/> "@type": "_:term",<br/> "term": [<br/> {<br/> "@id": "_:term",<br/> "@type": "term",<br/> "termTyped": "typed value term"<br/> },<br/> {<br/> "@id": "_:Bx",<br/> "term": "term"<br/> },<br/> "plain value",<br/> {<br/> "@id": "_:term"<br/> },<br/> {<br/> "@value": "term: typed value with type set to bnode",<br/> "@type": "_:term"<br/> },<br/> {<br/> "@value": "term: typed value with type set to term",<br/> "@type": "term"<br/> }<br/> ],<br/> "termId": [<br/> {<br/> "@id": "_:term",<br/> "@type": "term",<br/> "termTyped": "typed value termId"<br/> },<br/> {<br/> "@id": "_:Cx",<br/> "term": "termId"<br/> },<br/> "term:AppendedToBlankNode",<br/> "relativeIri",<br/> {<br/> "@id": "_:term"<br/> },<br/> {<br/> "@value": "termId: typed value with type set to bnode",<br/> "@type": "_:term"<br/> },<br/> {<br/> "@value": "termId: typed value with type set to term",<br/> "@type": "term"<br/> }<br/> ],<br/> "termTyped": [<br/> "termTyped: value"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0038-out.jsonld' title='Ensure all blank nodes are relabeled when flattening. Result'>[<br/> {<br/> "@id": "_:b0",<br/> "@type": [<br/> "_:b0"<br/> ],<br/> "_:b0": [<br/> {<br/> "@id": "_:b0"<br/> },<br/> {<br/> "@value": "typed value term",<br/> "@type": "_:b0"<br/> },<br/> {<br/> "@id": "_:b1"<br/> },<br/> {<br/> "@value": "plain value"<br/> },<br/> {<br/> "@type": "_:b0",<br/> "@value": "term: typed value with type set to bnode"<br/> },<br/> {<br/> "@type": "_:b0",<br/> "@value": "term: typed value with type set to term"<br/> },<br/> {<br/> "@value": "typed value termId",<br/> "@type": "_:b0"<br/> },<br/> {<br/> "@id": "_:b2"<br/> },<br/> {<br/> "@id": "_:b3"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relativeIri"<br/> },<br/> {<br/> "@type": "_:b0",<br/> "@value": "termId: typed value with type set to bnode"<br/> },<br/> {<br/> "@type": "_:b0",<br/> "@value": "termId: typed value with type set to term"<br/> },<br/> {<br/> "@value": "termTyped: value",<br/> "@type": "_:b0"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:b1",<br/> "_:b0": [<br/> {<br/> "@value": "term"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:b2",<br/> "_:b0": [<br/> {<br/> "@value": "termId"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:b3"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relativeIri"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0039' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0039'>
+ Test
+ <span property='dc:title mf:name'>Flattening reverse properties using blank nodes</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0039'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0039-in.jsonld' title='Flattening reverse properties using blank nodes Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "http://xmlns.com/foaf/0.1/name": "Dave Longley"<br/> },<br/> {<br/> "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0039-out.jsonld' title='Flattening reverse properties using blank nodes Result'>[<br/> {<br/> "@id": "_:b0",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ],<br/> "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ]<br/> },<br/> {<br/> "@id": "_:b1",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ],<br/> "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0040' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0040'>
+ Test
+ <span property='dc:title mf:name'>Only invoke language and index map expansion if the value is a JSON object</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0040'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0040-in.jsonld' title='Only invoke language and index map expansion if the value is a JSON object Input'>{<br/> "@context": {<br/> "vocab": "http://example.com/vocab/",<br/> "label": {<br/> "@id": "vocab:label",<br/> "@container": "@language"<br/> },<br/> "indexes": {<br/> "@id": "vocab:index",<br/> "@container": "@index"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": [<br/> "The Queen"<br/> ],<br/> "indexes":<br/> [<br/> "No",<br/> "indexes",<br/> { "@id": "asTheValueIsntAnObject" }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0040-out.jsonld' title='Only invoke language and index map expansion if the value is a JSON object Result'>[<br/> {<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/index": [<br/> {<br/> "@value": "No"<br/> },<br/> {<br/> "@value": "indexes"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject"<br/> }<br/> ],<br/> "http://example.com/vocab/label": [<br/> {<br/> "@value": "The Queen"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0041' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0041'>
+ Test
+ <span property='dc:title mf:name'>Free-floating sets and lists</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0041'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0041-in.jsonld' title='Free-floating sets and lists Input'>{<br/> "@context": {<br/> "property": "http://example.com/property"<br/> },<br/> "@graph": [<br/> {<br/> "@set": [<br/> "free-floating strings in set objects are removed",<br/> {<br/> "@id": "http://example.com/free-floating-node"<br/> },<br/> {<br/> "@id": "http://example.com/node",<br/> "property": "nodes with properties are not removed"<br/> }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> "lists are removed even though they represent an invisible linked structure, they have no real meaning"<br/> ]<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0041-out.jsonld' title='Free-floating sets and lists Result'>[<br/> {<br/> "@id": "http://example.com/node",<br/> "http://example.com/property": [<br/> {<br/> "@value": "nodes with properties are not removed"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0042' resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0042'>
+ Test
+ <span property='dc:title mf:name'>Lists objects are implicit unlabeled blank nodes and thus never equivalent</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0042'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/flatten-0042-in.jsonld' title='Lists objects are implicit unlabeled blank nodes and thus never equivalent Input'>{<br/> "@context": {<br/> "test": "http://example.com/list"<br/> },<br/> "@id": "list-equivalence-test",<br/> "test": [<br/> { "@list": [ "1", "2" ] },<br/> { "@list": [ "1", "2" ] }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/flatten-0042-out.jsonld' title='Lists objects are implicit unlabeled blank nodes and thus never equivalent Result'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/list-equivalence-test",<br/> "http://example.com/list": [<br/> {<br/> "@list": [ { "@value": "1" }, { "@value": "2" } ]<br/> },<br/> {<br/> "@list": [ { "@value": "1" }, { "@value": "2" } ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ </div>
+ <div inlist='inlist' property='mf:entries' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld'>
+ <dt id='test_t0001' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0001'>
+ Test
+ <span property='dc:title mf:name'>drop free-floating nodes</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0001'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0001-in.jsonld' title='drop free-floating nodes Input'>{"@id": "http://example.org/test#example"}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0001-out.jsonld' title='drop free-floating nodes Result'>{}</pre>
+ </dd>
+ <dt id='test_t0002' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0002'>
+ Test
+ <span property='dc:title mf:name'>basic</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0002'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0002-in.jsonld' title='basic Input'>[{<br/> "@id": "http://example.com/id1",<br/> "@type": ["http://example.com/t1"],<br/> "http://example.com/term1": ["v1"],<br/> "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}],<br/> "http://example.com/term3": [{"@value": "v3", "@language": "en"}],<br/> "http://example.com/term4": [4],<br/> "http://example.com/term5": [50, 51]<br/>}]</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0002-out.jsonld' title='basic Result'>{<br/> "@context": {<br/> "t1": "http://example.com/t1",<br/> "t2": "http://example.com/t2",<br/> "term1": "http://example.com/term1",<br/> "term2": "http://example.com/term2",<br/> "term3": "http://example.com/term3",<br/> "term4": "http://example.com/term4",<br/> "term5": "http://example.com/term5"<br/> },<br/> "@id": "http://example.com/id1",<br/> "@type": "t1",<br/> "term1": "v1",<br/> "term2": {"@value": "v2", "@type": "t2"},<br/> "term3": {"@value": "v3", "@language": "en"},<br/> "term4": 4,<br/> "term5": [50, 51]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0003' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0003'>
+ Test
+ <span property='dc:title mf:name'>drop null and unmapped properties</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0003'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0003-in.jsonld' title='drop null and unmapped properties Input'>{<br/> "@id": "http://example.org/id",<br/> "http://example.org/property": null,<br/> "regularJson": {<br/> "nonJsonLd": "property",<br/> "deep": [{<br/> "foo": "bar"<br/> }, {<br/> "bar": "foo"<br/> }]<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0003-out.jsonld' title='drop null and unmapped properties Result'>{}</pre>
+ </dd>
+ <dt id='test_t0004' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0004'>
+ Test
+ <span property='dc:title mf:name'>optimize @set, keep empty arrays</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0004'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0004-in.jsonld' title='optimize @set, keep empty arrays Input'>{<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist1": {"@list": []},<br/> "http://example.com/myset2": {"@set": []},<br/> "http://example.com/myset3": "v1",<br/> "http://example.org/list1": {"@list": []},<br/> "http://example.org/list2": {"@list": [null]},<br/> "http://example.org/set1": {"@set": []},<br/> "http://example.org/set2": {"@set": [null]},<br/> "http://example.org/set3": [],<br/> "http://example.org/set4": [null]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0004-out.jsonld' title='optimize @set, keep empty arrays Result'>{<br/> "@context": {<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set"},<br/> "myset3": {"@id": "http://example.com/myset3", "@container": "@set"}<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist1": [],<br/> "myset2": [],<br/> "myset3": ["v1"],<br/> "http://example.org/list1": {"@list": []},<br/> "http://example.org/list2": {"@list": []},<br/> "http://example.org/set1": [],<br/> "http://example.org/set2": [],<br/> "http://example.org/set3": [],<br/> "http://example.org/set4": []<br/>}</pre>
+ </dd>
+ <dt id='test_t0005' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0005'>
+ Test
+ <span property='dc:title mf:name'>@type and prefix compaction</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0005'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0005-in.jsonld' title='@type and prefix compaction Input'>{<br/> "@id": "http://example.org/id1",<br/> "@type": ["http://example.org/Type1", "http://example.org/Type2"],<br/> "http://example.org/term1": {"@value": "v1", "@type": "http://example.org/datatype"},<br/> "http://example.org/term2": {"@id": "http://example.org/id2"}<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0005-out.jsonld' title='@type and prefix compaction Result'>{<br/> "@context": {<br/> "ex": "http://example.org/",<br/> "term1": {"@id": "ex:term1", "@type": "ex:datatype"},<br/> "term2": {"@id": "ex:term2", "@type": "@id"}<br/> },<br/> "@id": "ex:id1",<br/> "@type": ["ex:Type1", "ex:Type2"],<br/> "term1": "v1",<br/> "term2": "ex:id2"<br/>}</pre>
+ </dd>
+ <dt id='test_t0006' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0006'>
+ Test
+ <span property='dc:title mf:name'>keep expanded object format if @type doesn't match</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0006'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0006-in.jsonld' title="keep expanded object format if @type doesn't match Input">{<br/> "@id": "http://example.org/id1",<br/> "@type": ["http://example.org/Type1", "http://example.org/Type2"],<br/> "http://example.org/term1": {"@value": "v1", "@type": "http://example.org/different-datatype"},<br/> "http://example.org/term2": {"@id": "http://example.org/id2"}<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0006-out.jsonld' title="keep expanded object format if @type doesn't match Result">{<br/> "@context": {<br/> "ex": "http://example.org/",<br/> "term1": {<br/> "@id": "ex:term1",<br/> "@type": "ex:datatype"<br/> },<br/> "term2": "ex:term2"<br/> },<br/> "@id": "ex:id1",<br/> "@type": ["ex:Type1", "ex:Type2"],<br/> "ex:term1": {"@value": "v1", "@type": "ex:different-datatype"},<br/> "term2": {"@id": "ex:id2"}<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0007' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0007'>
+ Test
+ <span property='dc:title mf:name'>add context</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0007'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0007-in.jsonld' title='add context Input'>{<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": ["Fun"],<br/> "http://purl.org/dc/elements/1.1/title": ["Chapter One"]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [{"@id": "http://example.org/test#chapter"}],<br/> "http://xmlns.com/foaf/0.1/name": ["Jane"]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": ["John"]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [ "this-is-not-an-IRI" ],<br/> "http://purl.org/dc/elements/1.1/contributor": ["Writer"],<br/> "http://purl.org/dc/elements/1.1/title": ["My Book"]<br/> }]<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0007-out.jsonld' title='add context Result'>{<br/> "@context": {<br/> "dc": "http://purl.org/dc/elements/1.1/",<br/> "ex": "http://example.org/vocab#",<br/> "ex:authored": {"@type": "@id"},<br/> "ex:contains": {"@type": "@id"},<br/> "foaf": "http://xmlns.com/foaf/0.1/"<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "dc:description": "Fun",<br/> "dc:title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "ex:authored": "http://example.org/test#chapter",<br/> "foaf:name": "Jane"<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "foaf:name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "ex:contains": {<br/> "@id": "http://example.org/test#book",<br/> "dc:contributor": "Writer",<br/> "dc:title": "My Book",<br/> "http://example.org/vocab#contains": "this-is-not-an-IRI"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0008' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0008'>
+ Test
+ <span property='dc:title mf:name'>alias keywords</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0008'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0008-in.jsonld' title='alias keywords Input'>[{<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/test#property1": [{<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/test#property4": ["foo"]<br/> }],<br/> "http://example.org/test#property2": [{<br/> "@id": "http://example.org/test#example3"<br/> }],<br/> "http://example.org/test#property3": [{<br/> "@id": "http://example.org/test#example4"<br/> }]<br/>}]</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0008-out.jsonld' title='alias keywords Result'>{<br/> "@context": {<br/> "http://example.org/test#property1": {"@type": "@id"},<br/> "http://example.org/test#property2": {"@type": "@id"},<br/> "http://example.org/test#property3": {"@type": "@id"},<br/> "uri": "@id"<br/> },<br/> "http://example.org/test#property1": {<br/> "http://example.org/test#property4": "foo",<br/> "uri": "http://example.org/test#example2"<br/> },<br/> "http://example.org/test#property2": "http://example.org/test#example3",<br/> "http://example.org/test#property3": "http://example.org/test#example4",<br/> "uri": "http://example.org/test#example1"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0009' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0009'>
+ Test
+ <span property='dc:title mf:name'>compact @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0009'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0009-in.jsonld' title='compact @id Input'>{<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": {<br/> "@id": "http://example.org/test#chapter"<br/> },<br/> "http://purl.org/dc/elements/1.1/title": "Title"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0009-out.jsonld' title='compact @id Result'>{<br/> "@context": {<br/> "dc": "http://purl.org/dc/elements/1.1/",<br/> "ex": "http://example.org/vocab#",<br/> "ex:contains": {"@type": "@id"}<br/> },<br/> "@id": "http://example.org/test#book",<br/> "dc:title": "Title",<br/> "ex:contains": "http://example.org/test#chapter"<br/>}</pre>
+ </dd>
+ <dt id='test_t0010' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0010'>
+ Test
+ <span property='dc:title mf:name'>array to @graph</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0010'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0010-in.jsonld' title='array to @graph Input'>[<br/> {<br/> "@id": "http://example.com/john",<br/> "http://xmlns.com/foaf/0.1/homepage": {<br/> "@id": "http://john.doe.org/"<br/> },<br/> "http://xmlns.com/foaf/0.1/name": "John Doe"<br/> },<br/> {<br/> "@id": "http://example.com/jane",<br/> "http://xmlns.com/foaf/0.1/name": "Jane Doe"<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0010-out.jsonld' title='array to @graph Result'>{<br/> "@context": {<br/> "homepage": {<br/> "@id": "http://xmlns.com/foaf/0.1/homepage",<br/> "@type": "@id"<br/> },<br/> "name": "http://xmlns.com/foaf/0.1/name"<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/john",<br/> "homepage": "http://john.doe.org/",<br/> "name": "John Doe"<br/> },<br/> {<br/> "@id": "http://example.com/jane",<br/> "name": "Jane Doe"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0011' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0011'>
+ Test
+ <span property='dc:title mf:name'>compact date</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0011'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0011-in.jsonld' title='compact date Input'>{<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/vocab#date": {<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://www.w3.org/2001/XMLSchema#dateTime"<br/> },<br/> "http://example.org/vocab#embed": {<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/vocab#parent": {<br/> "@id": "http://example.org/test#example1"<br/> }<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0011-out.jsonld' title='compact date Result'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "ex:date": {"@type": "xsd:dateTime"},<br/> "ex:parent": {"@type": "@id"},<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test#example1",<br/> "ex:date": "2011-01-25T00:00:00Z",<br/> "ex:embed": {<br/> "@id": "http://example.org/test#example2",<br/> "ex:parent": "http://example.org/test#example1"<br/> }<br/>}</pre>
+ </dd>
+ <dt id='test_t0012' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0012'>
+ Test
+ <span property='dc:title mf:name'>native types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0012'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0012-in.jsonld' title='native types Input'>{<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#bool": true,<br/> "http://example.org/vocab#int": 123<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0012-out.jsonld' title='native types Result'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#"<br/> },<br/> "@id": "http://example.org/test",<br/> "ex:bool": true,<br/> "ex:int": 123<br/>}</pre>
+ </dd>
+ <dt id='test_t0013' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0013'>
+ Test
+ <span property='dc:title mf:name'>@value with @language</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0013'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0013-in.jsonld' title='@value with @language Input'>{<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#test": {"@value": "test", "@language": "en"}<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0013-out.jsonld' title='@value with @language Result'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#"<br/> },<br/> "@id": "http://example.org/test",<br/> "ex:test": {"@value": "test", "@language": "en"}<br/>}</pre>
+ </dd>
+ <dt id='test_t0014' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0014'>
+ Test
+ <span property='dc:title mf:name'>array to aliased @graph</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0014'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0014-in.jsonld' title='array to aliased @graph Input'>[<br/> {<br/> "@id": "http://example.com/john",<br/> "http://xmlns.com/foaf/0.1/homepage": {<br/> "@id": "http://john.doe.org/"<br/> },<br/> "http://xmlns.com/foaf/0.1/name": "John Doe"<br/> },<br/> {<br/> "@id": "http://example.com/jane",<br/> "http://xmlns.com/foaf/0.1/name": "Jane Doe"<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0014-out.jsonld' title='array to aliased @graph Result'>{<br/> "@context": {<br/> "homepage": {<br/> "@id": "http://xmlns.com/foaf/0.1/homepage",<br/> "@type": "@id"<br/> },<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "data": "@graph"<br/> },<br/> "data": [<br/> {<br/> "@id": "http://example.com/john",<br/> "homepage": "http://john.doe.org/",<br/> "name": "John Doe"<br/> },<br/> {<br/> "@id": "http://example.com/jane",<br/> "name": "Jane Doe"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0015' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0015'>
+ Test
+ <span property='dc:title mf:name'>best match compaction</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0015'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0015-in.jsonld' title='best match compaction Input'>[{<br/> "@id": "http://example.com/id1",<br/> "@type": ["http://example.com/t1"],<br/> "http://example.com/term": [<br/> {"@value": "v1", "@language": "de"},<br/> {"@value": "v2", "@type": "http://example.com/t2"},<br/> {"@value": "v3", "@language": "en"},<br/> {"@list": [1, 2]},<br/> "v5",<br/> {"@value": "plain literal"}<br/> ]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0015-out.jsonld' title='best match compaction Result'>{<br/> "@context": {<br/> "t1": "http://example.com/t1",<br/> "t2": "http://example.com/t2",<br/> "term1": "http://example.com/term",<br/> "term2": {"@id": "http://example.com/term", "@type": "t2"},<br/> "term3": {"@id": "http://example.com/term", "@language": "en"},<br/> "term4": {"@id": "http://example.com/term", "@container": "@list"},<br/> "term5": {"@id": "http://example.com/term", "@language": null},<br/> "@language": "de"<br/> },<br/> "@id": "http://example.com/id1",<br/> "@type": "t1",<br/> "term1": "v1",<br/> "term2": "v2",<br/> "term3": "v3",<br/> "term4": [ 1, 2 ],<br/> "term5": [ "v5", "plain literal" ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0016' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0016'>
+ Test
+ <span property='dc:title mf:name'>recursive named graphs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0016'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0016-in.jsonld' title='recursive named graphs Input'>[<br/> {<br/> "@id": "http://data.wikipedia.org/snaks/Assertions",<br/> "@type": "http://data.wikipedia.org/vocab#SnakSet",<br/> "http://data.wikipedia.org/vocab#assertedBy": [<br/> { "@value": "Gregg Kellogg" }<br/> ],<br/> "@graph": [<br/> {<br/> "@id": "http://data.wikipedia.org/snaks/BerlinFact",<br/> "@type": [ "http://data.wikipedia.org/vocab#Snak" ],<br/> "http://data.wikipedia.org/vocab#assertedBy": [ { "@value": "Statistik Berlin/Brandenburg" } ],<br/> "@graph": [<br/> {<br/> "@id": "http://en.wikipedia.org/wiki/Berlin",<br/> "http://data.wikipedia.org/vocab#population": [ 3499879 ]<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0016-out.jsonld' title='recursive named graphs Result'>{<br/> "@context": {<br/> "wd": "http://data.wikipedia.org/vocab#",<br/> "ws": "http://data.wikipedia.org/snaks/",<br/> "wp": "http://en.wikipedia.org/wiki/"<br/> },<br/> "@id": "ws:Assertions",<br/> "@type": "wd:SnakSet",<br/> "@graph": [<br/> {<br/> "@id": "ws:BerlinFact",<br/> "@type": "wd:Snak",<br/> "@graph": [<br/> {<br/> "@id": "wp:Berlin",<br/> "wd:population": 3499879<br/> }<br/> ],<br/> "wd:assertedBy": "Statistik Berlin/Brandenburg"<br/> }<br/> ],<br/> "wd:assertedBy": "Gregg Kellogg"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0017' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0017'>
+ Test
+ <span property='dc:title mf:name'>A term mapping to null removes the mapping</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0017'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0017-in.jsonld' title='A term mapping to null removes the mapping Input'>{<br/> "http://www.w3.org/2000/01/rdf-schema#comment": [<br/> { "@value": "Kommentar auf Deutsch.", "@language": "de" },<br/> { "@value": "Comment in English.", "@language": "en" }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0017-out.jsonld' title='A term mapping to null removes the mapping Result'>{<br/> "@context": [<br/> {<br/> "comment": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" }<br/> },<br/> {<br/> "comment": null,<br/> "comment_en": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" }<br/> }<br/> ],<br/> "comment_en": "Comment in English.",<br/> "http://www.w3.org/2000/01/rdf-schema#comment": { "@value": "Kommentar auf Deutsch.", "@language": "de" }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0018' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0018'>
+ Test
+ <span property='dc:title mf:name'>best matching term for lists</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0018'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0018-in.jsonld' title='best matching term for lists Input'>{<br/> "@context": {<br/> "type1": "http://example.com/t1",<br/> "type2": "http://example.com/t2"<br/> },<br/> "@id": "http://example.com/id1",<br/> "http://example.com/term": [<br/> {<br/> "@set": [<br/> { "@value": "v0.1", "@language": "de" },<br/> { "@value": "v0.2", "@language": "en" },<br/> "v0.3",<br/> 4,<br/> true,<br/> false<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "v1.1", "@language": "de" },<br/> { "@value": "v1.2", "@language": "en" },<br/> "v1.3",<br/> 14,<br/> true,<br/> false<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "v2.1", "@language": "en" },<br/> { "@value": "v2.2", "@language": "en" },<br/> { "@value": "v2.3", "@language": "en" },<br/> { "@value": "v2.4", "@language": "en" },<br/> { "@value": "v2.5", "@language": "en" },<br/> { "@value": "v2.6", "@language": "en" }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> "v3.1",<br/> "v3.2",<br/> "v3.3",<br/> "v3.4",<br/> "v3.5",<br/> "v3.6"<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "v4.1", "@type": "type1" },<br/> { "@value": "v4.2", "@type": "type1" },<br/> { "@value": "v4.3", "@type": "type1" },<br/> { "@value": "v4.4", "@type": "type1" },<br/> { "@value": "v4.5", "@type": "type1" },<br/> { "@value": "v4.6", "@type": "type1" }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "v5.1", "@type": "type2" },<br/> { "@value": "v5.2", "@type": "type2" },<br/> { "@value": "v5.3", "@type": "type2" },<br/> { "@value": "v5.4", "@type": "type2" },<br/> { "@value": "v5.5", "@type": "type2" },<br/> { "@value": "v5.6", "@type": "type2" }<br/> ]<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0018-out.jsonld' title='best matching term for lists Result'>{<br/> "@context": {<br/> "type1": "http://example.com/t1",<br/> "type2": "http://example.com/t2",<br/> "@language": "de",<br/> "term": { "@id": "http://example.com/term" },<br/> "term1": { "@id": "http://example.com/term", "@container": "@list" },<br/> "term2": { "@id": "http://example.com/term", "@container": "@list", "@language": "en" },<br/> "term3": { "@id": "http://example.com/term", "@container": "@list", "@language": null },<br/> "term4": { "@id": "http://example.com/term", "@container": "@list", "@type": "type1" },<br/> "term5": { "@id": "http://example.com/term", "@container": "@list", "@type": "type2" }<br/> },<br/> "@id": "http://example.com/id1",<br/> "term": [<br/> "v0.1",<br/> { "@value": "v0.2", "@language": "en" },<br/> { "@value": "v0.3" },<br/> 4,<br/> true,<br/> false<br/> ],<br/> "term1": [<br/> "v1.1",<br/> { "@value": "v1.2", "@language": "en" },<br/> { "@value": "v1.3" },<br/> 14,<br/> true,<br/> false<br/> ],<br/> "term2": [<br/> "v2.1",<br/> "v2.2",<br/> "v2.3",<br/> "v2.4",<br/> "v2.5",<br/> "v2.6"<br/> ],<br/> "term3": [<br/> "v3.1",<br/> "v3.2",<br/> "v3.3",<br/> "v3.4",<br/> "v3.5",<br/> "v3.6"<br/> ],<br/> "term4": [<br/> "v4.1",<br/> "v4.2",<br/> "v4.3",<br/> "v4.4",<br/> "v4.5",<br/> "v4.6"<br/> ],<br/> "term5": [<br/> "v5.1",<br/> "v5.2",<br/> "v5.3",<br/> "v5.4",<br/> "v5.5",<br/> "v5.6"<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0019' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0019'>
+ Test
+ <span property='dc:title mf:name'>Keep duplicate values in @list and @set</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0019'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0019-in.jsonld' title='Keep duplicate values in @list and @set Input'>[{<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist": [{<br/> "@list": [<br/> {"@value": 1},<br/> {"@value": 2},<br/> {"@value": 2},<br/> {"@value": 3}<br/> ]<br/> }],<br/> "http://example.com/myset": [<br/> {"@value": 1},<br/> {"@value": 2},<br/> {"@value": 2},<br/> {"@value": 3}<br/> ]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0019-out.jsonld' title='Keep duplicate values in @list and @set Result'>{<br/> "@context": {<br/> "mylist": {"@id": "http://example.com/mylist", "@container": "@list"},<br/> "myset": {"@id": "http://example.com/myset", "@container": "@set"}<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist": [1, 2, 2, 3],<br/> "myset": [1, 2, 2, 3]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0020' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0020'>
+ Test
+ <span property='dc:title mf:name'>Compact @id that is a property IRI when @container is @list</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0020'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0020-in.jsonld' title='Compact @id that is a property IRI when @container is @list Input'>{<br/> "@context": {<br/> "ex": "http://example.org/ns#"<br/> },<br/> "@id": "ex:property",<br/> "ex:property": {<br/> "@list": [1, 2]<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0020-out.jsonld' title='Compact @id that is a property IRI when @container is @list Result'>{<br/> "@context": {<br/> "ex": "http://example.org/ns#",<br/> "ex:property": {<br/> "@container": "@list"<br/> }<br/> },<br/> "@id": "ex:property",<br/> "ex:property": [1, 2]<br/>}</pre>
+ </dd>
+ <dt id='test_t0021' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0021'>
+ Test
+ <span property='dc:title mf:name'>Compact properties and types using @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0021'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0021-in.jsonld' title='Compact properties and types using @vocab Input'>[<br/> {<br/> "@id": "http://example.com/subdir/id/1",<br/> "@type": [ "http://example.com/subdir/vocab/types/Test" ],<br/> "http://example.com/subdir/vocab/date": [<br/> {<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://example.com/subdir/vocab/types/dateTime"<br/> }<br/> ],<br/> "http://example.com/subdir/vocab/embed": [<br/> {<br/> "@id": "http://example.com/subdir/id/2",<br/> "http://example.com/subdir/vocab/expandedDate": [<br/> {<br/> "@value": "2012-08-01T00:00:00Z",<br/> "@type": "http://example.com/subdir/vocab/types/dateTime"<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0021-out.jsonld' title='Compact properties and types using @vocab Result'>{<br/> "@context": {<br/> "@vocab": "http://example.com/subdir/",<br/> "vocab/date": { "@type": "vocab/types/dateTime" }<br/> },<br/> "@id": "http://example.com/subdir/id/1",<br/> "@type": "vocab/types/Test",<br/> "vocab/date": "2011-01-25T00:00:00Z",<br/> "vocab/embed": {<br/> "@id": "http://example.com/subdir/id/2",<br/> "vocab/expandedDate": {<br/> "@value": "2012-08-01T00:00:00Z",<br/> "@type": "vocab/types/dateTime"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0022' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0022'>
+ Test
+ <span property='dc:title mf:name'>Compact nested properties using @list containers</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0022'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0022-in.jsonld' title='Compact nested properties using @list containers Input'>[<br/> {<br/> "@id": "https://example.org/ns#Game",<br/> "@type": [<br/> "http://www.w3.org/2002/07/owl#Class"<br/> ],<br/> "https://example.org/ns#properties": [<br/> {<br/> "@list": [<br/> {<br/> "@id": "https://example.org/ns#title"<br/> },<br/> {<br/> "@id": "https://example.org/ns#slug"<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "https://example.org/ns#properties",<br/> "@type": [<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"<br/> ]<br/> },<br/> {<br/> "@id": "https://example.org/ns#slug",<br/> "@type": [<br/> "http://www.w3.org/2002/07/owl#DataProperty",<br/> "http://www.w3.org/2002/07/owl#FunctionalProperty"<br/> ]<br/> },<br/> {<br/> "@id": "https://example.org/ns#title",<br/> "@type": [<br/> "http://www.w3.org/2002/07/owl#DataProperty"<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0022-out.jsonld' title='Compact nested properties using @list containers Result'>{<br/> "@context": {<br/> "owl": "http://www.w3.org/2002/07/owl#",<br/> "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",<br/> "ex": "https://example.org/ns#",<br/> "id": "@id",<br/> "type": "@type",<br/> "ex:properties": {<br/> "@container": "@list"<br/> }<br/> },<br/> "@graph": [<br/> {<br/> "id": "ex:Game",<br/> "type": "owl:Class",<br/> "ex:properties": [<br/> { "id": "ex:title" },<br/> { "id": "ex:slug" }<br/> ]<br/> },<br/> {<br/> "id": "ex:properties",<br/> "type": "rdf:Property"<br/> },<br/> {<br/> "id": "ex:slug",<br/> "type": [ "owl:DataProperty", "owl:FunctionalProperty" ]<br/> },<br/> {<br/> "id": "ex:title",<br/> "type": "owl:DataProperty"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0023' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0023'>
+ Test
+ <span property='dc:title mf:name'>@vocab takes precedence over prefixes - even if the result is longer</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0023'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0023-in.jsonld' title='@vocab takes precedence over prefixes - even if the result is longer Input'>[<br/> {<br/> "@id": "http://example.com/subdir/id/1",<br/> "@type": [ "http://example.com/subdir/vocab/types/Test" ],<br/> "http://example.com/subdir/vocab/date": [<br/> {<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://example.com/subdir/vocab/types/dateTime"<br/> }<br/> ],<br/> "http://example.com/subdir/vocab/embed": [<br/> {<br/> "@id": "http://example.com/subdir/id/2",<br/> "http://example.com/subdir/vocab/expandedDate": [<br/> {<br/> "@value": "2012-08-01T00:00:00Z",<br/> "@type": "http://example.com/subdir/vocab/types/dateTime"<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0023-out.jsonld' title='@vocab takes precedence over prefixes - even if the result is longer Result'>{<br/> "@context": {<br/> "@vocab": "http://example.com/",<br/> "ex": "http://example.com/subdir/",<br/> "ex:vocab/date": { "@type": "ex:vocab/types/dateTime" }<br/> },<br/> "@id": "ex:id/1",<br/> "@type": "subdir/vocab/types/Test",<br/> "ex:vocab/date": "2011-01-25T00:00:00Z",<br/> "subdir/vocab/embed": {<br/> "@id": "ex:id/2",<br/> "subdir/vocab/expandedDate": {<br/> "@value": "2012-08-01T00:00:00Z",<br/> "@type": "subdir/vocab/types/dateTime"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0024' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0024'>
+ Test
+ <span property='dc:title mf:name'>The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0024'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0024-in.jsonld' title='The most specific term that matches all of the elements in the list, taking into account the default language, must be selected. Input'>{<br/><br/> "@context": {<br/> "type1": "http://example.com/t1",<br/> "type2": "http://example.com/t2"<br/> },<br/> "@id": "http://example.com/id1",<br/> "http://example.com/termLanguage": [<br/> {<br/> "@list": [<br/> { "@value": "termLL0.1", "@language": "de" },<br/> { "@value": "termLL0.2", "@language": "de" }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "termLL1.1", "@language": "en" },<br/> { "@value": "termLL1.2", "@language": "en" }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> "termLL2.1",<br/> "termLL2.2"<br/> ]<br/> }<br/> ],<br/> "http://example.com/termType": [<br/> {<br/> "@list": [<br/> { "@value": "termTL0.1", "@type": "type1" },<br/> { "@value": "termTL0.2", "@type": "type2" }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "termTL1.1", "@type": "type1" },<br/> { "@value": "termTL1.2", "@type": "type1" }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> { "@value": "termTL2.1", "@type": "type2" },<br/> { "@value": "termTL2.2", "@type": "type2" }<br/> ]<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0024-out.jsonld' title='The most specific term that matches all of the elements in the list, taking into account the default language, must be selected. Result'>{<br/> "@context": {<br/> "type1": "http://example.com/t1",<br/> "type2": "http://example.com/t2",<br/> "@language": "de",<br/> "termL": { "@id": "http://example.com/termLanguage" },<br/> "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" },<br/> "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "en" },<br/> "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null },<br/> "termT": { "@id": "http://example.com/termType" },<br/> "termTL0": { "@id": "http://example.com/termType", "@container": "@list" },<br/> "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" },<br/> "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" }<br/> },<br/> "@id": "http://example.com/id1",<br/> "termLL0": [<br/> "termLL0.1",<br/> "termLL0.2"<br/> ],<br/> "termLL1": [<br/> "termLL1.1",<br/> "termLL1.2"<br/> ],<br/> "termLL2": [<br/> "termLL2.1",<br/> "termLL2.2"<br/> ],<br/> "termTL0": [<br/> {<br/> "@type": "type1",<br/> "@value": "termTL0.1"<br/> },<br/> {<br/> "@type": "type2",<br/> "@value": "termTL0.2"<br/> }<br/> ],<br/> "termTL1": [<br/> "termTL1.1",<br/> "termTL1.2"<br/> ],<br/> "termTL2": [<br/> "termTL2.1",<br/> "termTL2.2"<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0025' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0025'>
+ Test
+ <span property='dc:title mf:name'>Language maps</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0025'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0025-in.jsonld' title='Language maps Input'>[<br/> {<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label":<br/> [<br/> {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }, {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> }, {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0025-out.jsonld' title='Language maps Result'>{<br/> "@context": {<br/> "vocab": "http://example.com/vocab/",<br/> "label": {<br/> "@id": "vocab:label",<br/> "@container": "@language"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": {<br/> "en": "The Queen",<br/> "de": [ "Die Königin", "Ihre Majestät" ]<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0026' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0026'>
+ Test
+ <span property='dc:title mf:name'>Using language maps with @vocab, a default language, and a competing term</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0026'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0026-in.jsonld' title='Using language maps with @vocab, a default language, and a competing term Input'>[{<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label": [<br/> {<br/> "@value": "Il re",<br/> "@language": "it"<br/> }, {<br/> "@value": "The king",<br/> "@language": "en"<br/> }, {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }, {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> }, {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> }<br/> ]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0026-out.jsonld' title='Using language maps with @vocab, a default language, and a competing term Result'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab/",<br/> "@language": "it",<br/> "s": { "@id": "label", "@language": "en" },<br/> "label": {<br/> "@container": "@language"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": {<br/> "it": "Il re",<br/> "en": [ "The king", "The Queen" ],<br/> "de": [ "Die Königin", "Ihre Majestät" ]<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0027' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0027'>
+ Test
+ <span property='dc:title mf:name'>Fall back to term with @set container if term with language map is defined</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0027'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0027-in.jsonld' title='Fall back to term with @set container if term with language map is defined Input'>[{<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label": [<br/> {<br/> "@value": "Il re",<br/> "@language": "it"<br/> }, {<br/> "@value": "The king",<br/> "@language": "en"<br/> }, {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }, {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> }, {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> }<br/> ]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0027-out.jsonld' title='Fall back to term with @set container if term with language map is defined Result'>{<br/> "@context": {<br/> "label": "http://example.com/vocab/label",<br/> "container": { "@id": "label", "@container": "@set" }<br/> },<br/> "@id": "http://example.com/queen",<br/> "container": [<br/> {<br/> "@value": "Il re",<br/> "@language": "it"<br/> }, {<br/> "@value": "The king",<br/> "@language": "en"<br/> }, {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }, {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> }, {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0028' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0028'>
+ Test
+ <span property='dc:title mf:name'>Alias keywords and use @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0028'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0028-in.jsonld' title='Alias keywords and use @vocab Input'>{<br/> "@context": {<br/> "@vocab": "http://xmlns.com/foaf/0.1/",<br/> "homepage": {<br/> "@type": "@id"<br/> },<br/> "uri": "@id"<br/> },<br/> "uri": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "homepage": "http://www.markus-lanthaler.com/"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0028-out.jsonld' title='Alias keywords and use @vocab Result'>{<br/> "@context": {<br/> "@vocab": "http://xmlns.com/foaf/0.1/",<br/> "homepage": {<br/> "@type": "@id"<br/> },<br/> "uri": "@id"<br/> },<br/> "uri": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "homepage": "http://www.markus-lanthaler.com/"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0029' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0029'>
+ Test
+ <span property='dc:title mf:name'>Simple @index map</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0029'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0029-in.jsonld' title='Simple @index map Input'>[{<br/> "@id": "http://example.com/article",<br/> "http://example.com/vocab/author": [{<br/> "@id": "http://example.org/person/1",<br/> "@index": "regular"<br/> }, {<br/> "@id": "http://example.org/guest/cd24f329aa",<br/> "@index": "guest"<br/> }]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0029-out.jsonld' title='Simple @index map Result'>{<br/> "@context": {<br/> "author": {<br/> "@id": "http://example.com/vocab/author",<br/> "@container": "@index"<br/> }<br/> },<br/> "@id": "http://example.com/article",<br/> "author": {<br/> "regular": {<br/> "@id": "http://example.org/person/1"<br/> },<br/> "guest": {<br/> "@id": "http://example.org/guest/cd24f329aa"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0030' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0030'>
+ Test
+ <span property='dc:title mf:name'>Preserve @index tags if not compacted to an index map</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0030'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0030-in.jsonld' title='Preserve @index tags if not compacted to an index map Input'>[<br/> {<br/> "@id": "http://example.org/indexTest",<br/> "http://example.com/container": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA",<br/> "@index": "A"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexA",<br/> "@index": "this overrides the 'A' index from the container"<br/> },<br/> {<br/> "@value": 1,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "simple string A",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "typed literal A",<br/> "@type": "http://example.org/type",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "language-tagged string A",<br/> "@language": "en",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "simple string B",<br/> "@index": "B"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC",<br/> "@index": "C"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexC",<br/> "@index": "this overrides the 'C' index from the container"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "simple string C",<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "typed literal C",<br/> "@type": "http://example.org/type",<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "language-tagged string C",<br/> "@language": "en",<br/> "@index": "C"<br/> }<br/> ],<br/> "http://example.com/property": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "simple string no index"<br/> },<br/> {<br/> "@value": "typed literal Prop",<br/> "@type": "http://example.org/type",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "language-tagged string Prop",<br/> "@language": "en",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "index using an array with just one element (automatic recovery)",<br/> "@index": "prop"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0030-out.jsonld' title='Preserve @index tags if not compacted to an index map Result'>{<br/> "@context": {<br/> "property": "http://example.com/property",<br/> "indexContainer": { "@id": "http://example.com/container", "@container": "@index" }<br/> },<br/> "@id": "http://example.org/indexTest",<br/> "indexContainer": {<br/> "A": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA"<br/> },<br/> 1,<br/> true,<br/> false,<br/> "simple string A",<br/> {<br/> "@value": "typed literal A",<br/> "@type": "http://example.org/type"<br/> },<br/> {<br/> "@value": "language-tagged string A",<br/> "@language": "en"<br/> }<br/> ],<br/> "this overrides the 'A' index from the container": {<br/> "@id": "http://example.org/nodeWithIndexA"<br/> },<br/> "B": "simple string B",<br/> "C": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC"<br/> },<br/> 3,<br/> true,<br/> false,<br/> "simple string C",<br/> {<br/> "@value": "typed literal C",<br/> "@type": "http://example.org/type"<br/> },<br/> {<br/> "@value": "language-tagged string C",<br/> "@language": "en"<br/> }<br/> ],<br/> "this overrides the 'C' index from the container": {<br/> "@id": "http://example.org/nodeWithIndexC"<br/> }<br/> },<br/> "property": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "prop"<br/> },<br/> "simple string no index",<br/> {<br/> "@value": "typed literal Prop",<br/> "@type": "http://example.org/type",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "language-tagged string Prop",<br/> "@language": "en",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "index using an array with just one element (automatic recovery)",<br/> "@index": "prop"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0031' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0031'>
+ Test
+ <span property='dc:title mf:name'>Compact @reverse</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0031'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0031-in.jsonld' title='Compact @reverse Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0031-out.jsonld' title='Compact @reverse Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0032' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0032'>
+ Test
+ <span property='dc:title mf:name'>Compact keys in reverse-maps</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0032'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0032-in.jsonld' title='Compact keys in reverse-maps Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0032-out.jsonld' title='Compact keys in reverse-maps Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "knows": "http://xmlns.com/foaf/0.1/knows"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0033' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0033'>
+ Test
+ <span property='dc:title mf:name'>Compact reverse-map to reverse property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0033'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0033-in.jsonld' title='Compact reverse-map to reverse property Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0033-out.jsonld' title='Compact reverse-map to reverse property Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0034' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0034'>
+ Test
+ <span property='dc:title mf:name'>Do not use reverse property if no other property matches as normal property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0034'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0034-in.jsonld' title='Do not use reverse property if no other property matches as normal property Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ]<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0034-out.jsonld' title='Do not use reverse property if no other property matches as normal property Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "name": "Gregg Kellogg"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0035' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0035'>
+ Test
+ <span property='dc:title mf:name'>Compact pure node references to strings for reverse properties</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0035'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0035-in.jsonld' title='Compact pure node references to strings for reverse properties Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave"<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg"<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0035-out.jsonld' title='Compact pure node references to strings for reverse properties Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": [<br/> "http://example.com/people/dave",<br/> "http://example.com/people/gregg"<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0036' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0036'>
+ Test
+ <span property='dc:title mf:name'>Compact reverse properties using index containers</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0036'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0036-in.jsonld' title='Compact reverse properties using index containers Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "@index": "Dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "@index": "Gregg",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0036-out.jsonld' title='Compact reverse properties using index containers Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": {<br/> "Dave": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> "Gregg": {<br/> "@id": "http://example.com/people/gregg",<br/> "name": "Gregg Kellogg"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0037' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0037'>
+ Test
+ <span property='dc:title mf:name'>Compact keys in @reverse using @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0037'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0037-in.jsonld' title='Compact keys in @reverse using @vocab Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ],<br/> "http://example.com/vocab/noTerm": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relative-node",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0037-out.jsonld' title='Compact keys in @reverse using @vocab Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "knows": "http://xmlns.com/foaf/0.1/knows",<br/> "@vocab": "http://example.com/vocab/"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> "noTerm": {<br/> "@id": "relative-node",<br/> "name": "Compact keys using @vocab"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0038' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0038'>
+ Test
+ <span property='dc:title mf:name'>Index map round-tripping (Drupal content deployment)</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0038'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0038-in.jsonld' title='Index map round-tripping (Drupal content deployment) Input'>{<br/> "@context": {<br/> "site": "http://example.com/",<br/> "site-cd": "site:site-schema/content-deployment/",<br/> "title": {<br/> "@id": "site-cd:node/article/title",<br/> "@container": "@index"<br/> },<br/> "body": {<br/> "@id": "site-cd:node/article/body",<br/> "@container": "@index"<br/> },<br/> "field_tags": {<br/> "@id": "site-cd:node/article/field_tags",<br/> "@container": "@index"<br/> }<br/> },<br/> "@id": "site:node/1",<br/> "@type": "site-cd:node/article",<br/> "title": {<br/> "en": [<br/> {<br/> "@context": {<br/> "value": "site-cd:node/article/title/value"<br/> },<br/> "@type": "site-cd:field-types/title_field",<br/> "value": "This is the English title"<br/> }<br/> ],<br/> "es": [<br/> {<br/> "@context": {<br/> "value": "site-cd:node/article/title/value"<br/> },<br/> "@type": "site-cd:field-types/title_field",<br/> "value": "Este es el t’tulo espa–ol"<br/> }<br/> ]<br/> },<br/> "body": {<br/> "en": [<br/> {<br/> "@context": {<br/> "value": "site-cd:node/article/body/value",<br/> "summary": "site-cd:node/article/body/summary",<br/> "format": "site-cd:node/article/body/format"<br/> },<br/> "@type": "site-cd:field-types/text_with_summary",<br/> "value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",<br/> "summary": "This is the teaser for the body.",<br/> "format": "full_html"<br/> }<br/> ]<br/> },<br/> "field_tags": {<br/> "en": [<br/> {<br/> "@context": {<br/> "uuid": "site-cd:taxonomy/term/uuid"<br/> },<br/> "@type": "site-cd:taxonomy/term",<br/> "@id": "site:taxonomy/term/1",<br/> "uuid": "e34b982c-98ac-4862-9b00-fa771a388010"<br/> }<br/> ],<br/> "es": [<br/> {<br/> "@context": {<br/> "uuid": "site-cd:taxonomy/term/uuid"<br/> },<br/> "@type": "site-cd:taxonomy/term",<br/> "@id": "site:taxonomy/term/1",<br/> "uuid": "e34b982c-98ac-4862-9b00-fa771a388010"<br/> },<br/> {<br/> "@context": {<br/> "uuid": "site-cd:taxonomy/term/uuid"<br/> },<br/> "@type": "site-cd:taxonomy/term",<br/> "@id": "site:taxonomy/term/2",<br/> "uuid": "a55b982c-58ac-4862-9b00-aa221a388010"<br/> }<br/> ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0038-out.jsonld' title='Index map round-tripping (Drupal content deployment) Result'>{<br/> "@context": {<br/> "site": "http://example.com/",<br/> "site-cd": "site:site-schema/content-deployment/",<br/> "title": {<br/> "@id": "site-cd:node/article/title",<br/> "@container": "@index"<br/> },<br/> "body": {<br/> "@id": "site-cd:node/article/body",<br/> "@container": "@index"<br/> },<br/> "field_tags": {<br/> "@id": "site-cd:node/article/field_tags",<br/> "@container": "@index"<br/> }<br/> },<br/> "@id": "site:node/1",<br/> "@type": "site-cd:node/article",<br/> "title": {<br/> "en": {<br/> "@type": "site-cd:field-types/title_field",<br/> "title:/value": "This is the English title"<br/> },<br/> "es": {<br/> "@type": "site-cd:field-types/title_field",<br/> "title:/value": "Este es el t’tulo espa–ol"<br/> }<br/> },<br/> "body": {<br/> "en": {<br/> "@type": "site-cd:field-types/text_with_summary",<br/> "body:/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.",<br/> "body:/summary": "This is the teaser for the body.",<br/> "body:/format": "full_html"<br/> }<br/> },<br/> "field_tags": {<br/> "en": {<br/> "@type": "site-cd:taxonomy/term",<br/> "@id": "site:taxonomy/term/1",<br/> "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"<br/> },<br/> "es": [<br/> {<br/> "@type": "site-cd:taxonomy/term",<br/> "@id": "site:taxonomy/term/1",<br/> "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010"<br/> },<br/> {<br/> "@type": "site-cd:taxonomy/term",<br/> "@id": "site:taxonomy/term/2",<br/> "site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010"<br/> }<br/> ]<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0039' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0039'>
+ Test
+ <span property='dc:title mf:name'>Value of @graph is always an array</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0039'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0039-in.jsonld' title='Value of @graph is always an array Input'>[<br/> {<br/> "@id": "http://example.com/graph/1",<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/node/1",<br/> "http://example.com/property": [ { "@value": "property" } ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0039-out.jsonld' title='Value of @graph is always an array Result'>{<br/> "@id": "http://example.com/graph/1",<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/node/1",<br/> "http://example.com/property": "property"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0040' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0040'>
+ Test
+ <span property='dc:title mf:name'>Ensure that value of @list is always an array</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0040'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0040-in.jsonld' title='Ensure that value of @list is always an array Input'>[<br/> {<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://example.com/list": {<br/> "@list": [<br/> "one item"<br/> ]<br/> }<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0040-out.jsonld' title='Ensure that value of @list is always an array Result'>{<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://example.com/list": {<br/> "@list": [<br/> "one item"<br/> ]<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0041' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0041'>
+ Test
+ <span property='dc:title mf:name'>If an index is present, a term having an @list container is not selected</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0041'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0041-in.jsonld' title='If an index is present, a term having an @list container is not selected Input'>[<br/> {<br/> "@id": "http://example.com/node",<br/> "http://example.com/property": [<br/> {<br/> "@index": "an index",<br/> "@list": [<br/> {<br/> "@value": "one item"<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0041-out.jsonld' title='If an index is present, a term having an @list container is not selected Result'>{<br/> "@context": {<br/> "name": { "@id": "http://example.com/property", "@container": "@list" }<br/> },<br/> "@id": "http://example.com/node",<br/> "http://example.com/property": {<br/> "@list": [<br/> "one item"<br/> ],<br/> "@index": "an index"<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0042' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0042'>
+ Test
+ <span property='dc:title mf:name'>Make sure keyword aliasing works if a list can't be compacted</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0042'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0042-in.jsonld' title="Make sure keyword aliasing works if a list can't be compacted Input">[<br/> {<br/> "@id": "http://example.com/node",<br/> "http://example.com/property": [<br/> {<br/> "@list": [<br/> {<br/> "@value": "one item"<br/> }<br/> ],<br/> "@index": "an index"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0042-out.jsonld' title="Make sure keyword aliasing works if a list can't be compacted Result">{<br/> "@context": {<br/> "listAlias": "@list",<br/> "indexAlias": "@index"<br/> },<br/> "@id": "http://example.com/node",<br/> "http://example.com/property": {<br/> "listAlias": [<br/> "one item"<br/> ],<br/> "indexAlias": "an index"<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0043' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0043'>
+ Test
+ <span property='dc:title mf:name'>Ensure that @vocab compaction isn't used if the result collides with a term</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0043'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0043-in.jsonld' title="Ensure that @vocab compaction isn't used if the result collides with a term Input">[<br/> {<br/> "@id": "http://example.com/node",<br/> "http://example.com/name": [<br/> { "@value": "Markus Lanthaler" }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0043-out.jsonld' title="Ensure that @vocab compaction isn't used if the result collides with a term Result">{<br/> "@context": {<br/> "@vocab": "http://example.com/",<br/> "name": "http://xmlns.com/foaf/0.1/name"<br/> },<br/> "@id": "http://example.com/node",<br/> "http://example.com/name": "Markus Lanthaler"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0044' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0044'>
+ Test
+ <span property='dc:title mf:name'>Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0044'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0044-in.jsonld' title='Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave"<br/> },<br/> {<br/> "@id": "http://example.com/people/DefinedTerm"<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0044-out.jsonld' title='Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "knows": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" },<br/> "knowsVocab": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@vocab" },<br/> "DefinedTerm": "http://example.com/people/DefinedTerm"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "knows": "http://example.com/people/dave",<br/> "knowsVocab": "DefinedTerm"<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0045' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0045'>
+ Test
+ <span property='dc:title mf:name'>Values of @id are transformed to relative IRIs, terms are ignored</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0045'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0045-in.jsonld' title='Values of @id are transformed to relative IRIs, terms are ignored Input'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/term",<br/> "http://example.com/property": [<br/> {<br/> "@id": "http://example.com/compact-iris-are-considered",<br/> "http://example.com/property": [<br/> { "@value": "@id supports the following values: relative, absolute, and compact IRIs" }<br/> ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/parent-node",<br/> "http://example.com/property": [<br/> { "@value": "relative IRIs get resolved against the document's base IRI" }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0045-out.jsonld' title='Values of @id are transformed to relative IRIs, terms are ignored Result'>{<br/> "@context": {<br/> "term": "http://example.com/terms-are-not-considered-in-id",<br/> "compact-iris": "http://example.com/compact-iris-",<br/> "property": "http://example.com/property",<br/> "@vocab": "http://example.org/vocab-is-not-considered-for-id"<br/> },<br/> "@id": "term",<br/> "property": [<br/> {<br/> "@id": "compact-iris:are-considered",<br/> "property": "@id supports the following values: relative, absolute, and compact IRIs"<br/> },<br/> {<br/> "@id": "../parent-node",<br/> "property": "relative IRIs get resolved against the document's base IRI"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0046' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0046'>
+ Test
+ <span property='dc:title mf:name'>Wrap top-level array into @graph even if no context is passed</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0046'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0046-in.jsonld' title='Wrap top-level array into @graph even if no context is passed Input'>[<br/> {<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler"<br/> },<br/> {<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0046-out.jsonld' title='Wrap top-level array into @graph even if no context is passed Result'>{<br/> "@graph": [<br/> {<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler"<br/> },<br/> {<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0048' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0048'>
+ Test
+ <span property='dc:title mf:name'>Prefer terms with a language mapping set to null over terms without language-mapping for non-strings</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0048'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0048-in.jsonld' title='Prefer terms with a language mapping set to null over terms without language-mapping for non-strings Input'>{<br/> "http://example.com/propertyA": 5,<br/> "http://example.com/propertyB": 5<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0048-out.jsonld' title='Prefer terms with a language mapping set to null over terms without language-mapping for non-strings Result'>{<br/> "@context": {<br/> "@language": "de",<br/> "propertyLanguageNull": {<br/> "@id": "http://example.com/propertyA",<br/> "@language": null<br/> },<br/> "propertyNoLang": "http://example.com/propertyA",<br/> "propertyB": "http://example.com/propertyB"<br/> },<br/> "propertyLanguageNull": 5,<br/> "propertyB": 5<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0049' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0049'>
+ Test
+ <span property='dc:title mf:name'>Round tripping of lists that contain just IRIs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0049'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0049-in.jsonld' title='Round tripping of lists that contain just IRIs Input'>{<br/> "@context": {<br/> "property": { "@id": "http://example.org", "@type": "@id" }<br/> },<br/> "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0049-out.jsonld' title='Round tripping of lists that contain just IRIs Result'>{<br/> "@context": {<br/> "property": { "@id": "http://example.org", "@type": "@id" }<br/> },<br/> "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0051' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0051'>
+ Test
+ <span property='dc:title mf:name'>Round tripping @list with scalar</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0051'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0051-in.jsonld' title='Round tripping @list with scalar Input'>{<br/> "http://example.org/term": {<br/> "@list": [1]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0051-out.jsonld' title='Round tripping @list with scalar Result'>{<br/> "http://example.org/term": {<br/> "@list": [1]<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0052' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0052'>
+ Test
+ <span property='dc:title mf:name'>Round tripping @list with scalar and @graph alias</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0052'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0052-in.jsonld' title='Round tripping @list with scalar and @graph alias Input'>{<br/> "@context": {<br/> "graph": "@graph",<br/> "term": "http://example.org/term"<br/> },<br/> "graph": [<br/> {<br/> "term": {<br/> "@list": [1]<br/> }<br/> },<br/> {<br/> "term": {<br/> "@list": [2]<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0052-out.jsonld' title='Round tripping @list with scalar and @graph alias Result'>{<br/> "@context": {<br/> "graph": "@graph",<br/> "term": "http://example.org/term"<br/> },<br/> "graph": [<br/> {<br/> "term": {<br/> "@list": [1]<br/> }<br/> },<br/> {<br/> "term": {<br/> "@list": [2]<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0053' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0053'>
+ Test
+ <span property='dc:title mf:name'>Compact to @type: @vocab when no @type: @id term available</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0053'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0053-in.jsonld' title='Compact to @type: @vocab when no @type: @id term available Input'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0053-out.jsonld' title='Compact to @type: @vocab when no @type: @id term available Result'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"}<br/> },<br/> "term": "http://example.org/enum"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0054' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0054'>
+ Test
+ <span property='dc:title mf:name'>Compact to @type: @vocab and compact @id to term</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0054'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0054-in.jsonld' title='Compact to @type: @vocab and compact @id to term Input'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0054-out.jsonld' title='Compact to @type: @vocab and compact @id to term Result'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"},<br/> "enum": {"@id": "http://example.org/enum"}<br/> },<br/> "term": "enum"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0055' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0055'>
+ Test
+ <span property='dc:title mf:name'>Round tripping @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0055'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0055-in.jsonld' title='Round tripping @type: @vocab Input'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"},<br/> "enum": {"@id": "http://example.org/enum"}<br/> },<br/> "term": "enum"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0055-out.jsonld' title='Round tripping @type: @vocab Result'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"},<br/> "enum": {"@id": "http://example.org/enum"}<br/> },<br/> "term": "enum"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0056' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0056'>
+ Test
+ <span property='dc:title mf:name'>Prefer @type: @vocab over @type: @id for terms</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0056'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0056-in.jsonld' title='Prefer @type: @vocab over @type: @id for terms Input'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0056-out.jsonld' title='Prefer @type: @vocab over @type: @id for terms Result'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"},<br/> "doNotSelect": {"@id": "http://example.org/term"},<br/> "enum": {"@id": "http://example.org/enum"}<br/> },<br/> "term": "enum"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0057' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0057'>
+ Test
+ <span property='dc:title mf:name'>Complex round tripping @type: @vocab and @type: @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0057'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0057-in.jsonld' title='Complex round tripping @type: @vocab and @type: @id Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" },<br/> "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" },<br/> "linkID": { "@id": "http://example.com/link", "@type": "@id" },<br/> "linkV": { "@id": "http://example.com/link", "@type": "@vocab" },<br/> "MarkusHomepage": "http://www.markus-lanthaler.com/",<br/> "relative-iri": "http://example.com/error-if-this-is-used-for-link"<br/> },<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "homepageV": "MarkusHomepage",<br/> "linkID": "relative-iri"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0057-out.jsonld' title='Complex round tripping @type: @vocab and @type: @id Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" },<br/> "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" },<br/> "linkID": { "@id": "http://example.com/link", "@type": "@id" },<br/> "linkV": { "@id": "http://example.com/link", "@type": "@vocab" },<br/> "MarkusHomepage": "http://www.markus-lanthaler.com/",<br/> "relative-iri": "http://example.com/error-if-this-is-used-for-link"<br/> },<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "homepageV": "MarkusHomepage",<br/> "linkID": "relative-iri"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0058' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0058'>
+ Test
+ <span property='dc:title mf:name'>Prefer @type: @id over @type: @vocab for non-terms</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0058'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0058-in.jsonld' title='Prefer @type: @id over @type: @vocab for non-terms Input'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0058-out.jsonld' title='Prefer @type: @id over @type: @vocab for non-terms Result'>{<br/> "@context": {<br/> "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"},<br/> "chosen": {"@id": "http://example.org/term", "@type": "@id"}<br/> },<br/> "chosen": "http://example.org/enum"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0059' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0059'>
+ Test
+ <span property='dc:title mf:name'>If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0059'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0059-in.jsonld' title="If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms Input">[<br/> {<br/> "http://example.com/vocab#foo": [<br/> { "@id": "http://example.com/vocab#Bar" },<br/> { "@id": "http://example.com/vocab#Baz" }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0059-out.jsonld' title="If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms Result">{<br/> "@context": {<br/> "Bar": "http://example.com/vocab#Bar",<br/> "foo": {<br/> "@id": "http://example.com/vocab#foo",<br/> "@type": "@vocab"<br/> }<br/> },<br/> "foo": [<br/> "Bar",<br/> "http://example.com/vocab#Baz"<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0060' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0060'>
+ Test
+ <span property='dc:title mf:name'>If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0060'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0060-in.jsonld' title="If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms Input">[<br/> {<br/> "http://example.com/vocab#foo": [<br/> { "@id": "http://example.com/vocab#Bar" },<br/> { "@id": "http://example.com/vocab#Baz" }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0060-out.jsonld' title="If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms Result">{<br/> "@context": {<br/> "Bar": "http://example.com/vocab#Bar",<br/> "foo": {<br/> "@id": "http://example.com/vocab#foo",<br/> "@type": "@id"<br/> }<br/> },<br/> "foo": [<br/> "http://example.com/vocab#Bar",<br/> "http://example.com/vocab#Baz"<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0061' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0061'>
+ Test
+ <span property='dc:title mf:name'>Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0061'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0061-in.jsonld' title='Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab) Input'>[<br/> {<br/> "http://example.com/vocab#foo": [<br/> { "@id": "http://example.com/vocab#Bar" },<br/> { "@id": "http://example.com/vocab#Baz" }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0061-out.jsonld' title='Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab) Result'>{<br/> "@context": {<br/> "Bar": "http://example.com/vocab#Bar",<br/> "fooI": {<br/> "@id": "http://example.com/vocab#foo",<br/> "@type": "@id"<br/> },<br/> "fooV": {<br/> "@id": "http://example.com/vocab#foo",<br/> "@type": "@vocab"<br/> }<br/> },<br/> "fooV": "Bar",<br/> "fooI": "http://example.com/vocab#Baz"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0062' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0062'>
+ Test
+ <span property='dc:title mf:name'>Relative IRIs don't round-trip with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0062'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0062-in.jsonld' title="Relative IRIs don't round-trip with @type: @vocab Input">{<br/> "@context": {<br/> "term": { "@id": "http://example.org/term", "@type": "@vocab" }<br/> },<br/> "term": "not-a-term-thus-a-relative-IRI"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0062-out.jsonld' title="Relative IRIs don't round-trip with @type: @vocab Result">{<br/> "@context": {<br/> "term": { "@id": "http://example.org/term", "@type": "@vocab" }<br/> },<br/> "term": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0063' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0063'>
+ Test
+ <span property='dc:title mf:name'>Compact IRI round-tripping with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0063'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0063-in.jsonld' title='Compact IRI round-tripping with @type: @vocab Input'>{<br/> "@context": {<br/> "term": { "@id": "http://example.org/term", "@type": "@vocab" },<br/> "prefix": "http://example.com/vocab#"<br/> },<br/> "term": "prefix:suffix"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0063-out.jsonld' title='Compact IRI round-tripping with @type: @vocab Result'>{<br/> "@context": {<br/> "term": { "@id": "http://example.org/term", "@type": "@vocab" },<br/> "prefix": "http://example.com/vocab#"<br/> },<br/> "term": "prefix:suffix"<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0064' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0064'>
+ Test
+ <span property='dc:title mf:name'>Compact language-tagged and indexed strings to index-map</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0064'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0064-in.jsonld' title='Compact language-tagged and indexed strings to index-map Input'>[<br/> {<br/> "@id": "http://example.com.com/",<br/> "http://example.com/property": [<br/> {<br/> "@value": "Deutsche Zeichenfolge in @index-map",<br/> "@index": "first",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": "English string in @index-map",<br/> "@index": "second",<br/> "@language": "en"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0064-out.jsonld' title='Compact language-tagged and indexed strings to index-map Result'>{<br/> "@context": {<br/> "property": { "@id": "http://example.com/property", "@container": "@index" }<br/> },<br/> "@id": "http://example.com.com/",<br/> "property": {<br/> "first": {<br/> "@language": "de",<br/> "@value": "Deutsche Zeichenfolge in @index-map"<br/> },<br/> "second": {<br/> "@language": "en",<br/> "@value": "English string in @index-map"<br/> }<br/> }<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0065' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0065'>
+ Test
+ <span property='dc:title mf:name'>Language-tagged and indexed strings don't compact to language-map</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0065'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0065-in.jsonld' title="Language-tagged and indexed strings don't compact to language-map Input">[<br/> {<br/> "@id": "http://example.com.com/",<br/> "http://example.com/property": [<br/> {<br/> "@value": "Deutsche Zeichenfolge in @index-map",<br/> "@index": "first",<br/> "@language": "de"<br/> },<br/> {<br/> "@value": "English string in @index-map",<br/> "@index": "second",<br/> "@language": "en"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0065-out.jsonld' title="Language-tagged and indexed strings don't compact to language-map Result">{<br/> "@context": {<br/> "property": { "@id": "http://example.com/property", "@container": "@language" }<br/> },<br/> "@id": "http://example.com.com/",<br/> "http://example.com/property": [<br/> {<br/> "@index": "first",<br/> "@language": "de",<br/> "@value": "Deutsche Zeichenfolge in @index-map"<br/> },<br/> {<br/> "@index": "second",<br/> "@language": "en",<br/> "@value": "English string in @index-map"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0066' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0066'>
+ Test
+ <span property='dc:title mf:name'>Relative IRIs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0066'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0066-in.jsonld' title='Relative IRIs Input'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relativeIris",<br/> "@type": [<br/> "http://json-ld.org/test-suite/tests/link",<br/> "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works",<br/> "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works",<br/> "http://json-ld.org/test-suite/tests/",<br/> "http://json-ld.org/test-suite/",<br/> "http://json-ld.org/test-suite/parent",<br/> "http://json-ld.org/parent-parent-eq-root",<br/> "http://json-ld.org/still-root",<br/> "http://json-ld.org/too-many-dots",<br/> "http://json-ld.org/absolute",<br/> "http://example.org/scheme-relative"<br/> ],<br/> "http://www.example.com/link": [ {<br/> "@list": [<br/> { "@id": "http://json-ld.org/test-suite/tests/link" },<br/> { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works" },<br/> { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works" },<br/> { "@id": "http://json-ld.org/test-suite/tests/" },<br/> { "@id": "http://json-ld.org/test-suite/" },<br/> { "@id": "http://json-ld.org/test-suite/parent" },<br/> { "@id": "http://json-ld.org/test-suite/parent#fragment" },<br/> { "@id": "http://json-ld.org/parent-parent-eq-root" },<br/> { "@id": "http://json-ld.org/still-root" },<br/> { "@id": "http://json-ld.org/too-many-dots" },<br/> { "@id": "http://json-ld.org/absolute" },<br/> { "@id": "http://example.org/scheme-relative" }<br/> ]<br/> } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0066-out.jsonld' title='Relative IRIs Result'>{<br/> "@context": {<br/> "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" }<br/> },<br/> "@id": "relativeIris",<br/> "@type": [<br/> "http://json-ld.org/test-suite/tests/link",<br/> "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works",<br/> "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works",<br/> "http://json-ld.org/test-suite/tests/",<br/> "http://json-ld.org/test-suite/",<br/> "http://json-ld.org/test-suite/parent",<br/> "http://json-ld.org/parent-parent-eq-root",<br/> "http://json-ld.org/still-root",<br/> "http://json-ld.org/too-many-dots",<br/> "http://json-ld.org/absolute",<br/> "http://example.org/scheme-relative"<br/> ],<br/> "links": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../parent#fragment",<br/> "../../parent-parent-eq-root",<br/> "../../still-root",<br/> "../../too-many-dots",<br/> "../../absolute",<br/> "http://example.org/scheme-relative"<br/> ]<br/>}<br/></pre>
+ </dd>
+ <dt id='test_t0067' resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0067'>
+ Test
+ <span property='dc:title mf:name'>Compact reverse property whose values are unlabeled blank nodes</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0067'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/compact-0067-in.jsonld' title='Compact reverse property whose values are unlabeled blank nodes Input'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> },<br/> {<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/compact-0067-out.jsonld' title='Compact reverse property whose values are unlabeled blank nodes Result'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": [<br/> {<br/> "name": "Dave Longley"<br/> },<br/> {<br/> "name": "Gregg Kellogg"<br/> }<br/> ]<br/>}<br/></pre>
+ </dd>
+ </div>
+ <div inlist='inlist' property='mf:entries' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld'>
+ <dt id='test_t0001' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0001'>
+ Test
+ <span property='dc:title mf:name'>drop free-floating nodes</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0001'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0001-in.jsonld' title='drop free-floating nodes Input'>{"@id": "http://example.org/test#example"}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0001-out.jsonld' title='drop free-floating nodes Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0002' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0002'>
+ Test
+ <span property='dc:title mf:name'>basic</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0002'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0002-in.jsonld' title='basic Input'>{<br/> "@context": {<br/> "t1": "http://example.com/t1",<br/> "t2": "http://example.com/t2",<br/> "term1": "http://example.com/term1",<br/> "term2": "http://example.com/term2",<br/> "term3": "http://example.com/term3",<br/> "term4": "http://example.com/term4",<br/> "term5": "http://example.com/term5"<br/> },<br/> "@id": "http://example.com/id1",<br/> "@type": "t1",<br/> "term1": "v1",<br/> "term2": {"@value": "v2", "@type": "t2"},<br/> "term3": {"@value": "v3", "@language": "en"},<br/> "term4": 4,<br/> "term5": [50, 51]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0002-out.jsonld' title='basic Result'>[{<br/> "@id": "http://example.com/id1",<br/> "@type": ["http://example.com/t1"],<br/> "http://example.com/term1": [{"@value": "v1"}],<br/> "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}],<br/> "http://example.com/term3": [{"@value": "v3", "@language": "en"}],<br/> "http://example.com/term4": [{"@value": 4}],<br/> "http://example.com/term5": [{"@value": 50}, {"@value": 51}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0003' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0003'>
+ Test
+ <span property='dc:title mf:name'>drop null and unmapped properties</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0003'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0003-in.jsonld' title='drop null and unmapped properties Input'>{<br/> "@id": "http://example.org/id",<br/> "http://example.org/property": null,<br/> "regularJson": {<br/> "nonJsonLd": "property",<br/> "deep": [{<br/> "foo": "bar"<br/> }, {<br/> "bar": "foo"<br/> }]<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0003-out.jsonld' title='drop null and unmapped properties Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0004' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0004'>
+ Test
+ <span property='dc:title mf:name'>optimize @set, keep empty arrays</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0004'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0004-in.jsonld' title='optimize @set, keep empty arrays Input'>{<br/> "@context": {<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"},<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set"},<br/> "myset3": {"@id": "http://example.com/myset3", "@container": "@set"}<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist1": { "@list": [ ] },<br/> "mylist2": "one item",<br/> "myset2": { "@set": [ ] },<br/> "myset3": [ "v1" ],<br/> "http://example.org/list1": { "@list": [ null ] },<br/> "http://example.org/list2": { "@list": [ {"@value": null} ] },<br/> "http://example.org/set1": { "@set": [ ] },<br/> "http://example.org/set1": { "@set": [ null ] },<br/> "http://example.org/set3": [ ],<br/> "http://example.org/set4": [ null ],<br/> "http://example.org/set5": "one item",<br/> "http://example.org/property": { "@list": "one item" }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0004-out.jsonld' title='optimize @set, keep empty arrays Result'>[{<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist1": [ { "@list": [ ] } ],<br/> "http://example.com/mylist2": [ { "@list": [ {"@value": "one item"} ] } ],<br/> "http://example.com/myset2": [ ],<br/> "http://example.com/myset3": [ {"@value": "v1"} ],<br/> "http://example.org/list1": [ { "@list": [ ] } ],<br/> "http://example.org/list2": [ { "@list": [ ] } ],<br/> "http://example.org/set1": [ ],<br/> "http://example.org/set1": [ ],<br/> "http://example.org/set3": [ ],<br/> "http://example.org/set4": [ ],<br/> "http://example.org/set5": [ {"@value": "one item"} ],<br/> "http://example.org/property": [ { "@list": [ {"@value": "one item"} ] } ]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0005' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0005'>
+ Test
+ <span property='dc:title mf:name'>do not expand aliased @id/@type</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0005'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0005-in.jsonld' title='do not expand aliased @id/@type Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepage": {<br/> "@id": "http://xmlns.com/foaf/0.1/homepage",<br/> "@type": "@id"<br/> },<br/> "know": "http://xmlns.com/foaf/0.1/knows",<br/> "@iri": "@id"<br/> },<br/> "@id": "#me",<br/> "know": [<br/> {<br/> "@id": "http://example.com/bob#me",<br/> "name": "Bob",<br/> "homepage": "http://example.com/bob"<br/> }, {<br/> "@id": "http://example.com/alice#me",<br/> "name": "Alice",<br/> "homepage": "http://example.com/alice"<br/> }<br/> ]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0005-out.jsonld' title='do not expand aliased @id/@type Result'>[{<br/> "@id": "http://json-ld.org/test-suite/tests/expand-0005-in.jsonld#me",<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/bob#me",<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "Bob"}],<br/> "http://xmlns.com/foaf/0.1/homepage": [{<br/> "@id": "http://example.com/bob"<br/> }]<br/> }, {<br/> "@id": "http://example.com/alice#me",<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "Alice"}],<br/> "http://xmlns.com/foaf/0.1/homepage": [{<br/> "@id": "http://example.com/alice"<br/> }]<br/> }<br/> ]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0006' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0006'>
+ Test
+ <span property='dc:title mf:name'>alias keywords</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0006'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0006-in.jsonld' title='alias keywords Input'>{<br/> "@context": {<br/> "http://example.org/test#property1": {<br/> "@type": "@id"<br/> },<br/> "http://example.org/test#property2": {<br/> "@type": "@id"<br/> },<br/> "uri": "@id"<br/> },<br/> "http://example.org/test#property1": {<br/> "http://example.org/test#property4": "foo",<br/> "uri": "http://example.org/test#example2"<br/> },<br/> "http://example.org/test#property2": "http://example.org/test#example3",<br/> "http://example.org/test#property3": {<br/> "uri": "http://example.org/test#example4"<br/> },<br/> "uri": "http://example.org/test#example1"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0006-out.jsonld' title='alias keywords Result'>[{<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/test#property1": [{<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/test#property4": [{"@value": "foo"}]<br/> }],<br/> "http://example.org/test#property2": [{<br/> "@id": "http://example.org/test#example3"<br/> }],<br/> "http://example.org/test#property3": [{<br/> "@id": "http://example.org/test#example4"<br/> }]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0007' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0007'>
+ Test
+ <span property='dc:title mf:name'>date type-coercion</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0007'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0007-in.jsonld' title='date type-coercion Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "ex:date": {<br/> "@type": "xsd:dateTime"<br/> },<br/> "ex:parent": {<br/> "@type": "@id"<br/> },<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test#example1",<br/> "ex:date": "2011-01-25T00:00:00Z",<br/> "ex:embed": {<br/> "@id": "http://example.org/test#example2",<br/> "ex:parent": "http://example.org/test#example1"<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0007-out.jsonld' title='date type-coercion Result'>[{<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/vocab#date": [{<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://www.w3.org/2001/XMLSchema#dateTime"<br/> }],<br/> "http://example.org/vocab#embed": [{<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/vocab#parent": [{<br/> "@id": "http://example.org/test#example1"<br/> }]<br/> }]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0008' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0008'>
+ Test
+ <span property='dc:title mf:name'>@value with @language</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0008'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0008-in.jsonld' title='@value with @language Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#"<br/> },<br/> "@id": "http://example.org/test",<br/> "ex:test": { "@value": "test", "@language": "en" },<br/> "ex:drop-lang-only": { "@language": "en" },<br/> "ex:keep-full-value": { "@value": "only value" }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0008-out.jsonld' title='@value with @language Result'>[<br/> {<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#test": [ { "@value": "test", "@language": "en" } ],<br/> "http://example.org/vocab#keep-full-value": [ {"@value": "only value"} ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0009' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0009'>
+ Test
+ <span property='dc:title mf:name'>@graph with terms</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0009'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0009-in.jsonld' title='@graph with terms Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> }<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "authored": "http://example.org/test#chapter",<br/> "name": "Jane"<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0009-out.jsonld' title='@graph with terms Result'>[<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}]<br/> }]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0010' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0010'>
+ Test
+ <span property='dc:title mf:name'>native types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0010'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0010-in.jsonld' title='native types Input'>{<br/> "@context": {<br/> "d": "http://purl.org/dc/elements/1.1/",<br/> "e": "http://example.org/vocab#",<br/> "f": "http://xmlns.com/foaf/0.1/",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test",<br/> "e:bool": true,<br/> "e:int": 123<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0010-out.jsonld' title='native types Result'>[{<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#bool": [{"@value": true}],<br/> "http://example.org/vocab#int": [{"@value": 123}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0011' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0011'>
+ Test
+ <span property='dc:title mf:name'>coerced @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0011'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0011-in.jsonld' title='coerced @id Input'>{<br/> "@context": {<br/> "dc": "http://purl.org/dc/elements/1.1/",<br/> "ex": "http://example.org/vocab#",<br/> "ex:contains": {<br/> "@type": "@id"<br/> },<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@id": "http://example.org/test#book",<br/> "dc:title": "Title",<br/> "ex:contains": "http://example.org/test#chapter"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0011-out.jsonld' title='coerced @id Result'>[{<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "Title"}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0012' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0012'>
+ Test
+ <span property='dc:title mf:name'>@graph with embed</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0012'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0012-in.jsonld' title='@graph with embed Input'>{<br/> "@context": {<br/> "dc": "http://purl.org/dc/elements/1.1/",<br/> "ex": "http://example.org/vocab#",<br/> "ex:authored": {<br/> "@type": "@id"<br/> },<br/> "ex:contains": {<br/> "@type": "@id"<br/> },<br/> "foaf": "http://xmlns.com/foaf/0.1/",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#"<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "dc:description": "Fun",<br/> "dc:title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "ex:authored": "http://example.org/test#chapter",<br/> "foaf:name": "Jane"<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "foaf:name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "ex:contains": {<br/> "@id": "http://example.org/test#book",<br/> "dc:contributor": "Writer",<br/> "dc:title": "My Book",<br/> "ex:contains": "http://example.org/test#chapter"<br/> }<br/> }<br/> ]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0012-out.jsonld' title='@graph with embed Result'>[<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}]<br/> }]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0013' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0013'>
+ Test
+ <span property='dc:title mf:name'>expand already expanded</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0013'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0013-in.jsonld' title='expand already expanded Input'>[{<br/> "@id": "http://example.com/id1",<br/> "@type": ["http://example.com/t1"],<br/> "http://example.com/term1": ["v1"],<br/> "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}],<br/> "http://example.com/term3": [{"@value": "v3", "@language": "en"}],<br/> "http://example.com/term4": [4],<br/> "http://example.com/term5": [50, 51]<br/>}]</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0013-out.jsonld' title='expand already expanded Result'>[{<br/> "@id": "http://example.com/id1",<br/> "@type": ["http://example.com/t1"],<br/> "http://example.com/term1": [{"@value": "v1"}],<br/> "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}],<br/> "http://example.com/term3": [{"@value": "v3", "@language": "en"}],<br/> "http://example.com/term4": [{"@value": 4}],<br/> "http://example.com/term5": [{"@value": 50}, {"@value": 51}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0014' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0014'>
+ Test
+ <span property='dc:title mf:name'>@set of @value objects with keyword aliases</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0014'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0014-in.jsonld' title='@set of @value objects with keyword aliases Input'>{<br/> "@context": {<br/> "ex": "http://example.org/test#",<br/> "property1": {<br/> "@id": "http://example.org/test#property1",<br/> "@type": "@id"<br/> },<br/> "property2": {<br/> "@id": "ex:property2",<br/> "@type": "@id"<br/> },<br/> "uri": "@id",<br/> "set": "@set",<br/> "value": "@value",<br/> "type": "@type",<br/> "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" }<br/> },<br/> "property1": {<br/> "uri": "ex:example2",<br/> "http://example.org/test#property4": "foo"<br/> },<br/> "property2": "http://example.org/test#example3",<br/> "http://example.org/test#property3": {<br/> "uri": "http://example.org/test#example4"<br/> },<br/> "ex:property4": {<br/> "uri": "ex:example4",<br/> "ex:property5": [<br/> {<br/> "set": [<br/> {<br/> "value": "2012-03-31",<br/> "type": "xsd:date"<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> "ex:property6": [<br/> {<br/> "set": [<br/> {<br/> "value": null,<br/> "type": "xsd:date"<br/> }<br/> ]<br/> }<br/> ],<br/> "uri": "http://example.org/test#example1"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0014-out.jsonld' title='@set of @value objects with keyword aliases Result'>[<br/> {<br/> "http://example.org/test#property1": [<br/> {<br/> "@id": "http://example.org/test#example2",<br/> "http://example.org/test#property4": [<br/> {"@value": "foo"}<br/> ]<br/> }<br/> ],<br/> "http://example.org/test#property2": [<br/> { "@id": "http://example.org/test#example3" }<br/> ],<br/> "http://example.org/test#property3": [<br/> { "@id": "http://example.org/test#example4" }<br/> ],<br/> "http://example.org/test#property4": [<br/> {<br/> "@id": "http://example.org/test#example4",<br/> "http://example.org/test#property5": [<br/> {<br/> "@value": "2012-03-31",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> ]<br/> }<br/> ],<br/> "http://example.org/test#property6": [],<br/> "@id": "http://example.org/test#example1"<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0015' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0015'>
+ Test
+ <span property='dc:title mf:name'>collapse set of sets, keep empty lists</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0015'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0015-in.jsonld' title='collapse set of sets, keep empty lists Input'>{<br/> "@context": {<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"},<br/> "myset1": {"@id": "http://example.com/myset1", "@container": "@set" },<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set" },<br/> "myset3": {"@id": "http://example.com/myset3", "@container": "@set" }<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist1": [],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ],<br/> "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0015-out.jsonld' title='collapse set of sets, keep empty lists Result'>[<br/> {<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist1": [ { "@list": [] } ],<br/> "http://example.com/myset1": [ ],<br/> "http://example.com/myset2": [ ],<br/> "http://example.com/myset3": [<br/> {"@value": "hello"},<br/> {"@value": "this"},<br/> {"@value": "will"},<br/> {"@value": "be"},<br/> {"@value": "collapsed"} ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0016' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0016'>
+ Test
+ <span property='dc:title mf:name'>context reset</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0016'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0016-in.jsonld' title='context reset Input'>{<br/> "@context": {<br/> "myproperty": { "@id": "http://example.com/myproperty" },<br/> "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"},<br/> "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"},<br/> "myset1": {"@id": "http://example.com/myset1", "@container": "@set" },<br/> "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }<br/> },<br/> "@id": "http://example.org/id1",<br/> "mylist1": [],<br/> "mylist2": [ 2, "hi" ],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ],<br/> "myproperty": {<br/> "@context": null,<br/> "@id": "http://example.org/id2",<br/> "mylist1": [],<br/> "mylist2": [ 2, "hi" ],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ],<br/> "http://example.org/myproperty2": "ok"<br/> },<br/> "http://example.com/emptyobj": {<br/> "@context": null,<br/> "mylist1": [],<br/> "mylist2": [ 2, "hi" ],<br/> "myset1": { "@set": [] },<br/> "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0016-out.jsonld' title='context reset Result'>[<br/> {<br/> "@id": "http://example.org/id1",<br/> "http://example.com/mylist1": [ { "@list": [] } ],<br/> "http://example.com/mylist2": [<br/> { "@list": [ {"@value": 2}, {"@value": "hi"} ] }<br/> ],<br/> "http://example.com/myset1": [ ],<br/> "http://example.com/myset2": [ ],<br/> "http://example.com/myproperty": [<br/> {<br/> "@id": "http://example.org/id2",<br/> "http://example.org/myproperty2": [ {"@value": "ok"} ]<br/> }<br/> ],<br/> "http://example.com/emptyobj": [ { } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0017' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0017'>
+ Test
+ <span property='dc:title mf:name'>@graph and @id aliased</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0017'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0017-in.jsonld' title='@graph and @id aliased Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> },<br/> "id": "@id",<br/> "data": "@graph"<br/> },<br/> "data": [<br/> {<br/> "id": "http://example.org/test#chapter",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "authored": "http://example.org/test#chapter",<br/> "name": "Jane"<br/> },<br/> {<br/> "id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0017-out.jsonld' title='@graph and @id aliased Result'>[<br/> {<br/> "@id": "http://example.org/test#chapter",<br/> "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://example.org/vocab#authored": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [{<br/> "@id": "http://example.org/test#chapter"<br/> }],<br/> "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}],<br/> "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}]<br/> }]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0018' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0018'>
+ Test
+ <span property='dc:title mf:name'>override default @language in terms; only language-tag strings</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0018'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0018-in.jsonld' title='override default @language in terms; only language-tag strings Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "@language": "en",<br/> "de": { "@id": "ex:german", "@language": "de" },<br/> "nolang": { "@id": "ex:nolang", "@language": null }<br/> },<br/> "@id": "http://example.org/test",<br/> "ex:test-default": [<br/> "hello",<br/> 1,<br/> true<br/> ],<br/> "de": [<br/> "hallo",<br/> 2,<br/> true<br/> ],<br/> "nolang": [<br/> "no language",<br/> 3,<br/> false<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0018-out.jsonld' title='override default @language in terms; only language-tag strings Result'>[<br/> {<br/> "@id": "http://example.org/test",<br/> "http://example.org/vocab#test-default": [ { "@value": "hello", "@language": "en" }, { "@value": 1 }, { "@value": true } ],<br/> "http://example.org/vocab#german": [ { "@value": "hallo", "@language": "de" }, { "@value": 2 }, { "@value": true } ],<br/> "http://example.org/vocab#nolang": [ {"@value": "no language"}, { "@value": 3 }, { "@value": false } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0019' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0019'>
+ Test
+ <span property='dc:title mf:name'>remove @value = null</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0019'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0019-in.jsonld' title='remove @value = null Input'>{<br/> "@context": {<br/> "myproperty": "http://example.com/myproperty"<br/> },<br/> "myproperty": { "@value" : null }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0019-out.jsonld' title='remove @value = null Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0020' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0020'>
+ Test
+ <span property='dc:title mf:name'>do not remove @graph if not at top-level</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0020'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0020-in.jsonld' title='do not remove @graph if not at top-level Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> }<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "name": "Jane",<br/> "authored": {<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "description": "More fun",<br/> "title": "Chapter Two"<br/> }<br/> ]<br/> }<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0020-out.jsonld' title='do not remove @graph if not at top-level Result'>[<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://xmlns.com/foaf/0.1/name": [ {"@value": "Jane"} ],<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "http://purl.org/dc/elements/1.1/description": [ {"@value": "Fun"} ],<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter One"} ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "http://purl.org/dc/elements/1.1/description": [ {"@value": "More fun"} ],<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Two"} ]<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [ {"@value": "John"} ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ],<br/> "http://purl.org/dc/elements/1.1/contributor": [ {"@value": "Writer"} ],<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "My Book"} ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0021' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0021'>
+ Test
+ <span property='dc:title mf:name'>do not remove @graph at top-level if not only property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0021'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0021-in.jsonld' title='do not remove @graph at top-level if not only property Input'>{<br/> "@context": {<br/> "authored": {<br/> "@id": "http://example.org/vocab#authored",<br/> "@type": "@id"<br/> },<br/> "contains": {<br/> "@id": "http://example.org/vocab#contains",<br/> "@type": "@id"<br/> },<br/> "contributor": "http://purl.org/dc/elements/1.1/contributor",<br/> "description": "http://purl.org/dc/elements/1.1/description",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "title": {<br/> "@id": "http://purl.org/dc/elements/1.1/title"<br/> }<br/> },<br/> "title": "My first graph",<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "name": "Jane",<br/> "authored": {<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "description": "Fun",<br/> "title": "Chapter One"<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "description": "More fun",<br/> "title": "Chapter Two"<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter3",<br/> "title": "Chapter Three"<br/> }<br/> ]<br/> }<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "name": "John"<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "contains": {<br/> "@id": "http://example.org/test#book",<br/> "contains": "http://example.org/test#chapter",<br/> "contributor": "Writer",<br/> "title": "My Book"<br/> }<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0021-out.jsonld' title='do not remove @graph at top-level if not only property Result'>[<br/> {<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "My first graph"} ],<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#jane",<br/> "http://xmlns.com/foaf/0.1/name": [ {"@value": "Jane"} ],<br/> "http://example.org/vocab#authored": [<br/> {<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/test#chapter1",<br/> "http://purl.org/dc/elements/1.1/description": [ {"@value": "Fun"} ],<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter One"} ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter2",<br/> "http://purl.org/dc/elements/1.1/description": [ {"@value": "More fun"} ],<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Two"} ]<br/> },<br/> {<br/> "@id": "http://example.org/test#chapter3",<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Three"} ]<br/> }<br/> ]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.org/test#john",<br/> "http://xmlns.com/foaf/0.1/name": [ {"@value": "John"} ]<br/> },<br/> {<br/> "@id": "http://example.org/test#library",<br/> "http://example.org/vocab#contains": [<br/> {<br/> "@id": "http://example.org/test#book",<br/> "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ],<br/> "http://purl.org/dc/elements/1.1/contributor": [ {"@value": "Writer"} ],<br/> "http://purl.org/dc/elements/1.1/title": [ {"@value": "My Book"} ]<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0022' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0022'>
+ Test
+ <span property='dc:title mf:name'>expand value with default language</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0022'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0022-in.jsonld' title='expand value with default language Input'>{<br/> "@context": {<br/> "term": "http://example.com/term",<br/> "@language": "en"<br/> },<br/> "term": "v"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0022-out.jsonld' title='expand value with default language Result'>[{<br/> "http://example.com/term": [{"@value": "v", "@language": "en"}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0023' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0023'>
+ Test
+ <span property='dc:title mf:name'>Expanding lists and sets with properties having coercion coerces list/set values</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0023'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0023-in.jsonld' title='Expanding lists and sets with properties having coercion coerces list/set values Input'>{<br/> "@context": {<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"},<br/> "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"},<br/> "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"},<br/> "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"},<br/> "idprop": {"@id": "http://example.com/idprop", "@type": "@id" },<br/> "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" },<br/> "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" },<br/> "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" }<br/> },<br/> "idlist": ["http://example.org/id"],<br/> "datelist": ["2012-04-12"],<br/> "idprop": {"@list": ["http://example.org/id"]},<br/> "dateprop": {"@list": ["2012-04-12"]},<br/> "idset": ["http://example.org/id"],<br/> "dateset": ["2012-04-12"],<br/> "idprop2": {"@set": ["http://example.org/id"]},<br/> "dateprop2": {"@set": ["2012-04-12"]}<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0023-out.jsonld' title='Expanding lists and sets with properties having coercion coerces list/set values Result'>[<br/> {<br/> "http://example.com/idlist": [{"@list": [{"@id": "http://example.org/id"}]}],<br/> "http://example.com/datelist": [{"@list": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]}],<br/> "http://example.com/idprop": [{"@list": [{"@id": "http://example.org/id"}]}],<br/> "http://example.com/dateprop": [{"@list": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]}],<br/> "http://example.com/idset": [{"@id": "http://example.org/id"}],<br/> "http://example.com/dateset": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}],<br/> "http://example.com/idprop2": [{"@id": "http://example.org/id"}],<br/> "http://example.com/dateprop2": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0024' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0024'>
+ Test
+ <span property='dc:title mf:name'>Multiple contexts</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0024'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0024-in.jsonld' title='Multiple contexts Input'>{<br/> "@context": [<br/> {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"}<br/> },<br/> {"ical": "http://www.w3.org/2002/12/cal/ical#"}<br/> ],<br/> "@id": "http://example.com/speakers#Alice",<br/> "name": "Alice",<br/> "homepage": "http://xkcd.com/177/",<br/> "ical:summary": "Alice Talk",<br/> "ical:location": "Lyon Convention Centre, Lyon, France"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0024-out.jsonld' title='Multiple contexts Result'>[{<br/> "@id": "http://example.com/speakers#Alice",<br/> "http://xmlns.com/foaf/0.1/name": [{"@value": "Alice"}],<br/> "http://xmlns.com/foaf/0.1/homepage": [{"@id": "http://xkcd.com/177/"}],<br/> "http://www.w3.org/2002/12/cal/ical#summary": [{"@value": "Alice Talk"}],<br/> "http://www.w3.org/2002/12/cal/ical#location": [{"@value": "Lyon Convention Centre, Lyon, France"}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0025' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0025'>
+ Test
+ <span property='dc:title mf:name'>Problematic IRI expansion tests</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0025'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0025-in.jsonld' title='Problematic IRI expansion tests Input'>{<br/> "@context": {<br/> "foo": "http://example.com/foo/",<br/> "foo:bar": "http://example.com/bar",<br/> "bar": {"@id": "foo:bar", "@type": "@id"},<br/> "_": "http://example.com/underscore/"<br/> },<br/> "@type": [ "foo", "foo:bar", "_" ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0025-out.jsonld' title='Problematic IRI expansion tests Result'>[{<br/> "@type": [<br/> "http://example.com/foo/",<br/> "http://example.com/bar",<br/> "http://example.com/underscore/"<br/> ]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0026' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0026'>
+ Test
+ <span property='dc:title mf:name'>Expanding term mapping to @type uses @type syntax</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0026'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0026-in.jsonld' title='Expanding term mapping to @type uses @type syntax Input'>{<br/> "@context": {<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"}<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/a",<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b"<br/> }, {<br/> "@id": "http://example.com/c",<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [<br/> "http://example.com/d",<br/> "http://example.com/e"<br/> ]<br/> }, {<br/> "@id": "http://example.com/f",<br/> "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0026-out.jsonld' title='Expanding term mapping to @type uses @type syntax Result'>[<br/> {<br/> "@id": "http://example.com/a",<br/> "@type": [<br/> "http://example.com/b"<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/c",<br/> "@type": [<br/> "http://example.com/d",<br/> "http://example.com/e"<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/f",<br/> "@type": [<br/> "http://example.com/g"<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0027' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0027'>
+ Test
+ <span property='dc:title mf:name'>Keep duplicate values in @list and @set</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0027'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0027-in.jsonld' title='Keep duplicate values in @list and @set Input'>{<br/> "@context": {<br/> "mylist": {"@id": "http://example.com/mylist", "@container": "@list"},<br/> "myset": {"@id": "http://example.com/myset", "@container": "@set"}<br/> },<br/> "@id": "http://example.org/id",<br/> "mylist": [1, 2, 2, 3],<br/> "myset": [1, 2, 2, 3]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0027-out.jsonld' title='Keep duplicate values in @list and @set Result'>[{<br/> "@id": "http://example.org/id",<br/> "http://example.com/mylist": [{<br/> "@list": [<br/> {"@value": 1},<br/> {"@value": 2},<br/> {"@value": 2},<br/> {"@value": 3}<br/> ]<br/> }],<br/> "http://example.com/myset": [<br/> {"@value": 1},<br/> {"@value": 2},<br/> {"@value": 2},<br/> {"@value": 3}<br/> ]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0028' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0028'>
+ Test
+ <span property='dc:title mf:name'>Use @vocab in properties and @type but not in @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0028'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0028-in.jsonld' title='Use @vocab in properties and @type but not in @id Input'>{<br/> "@context": {<br/> "@vocab": "http://example.org/vocab#",<br/> "date": { "@type": "dateTime" }<br/> },<br/> "@id": "example1",<br/> "@type": "test",<br/> "date": "2011-01-25T00:00:00Z",<br/> "embed": {<br/> "@id": "example2",<br/> "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0028-out.jsonld' title='Use @vocab in properties and @type but not in @id Result'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example1",<br/> "@type": [ "http://example.org/vocab#test" ],<br/> "http://example.org/vocab#date": [<br/> {<br/> "@value": "2011-01-25T00:00:00Z",<br/> "@type": "http://example.org/vocab#dateTime"<br/> }<br/> ],<br/> "http://example.org/vocab#embed": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example2",<br/> "http://example.org/vocab#expandedDate": [<br/> {<br/> "@value": "2012-08-01T00:00:00Z",<br/> "@type": "http://example.org/vocab#dateTime"<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0029' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0029'>
+ Test
+ <span property='dc:title mf:name'>Relative IRIs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0029'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0029-in.jsonld' title='Relative IRIs Input'>{<br/> "@context": {<br/> "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" }<br/> },<br/> "@id": "relativeIris",<br/> "@type": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../../parent-parent-eq-root",<br/> "../../../../../still-root",<br/> "../.././.././../../too-many-dots",<br/> "/absolute",<br/> "//example.org/scheme-relative"<br/> ],<br/> "links": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../../parent-parent-eq-root",<br/> "./../../../useless/../../../still-root",<br/> "../.././.././../../too-many-dots",<br/> "/absolute",<br/> "//example.org/scheme-relative"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0029-out.jsonld' title='Relative IRIs Result'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relativeIris",<br/> "@type": [<br/> "http://json-ld.org/test-suite/tests/link",<br/> "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works",<br/> "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld?query=works",<br/> "http://json-ld.org/test-suite/tests/",<br/> "http://json-ld.org/test-suite/",<br/> "http://json-ld.org/test-suite/parent",<br/> "http://json-ld.org/parent-parent-eq-root",<br/> "http://json-ld.org/still-root",<br/> "http://json-ld.org/too-many-dots",<br/> "http://json-ld.org/absolute",<br/> "http://example.org/scheme-relative"<br/> ],<br/> "http://www.example.com/link": [ {<br/> "@list": [<br/> { "@id": "http://json-ld.org/test-suite/tests/link" },<br/> { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works" },<br/> { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld?query=works" },<br/> { "@id": "http://json-ld.org/test-suite/tests/" },<br/> { "@id": "http://json-ld.org/test-suite/" },<br/> { "@id": "http://json-ld.org/test-suite/parent" },<br/> { "@id": "http://json-ld.org/parent-parent-eq-root" },<br/> { "@id": "http://json-ld.org/still-root" },<br/> { "@id": "http://json-ld.org/too-many-dots" },<br/> { "@id": "http://json-ld.org/absolute" },<br/> { "@id": "http://example.org/scheme-relative" }<br/> ]<br/> } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0030' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0030'>
+ Test
+ <span property='dc:title mf:name'>Language maps</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0030'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0030-in.jsonld' title='Language maps Input'>{<br/> "@context": {<br/> "vocab": "http://example.com/vocab/",<br/> "label": {<br/> "@id": "vocab:label",<br/> "@container": "@language"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": {<br/> "en": "The Queen",<br/> "de": [ "Die Königin", "Ihre Majestät" ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0030-out.jsonld' title='Language maps Result'>[<br/> {<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label":<br/> [<br/> {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> }, {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> }, {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0031' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0031'>
+ Test
+ <span property='dc:title mf:name'>type-coercion of native types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0031'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0031-in.jsonld' title='type-coercion of native types Input'>{<br/> "@context": {<br/> "ex": "http://example.org/vocab#",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "ex:integer": { "@type": "xsd:integer" },<br/> "ex:double": { "@type": "xsd:double" },<br/> "ex:boolean": { "@type": "xsd:boolean" }<br/> },<br/> "@id": "http://example.org/test#example1",<br/> "ex:integer": 1,<br/> "ex:double": 123.45,<br/> "ex:boolean": true<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0031-out.jsonld' title='type-coercion of native types Result'>[<br/> {<br/> "@id": "http://example.org/test#example1",<br/> "http://example.org/vocab#integer": [ {<br/> "@value": 1,<br/> "@type": "http://www.w3.org/2001/XMLSchema#integer"<br/> } ],<br/> "http://example.org/vocab#double": [ {<br/> "@value": 123.45,<br/> "@type": "http://www.w3.org/2001/XMLSchema#double"<br/> } ],<br/> "http://example.org/vocab#boolean": [ {<br/> "@value": true,<br/> "@type": "http://www.w3.org/2001/XMLSchema#boolean"<br/> } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0032' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0032'>
+ Test
+ <span property='dc:title mf:name'>Mapping a term to null decouples it from @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0032'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0032-in.jsonld' title='Mapping a term to null decouples it from @vocab Input'>{<br/> "@context": {<br/> "@vocab": "http://xmlns.com/foaf/0.1/",<br/> "from": null,<br/> "university": { "@id": null }<br/> },<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "from": "Italy",<br/> "university": "TU Graz"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0032-out.jsonld' title='Mapping a term to null decouples it from @vocab Result'>[<br/> {<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://xmlns.com/foaf/0.1/name": [<br/> {<br/> "@value": "Markus Lanthaler"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0033' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0033'>
+ Test
+ <span property='dc:title mf:name'>Using @vocab with with type-coercion</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0033'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0033-in.jsonld' title='Using @vocab with with type-coercion Input'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab#",<br/> "homepage": {<br/> "@type": "@id"<br/> },<br/> "created_at": {<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/> },<br/> "name": "Markus Lanthaler",<br/> "homepage": "http://www.markus-lanthaler.com/",<br/> "created_at": "2012-10-28"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0033-out.jsonld' title='Using @vocab with with type-coercion Result'>[{<br/> "http://example.com/vocab#name": [{<br/> "@value": "Markus Lanthaler"<br/> }],<br/> "http://example.com/vocab#homepage": [{<br/> "@id": "http://www.markus-lanthaler.com/"<br/> }],<br/> "http://example.com/vocab#created_at": [{<br/> "@value": "2012-10-28",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0034' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0034'>
+ Test
+ <span property='dc:title mf:name'>Multiple properties expanding to the same IRI</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0034'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0034-in.jsonld' title='Multiple properties expanding to the same IRI Input'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab/",<br/> "colliding": "http://example.com/vocab/collidingTerm"<br/> },<br/> "@id": "http://example.com/IriCollissions",<br/> "colliding": [<br/> "value 1",<br/> 2<br/> ],<br/> "collidingTerm": [<br/> 3,<br/> "four"<br/> ],<br/> "http://example.com/vocab/collidingTerm": 5<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0034-out.jsonld' title='Multiple properties expanding to the same IRI Result'>[{<br/> "@id": "http://example.com/IriCollissions",<br/> "http://example.com/vocab/collidingTerm": [<br/> {<br/> "@value": "value 1"<br/> }, {<br/> "@value": 2<br/> }, {<br/> "@value": 3<br/> }, {<br/> "@value": "four"<br/> },<br/> {<br/> "@value": 5<br/> }<br/> ]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0035' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0035'>
+ Test
+ <span property='dc:title mf:name'>Using language maps with @vocab, a default language, and a colliding property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0035'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0035-in.jsonld' title='Using language maps with @vocab, a default language, and a colliding property Input'>{<br/> "@context": {<br/> "@vocab": "http://example.com/vocab/",<br/> "@language": "it",<br/> "label": {<br/> "@container": "@language"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": {<br/> "en": "The Queen",<br/> "de": [ "Die Königin", "Ihre Majestät" ]<br/> },<br/> "http://example.com/vocab/label": [<br/> "Il re",<br/> { "@value": "The king", "@language": "en" }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0035-out.jsonld' title='Using language maps with @vocab, a default language, and a colliding property Result'>[{<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label": [<br/> {<br/> "@value": "Il re",<br/> "@language": "it"<br/> }, {<br/> "@value": "The king",<br/> "@language": "en"<br/> }, {<br/> "@value": "Die Königin",<br/> "@language": "de"<br/> }, {<br/> "@value": "Ihre Majestät",<br/> "@language": "de"<br/> }, {<br/> "@value": "The Queen",<br/> "@language": "en"<br/> }<br/> ]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0036' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0036'>
+ Test
+ <span property='dc:title mf:name'>Expanding @index</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0036'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0036-in.jsonld' title='Expanding @index Input'>{<br/> "@context": {<br/> "property": "http://example.com/property",<br/> "indexContainer": { "@id": "http://example.com/container", "@container": "@index" }<br/> },<br/> "@id": "http://example.org/indexTest",<br/> "indexContainer": {<br/> "A": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexA",<br/> "@index": "this overrides the 'A' index from the container"<br/> },<br/> 1,<br/> true,<br/> false,<br/> null,<br/> "simple string A",<br/> {<br/> "@value": "typed literal A",<br/> "@type": "http://example.org/type"<br/> },<br/> {<br/> "@value": "language-tagged string A",<br/> "@language": "en"<br/> }<br/> ],<br/> "B": "simple string B",<br/> "C": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexC",<br/> "@index": "this overrides the 'C' index from the container"<br/> },<br/> 3,<br/> true,<br/> false,<br/> null,<br/> "simple string C",<br/> {<br/> "@value": "typed literal C",<br/> "@type": "http://example.org/type"<br/> },<br/> {<br/> "@value": "language-tagged string C",<br/> "@language": "en"<br/> }<br/> ]<br/> },<br/> "property": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": null,<br/> "@index": "prop"<br/> },<br/> "simple string no index",<br/> {<br/> "@value": "typed literal Prop",<br/> "@type": "http://example.org/type",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "language-tagged string Prop",<br/> "@language": "en",<br/> "@index": "prop"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0036-out.jsonld' title='Expanding @index Result'>[<br/> {<br/> "@id": "http://example.org/indexTest",<br/> "http://example.com/container": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexA",<br/> "@index": "A"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexA",<br/> "@index": "this overrides the 'A' index from the container"<br/> },<br/> {<br/> "@value": 1,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "simple string A",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "typed literal A",<br/> "@type": "http://example.org/type",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "language-tagged string A",<br/> "@language": "en",<br/> "@index": "A"<br/> },<br/> {<br/> "@value": "simple string B",<br/> "@index": "B"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexC",<br/> "@index": "C"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexC",<br/> "@index": "this overrides the 'C' index from the container"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "simple string C",<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "typed literal C",<br/> "@type": "http://example.org/type",<br/> "@index": "C"<br/> },<br/> {<br/> "@value": "language-tagged string C",<br/> "@language": "en",<br/> "@index": "C"<br/> }<br/> ],<br/> "http://example.com/property": [<br/> {<br/> "@id": "http://example.org/nodeWithoutIndexProp"<br/> },<br/> {<br/> "@id": "http://example.org/nodeWithIndexProp",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": 3,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": true,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": false,<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "simple string no index"<br/> },<br/> {<br/> "@value": "typed literal Prop",<br/> "@type": "http://example.org/type",<br/> "@index": "prop"<br/> },<br/> {<br/> "@value": "language-tagged string Prop",<br/> "@language": "en",<br/> "@index": "prop"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0037' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0037'>
+ Test
+ <span property='dc:title mf:name'>Expanding @reverse</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0037'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0037-in.jsonld' title='Expanding @reverse Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0037-out.jsonld' title='Expanding @reverse Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0038' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0038'>
+ Test
+ <span property='dc:title mf:name'>Blank nodes are not relabeled during expansion.</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0038'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0038-in.jsonld' title='Blank nodes are not relabeled during expansion. Input'>{<br/> "@context": {<br/> "term": "_:term",<br/> "termId": { "@id": "term", "@type": "@id" },<br/> "termTyped": { "@id": "term", "@type": "_:term" }<br/> },<br/> "@id": "_:term",<br/> "@type": "_:term",<br/> "term": [<br/> {<br/> "@id": "_:term",<br/> "@type": "term",<br/> "termTyped": "typed value term"<br/> },<br/> {<br/> "@id": "_:Bx",<br/> "term": "term"<br/> },<br/> "plain value",<br/> {<br/> "@id": "_:term"<br/> },<br/> {<br/> "@value": "term: typed value with type set to bnode",<br/> "@type": "_:term"<br/> },<br/> {<br/> "@value": "term: typed value with type set to term",<br/> "@type": "term"<br/> }<br/> ],<br/> "termId": [<br/> {<br/> "@id": "_:term",<br/> "@type": "term",<br/> "termTyped": "typed value termId"<br/> },<br/> {<br/> "@id": "_:Cx",<br/> "term": "termId"<br/> },<br/> "term:AppendedToBlankNode",<br/> "_:termAppendedToBlankNode",<br/> "relativeIri",<br/> {<br/> "@id": "_:term"<br/> },<br/> {<br/> "@value": "termId: typed value with type set to bnode",<br/> "@type": "_:term"<br/> },<br/> {<br/> "@value": "termId: typed value with type set to term",<br/> "@type": "term"<br/> }<br/> ],<br/> "termTyped": [<br/> "termTyped: value"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0038-out.jsonld' title='Blank nodes are not relabeled during expansion. Result'>[<br/> {<br/> "@id": "_:term",<br/> "@type": [<br/> "_:term"<br/> ],<br/> "_:term": [<br/> {<br/> "@id": "_:term",<br/> "@type": [<br/> "_:term"<br/> ],<br/> "_:term": [<br/> {<br/> "@value": "typed value term",<br/> "@type": "_:term"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:Bx",<br/> "_:term": [<br/> {<br/> "@value": "term"<br/> }<br/> ]<br/> },<br/> {<br/> "@value": "plain value"<br/> },<br/> {<br/> "@id": "_:term"<br/> },<br/> {<br/> "@type": "_:term",<br/> "@value": "term: typed value with type set to bnode"<br/> },<br/> {<br/> "@type": "_:term",<br/> "@value": "term: typed value with type set to term"<br/> },<br/> {<br/> "@id": "_:term",<br/> "@type": [<br/> "_:term"<br/> ],<br/> "_:term": [<br/> {<br/> "@value": "typed value termId",<br/> "@type": "_:term"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:Cx",<br/> "_:term": [<br/> {<br/> "@value": "termId"<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "_:termAppendedToBlankNode"<br/> },<br/> {<br/> "@id": "_:termAppendedToBlankNode"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relativeIri"<br/> },<br/> {<br/> "@id": "_:term"<br/> },<br/> {<br/> "@type": "_:term",<br/> "@value": "termId: typed value with type set to bnode"<br/> },<br/> {<br/> "@type": "_:term",<br/> "@value": "termId: typed value with type set to term"<br/> },<br/> {<br/> "@value": "termTyped: value",<br/> "@type": "_:term"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0039' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0039'>
+ Test
+ <span property='dc:title mf:name'>Using terms in a reverse-maps</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0039'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0039-in.jsonld' title='Using terms in a reverse-maps Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "knows": "http://xmlns.com/foaf/0.1/knows"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0039-out.jsonld' title='Using terms in a reverse-maps Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0040' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0040'>
+ Test
+ <span property='dc:title mf:name'>Only invoke language and index map expansion if the value is a JSON object</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0040'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0040-in.jsonld' title='Only invoke language and index map expansion if the value is a JSON object Input'>{<br/> "@context": {<br/> "vocab": "http://example.com/vocab/",<br/> "label": {<br/> "@id": "vocab:label",<br/> "@container": "@language"<br/> },<br/> "indexes": {<br/> "@id": "vocab:index",<br/> "@container": "@index"<br/> }<br/> },<br/> "@id": "http://example.com/queen",<br/> "label": [<br/> "The Queen"<br/> ],<br/> "indexes":<br/> [<br/> "No",<br/> "indexes",<br/> { "@id": "asTheValueIsntAnObject" }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0040-out.jsonld' title='Only invoke language and index map expansion if the value is a JSON object Result'>[<br/> {<br/> "@id": "http://example.com/queen",<br/> "http://example.com/vocab/label":<br/> [<br/> {<br/> "@value": "The Queen"<br/> }<br/> ],<br/> "http://example.com/vocab/index":<br/> [<br/> {<br/> "@value": "No"<br/> },<br/> {<br/> "@value": "indexes"<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0041' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0041'>
+ Test
+ <span property='dc:title mf:name'>Reset the default language</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0041'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0041-in.jsonld' title='Reset the default language Input'>{<br/> "@context": {<br/> "property": "http://example.com/property",<br/> "nested": "http://example.com/nested",<br/> "@language": "en"<br/> },<br/> "property": "this is English",<br/> "nested": {<br/> "@context": {<br/> "@language": null<br/> },<br/> "property": "and this is a plain string"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0041-out.jsonld' title='Reset the default language Result'>[<br/> {<br/> "http://example.com/property": [ { "@value": "this is English", "@language": "en" } ],<br/> "http://example.com/nested": [<br/> {<br/> "http://example.com/property": [ { "@value": "and this is a plain string" } ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0042' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0042'>
+ Test
+ <span property='dc:title mf:name'>Expanding reverse properties</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0042'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0042-in.jsonld' title='Expanding reverse properties Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0042-out.jsonld' title='Expanding reverse properties Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0043' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0043'>
+ Test
+ <span property='dc:title mf:name'>Using reverse properties inside a @reverse-container</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0043'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0043-in.jsonld' title='Using reverse properties inside a @reverse-container Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "isKnownBy": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "name": "Gregg Kellogg"<br/> }<br/> ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0043-out.jsonld' title='Using reverse properties inside a @reverse-container Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ]<br/> }<br/> ],<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0044' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0044'>
+ Test
+ <span property='dc:title mf:name'>Ensure index maps use language mapping</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0044'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0044-in.jsonld' title='Ensure index maps use language mapping Input'>{<br/> "@context": {<br/> "property": { "@id": "http://example.com/vocab/property", "@language": "de" },<br/> "indexMap": { "@id": "http://example.com/vocab/indexMap", "@language": "en", "@container": "@index" }<br/> },<br/> "@id": "http://example.com/node",<br/> "property": [<br/> {<br/> "@id": "http://example.com/propertyValueNode",<br/> "indexMap": {<br/> "expands to english string": "simple string"<br/> }<br/> },<br/> "einfacher String"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0044-out.jsonld' title='Ensure index maps use language mapping Result'>[<br/> {<br/> "@id": "http://example.com/node",<br/> "http://example.com/vocab/property": [<br/> {<br/> "@id": "http://example.com/propertyValueNode",<br/> "http://example.com/vocab/indexMap": [<br/> {<br/> "@value": "simple string",<br/> "@language": "en",<br/> "@index": "expands to english string"<br/> }<br/> ]<br/> },<br/> {<br/> "@value": "einfacher String",<br/> "@language": "de"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0045' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0045'>
+ Test
+ <span property='dc:title mf:name'>Top-level value objects are removed</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0045'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0045-in.jsonld' title='Top-level value objects are removed Input'>{<br/> "@value": "free-floating value"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0045-out.jsonld' title='Top-level value objects are removed Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0046' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0046'>
+ Test
+ <span property='dc:title mf:name'>Free-floating nodes are removed</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0046'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0046-in.jsonld' title='Free-floating nodes are removed Input'>{<br/> "@graph": [<br/> { "@id": "http://example.com/free-floating-node" },<br/> { "@value": "free-floating value object" },<br/> { "@value": "free-floating value language-tagged string", "@language": "en" },<br/> { "@value": "free-floating value typed value", "@type": "http://example.com/type" },<br/> "free-floating plain string",<br/> true,<br/> false,<br/> null,<br/> 1,<br/> 1.5<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0046-out.jsonld' title='Free-floating nodes are removed Result'>[ ]<br/></pre>
+ </dd>
+ <dt id='test_t0047' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0047'>
+ Test
+ <span property='dc:title mf:name'>Free-floating values in sets are removed, free-floating lists are removed completely</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0047'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0047-in.jsonld' title='Free-floating values in sets are removed, free-floating lists are removed completely Input'>{<br/> "@context": {<br/> "property": "http://example.com/property"<br/> },<br/> "@graph": [<br/> {<br/> "@set": [<br/> "free-floating strings in set objects are removed",<br/> {<br/> "@id": "http://example.com/free-floating-node"<br/> },<br/> {<br/> "@id": "http://example.com/node",<br/> "property": "nodes with properties are not removed"<br/> }<br/> ]<br/> },<br/> {<br/> "@list": [<br/> "lists are removed even though they represent an invisible linked structure, they have no real meaning",<br/> {<br/> "@id": "http://example.com/node-in-free-floating-list",<br/> "property": "everything inside a free-floating list is removed with the list; also nodes with properties"<br/> }<br/> ]<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0047-out.jsonld' title='Free-floating values in sets are removed, free-floating lists are removed completely Result'>[<br/> {<br/> "@id": "http://example.com/node",<br/> "http://example.com/property": [<br/> {<br/> "@value": "nodes with properties are not removed"<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0048' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0048'>
+ Test
+ <span property='dc:title mf:name'>Terms are ignored in @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0048'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0048-in.jsonld' title='Terms are ignored in @id Input'>{<br/> "@context": {<br/> "term": "http://example.com/terms-are-not-considered-in-id",<br/> "compact-iris": "http://example.com/compact-iris-",<br/> "property": "http://example.com/property",<br/> "@vocab": "http://example.org/vocab-is-not-considered-for-id"<br/> },<br/> "@id": "term",<br/> "property": [<br/> {<br/> "@id": "compact-iris:are-considered",<br/> "property": "@id supports the following values: relative, absolute, and compact IRIs"<br/> },<br/> {<br/> "@id": "../parent-node",<br/> "property": "relative IRIs get resolved against the document's base IRI"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0048-out.jsonld' title='Terms are ignored in @id Result'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/term",<br/> "http://example.com/property": [<br/> {<br/> "@id": "http://example.com/compact-iris-are-considered",<br/> "http://example.com/property": [<br/> { "@value": "@id supports the following values: relative, absolute, and compact IRIs" }<br/> ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/parent-node",<br/> "http://example.com/property": [<br/> { "@value": "relative IRIs get resolved against the document's base IRI" }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0049' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0049'>
+ Test
+ <span property='dc:title mf:name'>Using strings as value of a reverse property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0049'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0049-in.jsonld' title='Using strings as value of a reverse property Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": [<br/> "http://example.com/people/dave",<br/> "http://example.com/people/gregg"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0049-out.jsonld' title='Using strings as value of a reverse property Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave"<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg"<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0050' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0050'>
+ Test
+ <span property='dc:title mf:name'>Context definitions using compact IRIs don't inherit the definitions of the prefix</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0050'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0050-in.jsonld' title="Context definitions using compact IRIs don't inherit the definitions of the prefix Input">{<br/> "@context": {<br/> "issue": { "@id": "http://example.com/issue/", "@type": "@id" },<br/> "issue:raisedBy": { "@container": "@set" }<br/> },<br/> "issue": "/issue/1",<br/> "issue:raisedBy": "Markus"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0050-out.jsonld' title="Context definitions using compact IRIs don't inherit the definitions of the prefix Result">[<br/> {<br/> "http://example.com/issue/": [ { "@id": "http://json-ld.org/issue/1" } ],<br/> "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0051' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0051'>
+ Test
+ <span property='dc:title mf:name'>Expansion of keyword aliases in term definitions</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0051'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0051-in.jsonld' title='Expansion of keyword aliases in term definitions Input'>{<br/> "@context": [<br/> { "id": "@id" },<br/> { "url": "id" }<br/> ],<br/> "url": "/issue/1",<br/> "http://example.com/property": "ok"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0051-out.jsonld' title='Expansion of keyword aliases in term definitions Result'>[{<br/> "http://example.com/property": [{<br/> "@value": "ok"<br/> }],<br/> "@id": "http://json-ld.org/issue/1"<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0052' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0052'>
+ Test
+ <span property='dc:title mf:name'>@vocab-relative IRIs in term definitions</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0052'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0052-in.jsonld' title='@vocab-relative IRIs in term definitions Input'>{<br/> "@context": {<br/> "@vocab": "http://example.org/",<br/> "property": "vocabRelativeProperty"<br/> },<br/> "property": "must expand to http://example.org/vocabRelativeProperty",<br/> "http://example.org/property": "ok"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0052-out.jsonld' title='@vocab-relative IRIs in term definitions Result'>[<br/> {<br/> "http://example.org/property": [ { "@value": "ok" } ],<br/> "http://example.org/vocabRelativeProperty": [ { "@value": "must expand to http://example.org/vocabRelativeProperty" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0053' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0053'>
+ Test
+ <span property='dc:title mf:name'>Expand absolute IRI with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0053'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0053-in.jsonld' title='Expand absolute IRI with @type: @vocab Input'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"}<br/> },<br/> "term": "http://example.org/enum"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0053-out.jsonld' title='Expand absolute IRI with @type: @vocab Result'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0054' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0054'>
+ Test
+ <span property='dc:title mf:name'>Expand term with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0054'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0054-in.jsonld' title='Expand term with @type: @vocab Input'>{<br/> "@context": {<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"},<br/> "enum": {"@id": "http://example.org/enum"}<br/> },<br/> "term": "enum"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0054-out.jsonld' title='Expand term with @type: @vocab Result'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0055' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0055'>
+ Test
+ <span property='dc:title mf:name'>Expand @vocab-relative term with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0055'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0055-in.jsonld' title='Expand @vocab-relative term with @type: @vocab Input'>{<br/> "@context": {<br/> "@vocab": "http://example.org/",<br/> "term": {"@id": "http://example.org/term", "@type": "@vocab"}<br/> },<br/> "term": "enum"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0055-out.jsonld' title='Expand @vocab-relative term with @type: @vocab Result'>[{<br/> "http://example.org/term": [{"@id": "http://example.org/enum"}]<br/>}]<br/></pre>
+ </dd>
+ <dt id='test_t0056' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0056'>
+ Test
+ <span property='dc:title mf:name'>Use terms with @type: @vocab but not with @type: @id</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0056'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0056-in.jsonld' title='Use terms with @type: @vocab but not with @type: @id Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" },<br/> "link": { "@id": "http://example.com/link", "@type": "@id" },<br/> "MarkusHomepage": "http://www.markus-lanthaler.com/",<br/> "relative-iri": "http://example.com/error-if-this-is-used-for-link"<br/> },<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "name": "Markus Lanthaler",<br/> "homepage": "MarkusHomepage",<br/> "link": "relative-iri"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0056-out.jsonld' title='Use terms with @type: @vocab but not with @type: @id Result'>[<br/> {<br/> "@id": "http://me.markus-lanthaler.com/",<br/> "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://www.markus-lanthaler.com/" } ],<br/> "http://example.com/link": [ { "@id": "http://json-ld.org/test-suite/tests/relative-iri" } ],<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0057' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0057'>
+ Test
+ <span property='dc:title mf:name'>Expand relative IRI with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0057'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0057-in.jsonld' title='Expand relative IRI with @type: @vocab Input'>{<br/> "@context": {<br/> "term": { "@id": "http://example.org/term", "@type": "@vocab" }<br/> },<br/> "term": "not-a-term-thus-a-relative-IRI"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0057-out.jsonld' title='Expand relative IRI with @type: @vocab Result'>[<br/> {<br/> "http://example.org/term": [ { "@id": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0058' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0058'>
+ Test
+ <span property='dc:title mf:name'>Expand compact IRI with @type: @vocab</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0058'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0058-in.jsonld' title='Expand compact IRI with @type: @vocab Input'>{<br/> "@context": {<br/> "term": { "@id": "http://example.org/term", "@type": "@vocab" },<br/> "prefix": "http://example.com/vocab#"<br/> },<br/> "term": "prefix:suffix"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0058-out.jsonld' title='Expand compact IRI with @type: @vocab Result'>[<br/> {<br/> "http://example.org/term": [ { "@id": "http://example.com/vocab#suffix" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0059' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0059'>
+ Test
+ <span property='dc:title mf:name'>Reset @vocab by setting it to null</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0059'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0059-in.jsonld' title='Reset @vocab by setting it to null Input'>{<br/> "@context": {<br/> "@vocab": "http://example.org/vocab#"<br/> },<br/> "@id": "example-with-vocab",<br/> "@type": "vocab-prefixed",<br/> "property": "property expanded using @vocab",<br/> "embed": {<br/> "@context": {<br/> "@vocab": null<br/> },<br/> "@id": "example-vocab-reset",<br/> "@type": "document-relative",<br/> "property": "@vocab reset, property will be dropped"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0059-out.jsonld' title='Reset @vocab by setting it to null Result'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example-with-vocab",<br/> "@type": [ "http://example.org/vocab#vocab-prefixed" ],<br/> "http://example.org/vocab#embed": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/example-vocab-reset",<br/> "@type": [ "http://json-ld.org/test-suite/tests/document-relative" ]<br/> }<br/> ],<br/> "http://example.org/vocab#property": [ { "@value": "property expanded using @vocab" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0060' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0060'>
+ Test
+ <span property='dc:title mf:name'>Overwrite document base with @base and reset it again</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0060'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0060-in.jsonld' title='Overwrite document base with @base and reset it again Input'>{<br/> "@context": {<br/> "property": "http://example.com/vocab#property"<br/> },<br/> "@id": "../document-relative",<br/> "@type": "#document-relative",<br/> "property": {<br/> "@context": {<br/> "@base": "http://example.org/test/"<br/> },<br/> "@id": "../document-base-overwritten",<br/> "@type": "#document-base-overwritten",<br/> "property": [<br/> {<br/> "@context": null,<br/> "@id": "../document-relative",<br/> "@type": "#document-relative",<br/> "property": "context completely reset, drops property"<br/> },<br/> {<br/> "@context": {<br/> "@base": null<br/> },<br/> "@id": "../document-relative",<br/> "@type": "#document-relative",<br/> "property": "only @base is reset"<br/> }<br/> ]<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0060-out.jsonld' title='Overwrite document base with @base and reset it again Result'>[<br/> {<br/> "@id": "http://json-ld.org/test-suite/document-relative",<br/> "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ],<br/> "http://example.com/vocab#property": [<br/> {<br/> "@id": "http://example.org/document-base-overwritten",<br/> "@type": [ "http://example.org/test/#document-base-overwritten" ],<br/> "http://example.com/vocab#property": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/document-relative",<br/> "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ]<br/> },<br/> {<br/> "@id": "http://json-ld.org/test-suite/document-relative",<br/> "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ],<br/> "http://example.com/vocab#property": [ { "@value": "only @base is reset" } ]<br/> }<br/> ]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0061' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0061'>
+ Test
+ <span property='dc:title mf:name'>Various relative IRIs with with @base</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0061'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0062-in.jsonld' title='Various relative IRIs with with @base Input'>{<br/> "@context": {<br/> "@base": "http://example.com/some/deep/directory/and/file#with-a-fragment",<br/> "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" }<br/> },<br/> "@id": "relativeIris",<br/> "@type": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../../parent-parent-eq-root",<br/> "../../../../../still-root",<br/> "../.././.././../../too-many-dots",<br/> "/absolute",<br/> "//example.org/scheme-relative"<br/> ],<br/> "links": [<br/> "link",<br/> "#fragment-works",<br/> "?query=works",<br/> "./",<br/> "../",<br/> "../parent",<br/> "../../parent-parent-eq-root",<br/> "./../../../../../still-root",<br/> "../.././.././../../too-many-dots",<br/> "/absolute",<br/> "//example.org/scheme-relative",<br/> "//example.org/../scheme-relative",<br/> "//example.org/.././useless/../../scheme-relative"<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0062-out.jsonld' title='Various relative IRIs with with @base Result'>[<br/> {<br/> "@id": "http://example.com/some/deep/directory/and/relativeIris",<br/> "@type": [<br/> "http://example.com/some/deep/directory/and/link",<br/> "http://example.com/some/deep/directory/and/file#fragment-works",<br/> "http://example.com/some/deep/directory/and/file?query=works",<br/> "http://example.com/some/deep/directory/and/",<br/> "http://example.com/some/deep/directory/",<br/> "http://example.com/some/deep/directory/parent",<br/> "http://example.com/some/deep/parent-parent-eq-root",<br/> "http://example.com/still-root",<br/> "http://example.com/too-many-dots",<br/> "http://example.com/absolute",<br/> "http://example.org/scheme-relative"<br/> ],<br/> "http://www.example.com/link": [ {<br/> "@list": [<br/> { "@id": "http://example.com/some/deep/directory/and/link" },<br/> { "@id": "http://example.com/some/deep/directory/and/file#fragment-works" },<br/> { "@id": "http://example.com/some/deep/directory/and/file?query=works" },<br/> { "@id": "http://example.com/some/deep/directory/and/" },<br/> { "@id": "http://example.com/some/deep/directory/" },<br/> { "@id": "http://example.com/some/deep/directory/parent" },<br/> { "@id": "http://example.com/some/deep/parent-parent-eq-root" },<br/> { "@id": "http://example.com/still-root" },<br/> { "@id": "http://example.com/too-many-dots" },<br/> { "@id": "http://example.com/absolute" },<br/> { "@id": "http://example.org/scheme-relative" },<br/> { "@id": "http://example.org/scheme-relative" },<br/> { "@id": "http://example.org/scheme-relative" }<br/> ]<br/> } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0062' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0062'>
+ Test
+ <span property='dc:title mf:name'>Expand a reverse property with an index-container</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0062'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0063-in.jsonld' title='Expand a reverse property with an index-container Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": {<br/> "Dave": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> "Gregg": {<br/> "@id": "http://example.com/people/gregg",<br/> "name": "Gregg Kellogg"<br/> }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0063-out.jsonld' title='Expand a reverse property with an index-container Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "@index": "Dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> },<br/> {<br/> "@id": "http://example.com/people/gregg",<br/> "@index": "Gregg",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0063' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0063'>
+ Test
+ <span property='dc:title mf:name'>Expand reverse property whose values are unlabeled blank nodes</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0063'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0064-in.jsonld' title='Expand reverse property whose values are unlabeled blank nodes Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" }<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "isKnownBy": [<br/> {<br/> "name": "Dave Longley"<br/> },<br/> {<br/> "name": "Gregg Kellogg"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0064-out.jsonld' title='Expand reverse property whose values are unlabeled blank nodes Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> },<br/> {<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0064' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0064'>
+ Test
+ <span property='dc:title mf:name'>Keys that are not mapped to an IRI in a reverse-map are dropped</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0064'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0065-in.jsonld' title='Keys that are not mapped to an IRI in a reverse-map are dropped Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "knows": "http://xmlns.com/foaf/0.1/knows"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> "relative-iri": {<br/> "@id": "relative-node",<br/> "name": "Keys that are not mapped to an IRI in a reverse-map are dropped"<br/> }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0065-out.jsonld' title='Keys that are not mapped to an IRI in a reverse-map are dropped Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0065' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0065'>
+ Test
+ <span property='dc:title mf:name'>Use @vocab to expand keys in reverse-maps</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0065'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0066-in.jsonld' title='Use @vocab to expand keys in reverse-maps Input'>{<br/> "@context": {<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "knows": "http://xmlns.com/foaf/0.1/knows",<br/> "@vocab": "http://example.com/vocab/"<br/> },<br/> "@id": "http://example.com/people/markus",<br/> "name": "Markus Lanthaler",<br/> "@reverse": {<br/> "knows": {<br/> "@id": "http://example.com/people/dave",<br/> "name": "Dave Longley"<br/> },<br/> "noTerm": {<br/> "@id": "relative-node",<br/> "name": "Compact keys using @vocab"<br/> }<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0066-out.jsonld' title='Use @vocab to expand keys in reverse-maps Result'>[<br/> {<br/> "@id": "http://example.com/people/markus",<br/> "@reverse": {<br/> "http://xmlns.com/foaf/0.1/knows": [<br/> {<br/> "@id": "http://example.com/people/dave",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ]<br/> }<br/> ],<br/> "http://example.com/vocab/noTerm": [<br/> {<br/> "@id": "http://json-ld.org/test-suite/tests/relative-node",<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ]<br/> }<br/> ]<br/> },<br/> "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0066' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0066'>
+ Test
+ <span property='dc:title mf:name'>prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0066'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0067-in.jsonld' title='prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes Input'>{<br/> "@context": {<br/> "http": "http://example.com/this-prefix-would-overwrite-all-http-iris"<br/> },<br/> "@id": "http://example.org/node1",<br/> "@type": "http://example.org/type",<br/> "http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0067-out.jsonld' title='prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes Result'>[<br/> {<br/> "@id": "http://example.org/node1",<br/> "@type": ["http://example.org/type"],<br/> "http://example.org/property": [<br/> { "@value": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0067' resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0067'>
+ Test
+ <span property='dc:title mf:name'>prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0067'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/expand-0068-in.jsonld' title='prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore Input'>{<br/> "@context": {<br/> "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers"<br/> },<br/> "@id": "_:node1",<br/> "@type": "_:type",<br/> "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/expand-0068-out.jsonld' title='prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore Result'>[<br/> {<br/> "@id": "_:node1",<br/> "@type": [ "_:type" ],<br/> "_:property": [<br/> { "@value": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ </div>
+ <div inlist='inlist' property='mf:entries' resource='http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld'>
+ <dt id='test_t0001' resource='http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld#t0001'>
+ Test
+ <span property='dc:title mf:name'>Keywords cannot be aliased to other keywords</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/error-expand-manifest.jsonld#t0001'>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld' title='Keywords cannot be aliased to other keywords Input'>{<br/> "@context": {<br/> "@type": "@id"<br/> },<br/> "@type": "http://example.org/type"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/keyword redefinition' title='Keywords cannot be aliased to other keywords Result'>http://json-ld.org/test-suite/tests/keyword redefinition not loaded</pre>
+ </dd>
+ </div>
+ <div inlist='inlist' property='mf:entries' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld'>
+ <dt id='test_t0001' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0001'>
+ Test
+ <span property='dc:title mf:name'>Plain literal with URIs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0001'>
+ <p lang='en' property='dc:description'>Tests generation of a triple using full URIs and a plain literal.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0001-in.jsonld' title='Plain literal with URIs Input'>{<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0001-out.nq' title='Plain literal with URIs Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .<br/></pre>
+ </dd>
+ <dt id='test_t0002' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0002'>
+ Test
+ <span property='dc:title mf:name'>Plain literal with CURIE from default context</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0002'>
+ <p lang='en' property='dc:description'>Tests generation of a triple using a CURIE defined in the default context.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0002-in.jsonld' title='Plain literal with CURIE from default context Input'>{<br/> "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:name": "Gregg Kellogg"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0002-out.nq' title='Plain literal with CURIE from default context Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .<br/></pre>
+ </dd>
+ <dt id='test_t0003' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0003'>
+ Test
+ <span property='dc:title mf:name'>Default subject is BNode</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0003'>
+ <p lang='en' property='dc:description'>Tests that a BNode is created if no explicit subject is set.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0003-in.jsonld' title='Default subject is BNode Input'>{<br/> "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},<br/> "@type": "foaf:Person"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0003-out.nq' title='Default subject is BNode Result'>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .<br/></pre>
+ </dd>
+ <dt id='test_t0004' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0004'>
+ Test
+ <span property='dc:title mf:name'>Literal with language tag</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0004'>
+ <p lang='en' property='dc:description'>Tests that a plain literal is created with a language tag.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0004-in.jsonld' title='Literal with language tag Input'>{<br/> "http://www.w3.org/2000/01/rdf-schema#label": {<br/> "@value": "A plain literal with a lang tag.",<br/> "@language": "en-us"<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0004-out.nq' title='Literal with language tag Result'>_:b0 <http://www.w3.org/2000/01/rdf-schema#label> "A plain literal with a lang tag."@en-us .<br/></pre>
+ </dd>
+ <dt id='test_t0005' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0005'>
+ Test
+ <span property='dc:title mf:name'>Extended character set literal</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0005'>
+ <p lang='en' property='dc:description'>Tests that a literal may be created using extended characters.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0005-in.jsonld' title='Extended character set literal Input'>{<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "http://xmlns.com/foaf/0.1/knows": {<br/> "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"}<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0005-out.nq' title='Extended character set literal Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .<br/>_:b0 <http://xmlns.com/foaf/0.1/name> "Herman Iván"@hu .<br/></pre>
+ </dd>
+ <dt id='test_t0006' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0006'>
+ Test
+ <span property='dc:title mf:name'>Typed literal</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0006'>
+ <p lang='en' property='dc:description'>Tests creation of a literal with a datatype.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0006-in.jsonld' title='Typed literal Input'>{<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "http://purl.org/dc/terms/created": {<br/> "@value": "1957-02-27",<br/> "@type": "http://www.w3.org/2001/XMLSchema#date"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0006-out.nq' title='Typed literal Result'><http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .<br/></pre>
+ </dd>
+ <dt id='test_t0007' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0007'>
+ Test
+ <span property='dc:title mf:name'>Tests 'a' generates rdf:type and object is implicit IRI</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0007'>
+ <p lang='en' property='dc:description'>Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0007-in.jsonld' title="Tests 'a' generates rdf:type and object is implicit IRI Input">{<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "@type": "http://xmlns.com/foaf/0.1/Person"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0007-out.nq' title="Tests 'a' generates rdf:type and object is implicit IRI Result"><http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .<br/></pre>
+ </dd>
+ <dt id='test_t0008' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0008'>
+ Test
+ <span property='dc:title mf:name'>Test prefix defined in @context</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0008'>
+ <p lang='en' property='dc:description'>Generate an IRI using a prefix defined within an @context.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0008-in.jsonld' title='Test prefix defined in @context Input'>{<br/> "@context": {"d": "http://example.com/default#"},<br/> "d:foo": "bar"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0008-out.nq' title='Test prefix defined in @context Result'>_:b0 <http://example.com/default#foo> "bar" .<br/></pre>
+ </dd>
+ <dt id='test_t0009' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0009'>
+ Test
+ <span property='dc:title mf:name'>Test using an empty suffix</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0009'>
+ <p lang='en' property='dc:description'>An empty suffix may be used.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0009-in.jsonld' title='Test using an empty suffix Input'>{<br/> "@context": {"foo": "http://example.com/default#"},<br/> "foo:": "bar"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0009-out.nq' title='Test using an empty suffix Result'>_:b0 <http://example.com/default#> "bar" .<br/></pre>
+ </dd>
+ <dt id='test_t0010' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0010'>
+ Test
+ <span property='dc:title mf:name'>Test object processing defines object</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0010'>
+ <p lang='en' property='dc:description'>A property referencing an associative array gets object from subject of array.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0010-in.jsonld' title='Test object processing defines object Input'>{<br/> "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:knows": {<br/> "@id": "http://manu.sporny.org/#me",<br/> "foaf:name": "Manu Sporny"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0010-out.nq' title='Test object processing defines object Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .<br/><http://manu.sporny.org/#me> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .<br/></pre>
+ </dd>
+ <dt id='test_t0011' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0011'>
+ Test
+ <span property='dc:title mf:name'>Test object processing defines object with implicit BNode</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0011'>
+ <p lang='en' property='dc:description'>If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0011-in.jsonld' title='Test object processing defines object with implicit BNode Input'>{<br/> "@context": {<br/> "foaf": "http://xmlns.com/foaf/0.1/"<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:knows": {<br/> "foaf:name": "Dave Longley"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0011-out.nq' title='Test object processing defines object with implicit BNode Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .<br/>_:b0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .<br/></pre>
+ </dd>
+ <dt id='test_t0012' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0012'>
+ Test
+ <span property='dc:title mf:name'>Multiple Objects for a Single Property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0012'>
+ <p lang='en' property='dc:description'>Tests that Multiple Objects are for a Single Property using array syntax.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0012-in.jsonld' title='Multiple Objects for a Single Property Input'>{<br/> "@context": {<br/> "foaf": "http://xmlns.com/foaf/0.1/"<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:knows": ["Manu Sporny", "Dave Longley"]<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0012-out.nq' title='Multiple Objects for a Single Property Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Dave Longley" .<br/><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Manu Sporny" .<br/></pre>
+ </dd>
+ <dt id='test_t0013' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0013'>
+ Test
+ <span property='dc:title mf:name'>Creation of an empty list</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0013'>
+ <p lang='en' property='dc:description'>Tests that [[]] generates an empty list.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0013-in.jsonld' title='Creation of an empty list Input'>{<br/> "@context": {<br/> "foaf": "http://xmlns.com/foaf/0.1/"<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:knows": {"@list": []}<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0013-out.nq' title='Creation of an empty list Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/></pre>
+ </dd>
+ <dt id='test_t0014' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0014'>
+ Test
+ <span property='dc:title mf:name'>Creation of a list with single element</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0014'>
+ <p lang='en' property='dc:description'>Tests that [[a]] generates list.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0014-in.jsonld' title='Creation of a list with single element Input'>{<br/> "@context": {<br/> "foaf": "http://xmlns.com/foaf/0.1/"<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:knows": {"@list": ["Manu Sporny"]}<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0014-out.nq' title='Creation of a list with single element Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/></pre>
+ </dd>
+ <dt id='test_t0015' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0015'>
+ Test
+ <span property='dc:title mf:name'>Creation of a list with multiple elements</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0015'>
+ <p lang='en' property='dc:description'>Tests that list with multiple elements.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0015-in.jsonld' title='Creation of a list with multiple elements Input'>{<br/> "@context": {<br/> "foaf": "http://xmlns.com/foaf/0.1/"<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "foaf:knows": {"@list": ["Manu Sporny", "Dave Longley"]}<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0015-out.nq' title='Creation of a list with multiple elements Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b1 .<br/>_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Dave Longley" .<br/>_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/></pre>
+ </dd>
+ <dt id='test_t0016' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0016'>
+ Test
+ <span property='dc:title mf:name'>Empty IRI expands to resource location</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0016'>
+ <p lang='en' property='dc:description'>Expanding an empty IRI uses the test file location.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0016-in.jsonld' title='Empty IRI expands to resource location Input'>{<br/> "@id": "",<br/> "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0016-out.nq' title='Empty IRI expands to resource location Result'><http://json-ld.org/test-suite/tests/toRdf-0016-in.jsonld> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .<br/></pre>
+ </dd>
+ <dt id='test_t0017' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0017'>
+ Test
+ <span property='dc:title mf:name'>Relative IRI expands relative resource location</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0017'>
+ <p lang='en' property='dc:description'>Expanding a relative IRI uses the test file location.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0017-in.jsonld' title='Relative IRI expands relative resource location Input'>{<br/> "@id": "a/b",<br/> "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0017-out.nq' title='Relative IRI expands relative resource location Result'><http://json-ld.org/test-suite/tests/a/b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .<br/></pre>
+ </dd>
+ <dt id='test_t0018' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0018'>
+ Test
+ <span property='dc:title mf:name'>Frag ID expands relative resource location</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0018'>
+ <p lang='en' property='dc:description'>Expanding a fragment uses the test file location.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0018-in.jsonld' title='Frag ID expands relative resource location Input'>{<br/> "@id": "#frag",<br/> "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0018-out.nq' title='Frag ID expands relative resource location Result'><http://json-ld.org/test-suite/tests/toRdf-0018-in.jsonld#frag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .<br/></pre>
+ </dd>
+ <dt id='test_t0019' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0019'>
+ Test
+ <span property='dc:title mf:name'>Test type coercion to anyURI</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0019'>
+ <p lang='en' property='dc:description'>Tests coercion of object to anyURI when specified.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0019-in.jsonld' title='Test type coercion to anyURI Input'>{<br/> "@context": {<br/> "foaf": "http://xmlns.com/foaf/0.1/",<br/> "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id"}<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "knows": "http://manu.sporny.org/#me"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0019-out.nq' title='Test type coercion to anyURI Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .<br/></pre>
+ </dd>
+ <dt id='test_t0020' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0020'>
+ Test
+ <span property='dc:title mf:name'>Test type coercion to typed literal</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0020'>
+ <p lang='en' property='dc:description'>Tests coercion of object to a typed literal when specified.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0020-in.jsonld' title='Test type coercion to typed literal Input'>{<br/> "@context": {<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:date"}<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "created": "1957-02-27"<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0020-out.nq' title='Test type coercion to typed literal Result'><http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .<br/></pre>
+ </dd>
+ <dt id='test_t0021' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0021'>
+ Test
+ <span property='dc:title mf:name'>Test coercion of double value</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0021'>
+ <p lang='en' property='dc:description'>Tests that a decimal value generates a xsd:double typed literal;.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0022-in.jsonld' title='Test coercion of double value Input'>{<br/> "@context": { "measure": "http://example/measure#"},<br/> "measure:cups": 5.3<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0022-out.nq' title='Test coercion of double value Result'>_:b0 <http://example/measure#cups> "5.3E0"^^<http://www.w3.org/2001/XMLSchema#double> .<br/></pre>
+ </dd>
+ <dt id='test_t0022' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0022'>
+ Test
+ <span property='dc:title mf:name'>Test coercion of integer value</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0022'>
+ <p lang='en' property='dc:description'>Tests that a decimal value generates a xsd:integer typed literal.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0023-in.jsonld' title='Test coercion of integer value Input'>{<br/> "@context": { "chem": "http://example/chem#"},<br/> "chem:protons": 12<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0023-out.nq' title='Test coercion of integer value Result'>_:b0 <http://example/chem#protons> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .<br/></pre>
+ </dd>
+ <dt id='test_t0023' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0023'>
+ Test
+ <span property='dc:title mf:name'>Test coercion of boolean value</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0023'>
+ <p lang='en' property='dc:description'>Tests that a decimal value generates a xsd:boolean typed literal.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0024-in.jsonld' title='Test coercion of boolean value Input'>{<br/> "@context": { "sensor": "http://example/sensor#"},<br/> "sensor:active": true<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0024-out.nq' title='Test coercion of boolean value Result'>_:b0 <http://example/sensor#active> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .<br/></pre>
+ </dd>
+ <dt id='test_t0024' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0024'>
+ Test
+ <span property='dc:title mf:name'>Test list coercion with single element</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0024'>
+ <p lang='en' property='dc:description'>Tests that an array with a single element on a property with @list coercion creates an RDF Collection.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0025-in.jsonld' title='Test list coercion with single element Input'>{<br/> "@context": {<br/> "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@container": "@list"}<br/> },<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "knows": ["Manu Sporny"]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0025-out.nq' title='Test list coercion with single element Result'><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/></pre>
+ </dd>
+ <dt id='test_t0025' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0025'>
+ Test
+ <span property='dc:title mf:name'>Test creation of multiple types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0025'>
+ <p lang='en' property='dc:description'>Tests that @type with an array of types creates multiple types.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0026-in.jsonld' title='Test creation of multiple types Input'>{<br/> "@context": {"rdfs": "http://www.w3.org/2000/01/rdf-schema#"},<br/> "@type": ["rdfs:Resource", "rdfs:Class"]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0026-out.nq' title='Test creation of multiple types Result'>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .<br/>_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .<br/></pre>
+ </dd>
+ <dt id='test_t0026' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0026'>
+ Test
+ <span property='dc:title mf:name'>Simple named graph (Wikidata)</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0026'>
+ <p lang='en' property='dc:description'>Using @graph with other keys places triples in a named graph.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0027-in.jsonld' title='Simple named graph (Wikidata) Input'>{<br/> "@context": {<br/> "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",<br/> "ex": "http://example.org/",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "ex:locatedIn": {"@type": "@id"},<br/> "ex:hasPopulaton": {"@type": "xsd:integer"},<br/> "ex:hasReference": {"@type": "@id"}<br/> },<br/> "@graph": [<br/> {<br/> "@id": "http://example.org/ParisFact1",<br/> "@type": "rdf:Graph",<br/> "@graph": {<br/> "@id": "http://example.org/location/Paris#this",<br/> "ex:locatedIn": "http://example.org/location/France#this"<br/> },<br/> "ex:hasReference": ["http://www.britannica.com/", "http://www.wikipedia.org/", "http://www.brockhaus.de/"]<br/> },<br/> {<br/> "@id": "http://example.org/ParisFact2",<br/> "@type": "rdf:Graph",<br/> "@graph": {<br/> "@id": "http://example.org/location/Paris#this",<br/> "ex:hasPopulation": 7000000<br/> },<br/> "ex:hasReference": "http://www.wikipedia.org/"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0027-out.nq' title='Simple named graph (Wikidata) Result'><http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.britannica.com/> .<br/><http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.brockhaus.de/> .<br/><http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.wikipedia.org/> .<br/><http://example.org/ParisFact1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .<br/><http://example.org/ParisFact2> <http://example.org/hasReference> <http://www.wikipedia.org/> .<br/><http://example.org/ParisFact2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .<br/><http://example.org/location/Paris#this> <http://example.org/hasPopulation> "7000000"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.org/ParisFact2> .<br/><http://example.org/location/Paris#this> <http://example.org/locatedIn> <http://example.org/location/France#this> <http://example.org/ParisFact1> .<br/></pre>
+ </dd>
+ <dt id='test_t0027' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0027'>
+ Test
+ <span property='dc:title mf:name'>Simple named graph</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0027'>
+ <p lang='en' property='dc:description'>Signing a graph.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0028-in.jsonld' title='Simple named graph Input'>{<br/> "@context": {<br/> "sec": "http://purl.org/security#",<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",<br/> "dc": "http://purl.org/dc/terms/",<br/> "sec:signer": {"@type": "@id"},<br/> "dc:created": {"@type": "xsd:dateTime"}<br/> },<br/> "@id": "http://example.org/sig1",<br/> "@type": ["rdf:Graph", "sec:SignedGraph"],<br/> "dc:created": "2011-09-23T20:21:34Z",<br/> "sec:signer": "http://payswarm.example.com/i/john/keys/5",<br/> "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=",<br/> "@graph": {<br/> "@id": "http://example.org/fact1",<br/> "dc:title": "Hello World!"<br/> }<br/>}</pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0028-out.nq' title='Simple named graph Result'><http://example.org/fact1> <http://purl.org/dc/terms/title> "Hello World!" <http://example.org/sig1> .<br/><http://example.org/sig1> <http://purl.org/dc/terms/created> "2011-09-23T20:21:34Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .<br/><http://example.org/sig1> <http://purl.org/security#signatureValue> "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" .<br/><http://example.org/sig1> <http://purl.org/security#signer> <http://payswarm.example.com/i/john/keys/5> .<br/><http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/security#SignedGraph> .<br/><http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .<br/></pre>
+ </dd>
+ <dt id='test_t0028' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0028'>
+ Test
+ <span property='dc:title mf:name'>named graph with embedded named graph</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0028'>
+ <p lang='en' property='dc:description'>Tests that named graphs containing named graphs flatten to single level of graph naming.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0029-in.jsonld' title='named graph with embedded named graph Input'>{<br/> "@context": {<br/> "wd": "http://data.wikipedia.org/vocab#",<br/> "ws": "http://data.wikipedia.org/snaks/",<br/> "wp": "http://en.wikipedia.org/wiki/"<br/> },<br/> "@id": "ws:Assertions",<br/> "@type": "wd:SnakSet",<br/> "@graph": {<br/> "@id": "ws:BerlinFact",<br/> "@type": "wd:Snak",<br/> "@graph": {<br/> "@id": "wp:Berlin",<br/> "wd:population": 3499879<br/> },<br/> "wd:assertedBy": "http://www.statistik-berlin-brandenburg.de/"<br/> }<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0029-out.nq' title='named graph with embedded named graph Result'><http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .<br/><http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .<br/><http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .<br/><http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .<br/></pre>
+ </dd>
+ <dt id='test_t0029' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0029'>
+ Test
+ <span property='dc:title mf:name'>top-level graph with string subject reference</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0029'>
+ <p lang='en' property='dc:description'>Tests graphs containing subject references as strings.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0030-in.jsonld' title='top-level graph with string subject reference Input'>{<br/> "@context": {<br/> "xsd": "http://www.w3.org/2001/XMLSchema#",<br/> "knows": "http://xmlns.com/foaf/0.1/knows",<br/> "name": "http://xmlns.com/foaf/0.1/name",<br/> "asOf": "http://example.org/asOf"<br/> },<br/> "@id": "http://example.org/linked-data-graph",<br/> "asOf": {"@value": "2012-04-09", "@type": "xsd:date"},<br/> "@graph":<br/> [<br/> {<br/> "@id": "http://manu.sporny.org/i/public",<br/> "@type": "foaf:Person",<br/> "name": "Manu Sporny",<br/> "knows": "http://greggkellogg.net/foaf#me"<br/> },<br/> {<br/> "@id": "http://greggkellogg.net/foaf#me",<br/> "@type": "foaf:Person",<br/> "name": "Gregg Kellogg",<br/> "knows": "http://manu.sporny.org/i/public"<br/> },<br/> {<br/> "@id": "http://www.markus-lanthaler.com/"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0030-out.nq' title='top-level graph with string subject reference Result'><http://example.org/linked-data-graph> <http://example.org/asOf> "2012-04-09"^^<http://www.w3.org/2001/XMLSchema#date> .<br/><http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <foaf:Person> <http://example.org/linked-data-graph> .<br/><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "http://manu.sporny.org/i/public" <http://example.org/linked-data-graph> .<br/><http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" <http://example.org/linked-data-graph> .<br/><http://manu.sporny.org/i/public> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <foaf:Person> <http://example.org/linked-data-graph> .<br/><http://manu.sporny.org/i/public> <http://xmlns.com/foaf/0.1/knows> "http://greggkellogg.net/foaf#me" <http://example.org/linked-data-graph> .<br/><http://manu.sporny.org/i/public> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" <http://example.org/linked-data-graph> .<br/></pre>
+ </dd>
+ <dt id='test_t0030' resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0030'>
+ Test
+ <span property='dc:title mf:name'>Reverse property</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0030'>
+ <p lang='en' property='dc:description'>Tests conversion of reverse properties.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/toRdf-0031-in.jsonld' title='Reverse property Input'>{<br/> "@context": {<br/> "rdfs": "http://www.w3.org/2000/01/rdf-schema#",<br/> "defines": { "@reverse": "rdfs:definedBy" },<br/> "label": "rdfs:label"<br/> },<br/> "@id": "http://example.com/vocab",<br/> "label": "My vocabulary",<br/> "defines": [<br/> {<br/> "@id": "http://example.com/vocab#property",<br/> "label": "A property"<br/> }<br/> ]<br/>}<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/toRdf-0031-out.nq' title='Reverse property Result'><http://example.com/vocab#property> <http://www.w3.org/2000/01/rdf-schema#definedBy> <http://example.com/vocab> .<br/><http://example.com/vocab#property> <http://www.w3.org/2000/01/rdf-schema#label> "A property" .<br/><http://example.com/vocab> <http://www.w3.org/2000/01/rdf-schema#label> "My vocabulary" .<br/></pre>
+ </dd>
+ </div>
+ <div inlist='inlist' property='mf:entries' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld'>
+ <dt id='test_t0001' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0001'>
+ Test
+ <span property='dc:title mf:name'>Object Lists</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0001'>
+ <p lang='en' property='dc:description'>Tests generation using different types of objects.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0001-in.nq' title='Object Lists Input'><http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .<br/><http://example.com/Subj1> <http://example.com/prop1> <http://example.com/Obj1> .<br/><http://example.com/Subj1> <http://example.com/prop2> "Plain" .<br/><http://example.com/Subj1> <http://example.com/prop2> "2012-05-12"^^<http://www.w3.org/2001/XMLSchema#date> .<br/><http://example.com/Subj1> <http://example.com/prop2> "English"@en .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0001-out.jsonld' title='Object Lists Result'>[{<br/> "@id": "http://example.com/Subj1",<br/> "@type": ["http://example.com/Type"],<br/> "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}],<br/> "http://example.com/prop2": [<br/> {"@value": "Plain"},<br/> {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"},<br/> {"@value": "English", "@language": "en"}<br/> ]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0002' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0002'>
+ Test
+ <span property='dc:title mf:name'>Native Types</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0002'>
+ <p lang='en' property='dc:description'>Use native datatypes, where possible.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0002-in.nq' title='Native Types Input'><http://example.com/Subj1> <http://example.com/prop> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .<br/><http://example.com/Subj1> <http://example.com/prop> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .<br/><http://example.com/Subj1> <http://example.com/prop> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .<br/><http://example.com/Subj1> <http://example.com/prop> "1.1"^^<http://www.w3.org/2001/XMLSchema#decimal> .<br/><http://example.com/Subj1> <http://example.com/prop> "1.1E-1"^^<http://www.w3.org/2001/XMLSchema#double> .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0002-out.jsonld' title='Native Types Result'>[<br/> {<br/> "@id": "http://example.com/Subj1",<br/> "http://example.com/prop": [<br/> { "@value": true },<br/> { "@value": false },<br/> { "@value": 1 },<br/> { "@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"},<br/> { "@value": 0.11 }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ <dt id='test_t0003' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0003'>
+ Test
+ <span property='dc:title mf:name'>BNodes and references</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0003'>
+ <p lang='en' property='dc:description'>BNode name generation and references between resources.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0003-in.nq' title='BNodes and references Input'><http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/SubType> .<br/><http://example.com/Subj1> <http://example.com/ref> _:a .<br/><http://example.com/Subj1> <http://example.com/ref> <http://example.com/Subj2> .<br/><http://example.com/Subj2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .<br/><http://example.com/Subj2> <http://example.com/ref> <http://example.com/Subj1> .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0003-out.jsonld' title='BNodes and references Result'>[<br/> {<br/> "@id": "_:a",<br/> "@type": ["http://example.com/SubType"]<br/> },<br/> {<br/> "@id": "http://example.com/Subj1",<br/> "@type": ["http://example.com/Type"],<br/> "http://example.com/ref": [<br/> {"@id": "_:a"},<br/> {"@id": "http://example.com/Subj2"}<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/Subj2",<br/> "@type": ["http://example.com/Type"],<br/> "http://example.com/ref": [{"@id": "http://example.com/Subj1"}]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0004' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0004'>
+ Test
+ <span property='dc:title mf:name'>Lists</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0004'>
+ <p lang='en' property='dc:description'>Multiple lists with different types of element.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0004-in.nq' title='Lists Input'><http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b .<br/>_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "bananna" .<br/>_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/><http://example.com/Subj1> <http://example.com/literalList> _:a .<br/><http://example.com/Subj1> <http://example.com/emptyList> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/>_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.com/iri> .<br/>_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .<br/><http://example.com/Subj1> <http://example.com/iriList> _:c .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0004-out.jsonld' title='Lists Result'>[{<br/> "@id": "http://example.com/Subj1",<br/> "@type": ["http://example.com/Type"],<br/> "http://example.com/literalList": [{<br/> "@list": [<br/> {"@value": "apple"},<br/> {"@value": "bananna"}<br/> ]<br/> }],<br/> "http://example.com/emptyList": [{<br/> "@list": []<br/> }],<br/> "http://example.com/iriList": [{<br/> "@list": [{"@id": "http://example.com/iri"}]<br/> }]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0005' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0005'>
+ Test
+ <span property='dc:title mf:name'>Document with list</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0005'>
+ <p lang='en' property='dc:description'>Uses a named graph containing a list.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0005-in.nq' title='Document with list Input'><http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> <http://example.com/U> .<br/><http://example.com/Subj1> <http://example.com/ref> <http://example.com/U> <http://example.com/U> .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" <http://example.com/U> .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b <http://example.com/U> .<br/>_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" <http://example.com/U> .<br/>_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/U> .<br/><http://example.com/Subj1> <http://example.com/list> _:a <http://example.com/U> .<br/><http://example.com/U> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Graph> .<br/><http://example.com/U> <http://example.com/name> "Graph" .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0005-out.jsonld' title='Document with list Result'>[{<br/> "@id": "http://example.com/U",<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/Subj1",<br/> "@type": ["http://example.com/Type"],<br/> "http://example.com/ref": [{"@id": "http://example.com/U"}],<br/> "http://example.com/list": [{<br/> "@list": [<br/> {"@value": "a"},<br/> {"@value": "b"}<br/> ]<br/> }]<br/> }<br/> ],<br/> "@type": ["http://example.com/Graph"],<br/> "http://example.com/name": [{"@value": "Graph"}]<br/>}]</pre>
+ </dd>
+ <dt id='test_t0006' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0006'>
+ Test
+ <span property='dc:title mf:name'>Two graphs having same subject but different values</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0006'>
+ <p lang='en' property='dc:description'>Ensure that properties and list elements aren't confused between graphs.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0006-in.nq' title='Two graphs having same subject but different values Input'><http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type> <http://example.com/U> .<br/><http://example.com/Subj1> <http://example.com/ref> <http://example.com/U> <http://example.com/U> .<br/><http://example.com/Subj1> <http://example.com/list> _:a <http://example.com/U> .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "a" <http://example.com/U> .<br/>_:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b <http://example.com/U> .<br/>_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "b" <http://example.com/U> .<br/>_:b <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/U> .<br/><http://example.com/Subj1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Type2> <http://example.com/V> .<br/><http://example.com/Subj1> <http://example.com/ref> <http://example.com/V> <http://example.com/V> .<br/><http://example.com/Subj1> <http://example.com/list> _:c <http://example.com/V> .<br/>_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "c" <http://example.com/V> .<br/>_:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:d <http://example.com/V> .<br/>_:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "d" <http://example.com/V> .<br/>_:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.com/V> .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0006-out.jsonld' title='Two graphs having same subject but different values Result'>[<br/> {<br/> "@id": "http://example.com/U",<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/Subj1",<br/> "@type": ["http://example.com/Type"],<br/> "http://example.com/ref": [{"@id": "http://example.com/U"}],<br/> "http://example.com/list": [{<br/> "@list": [<br/> {"@value": "a"},<br/> {"@value": "b"}<br/> ]<br/> }]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://example.com/V",<br/> "@graph": [<br/> {<br/> "@id": "http://example.com/Subj1",<br/> "@type": ["http://example.com/Type2"],<br/> "http://example.com/ref": [{"@id": "http://example.com/V"}],<br/> "http://example.com/list": [{<br/> "@list": [<br/> {"@value": "c"},<br/> {"@value": "d"}<br/> ]<br/> }]<br/> }<br/> ]<br/> }<br/>]</pre>
+ </dd>
+ <dt id='test_t0007' resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0007'>
+ Test
+ <span property='dc:title mf:name'>Graph with multiple named graphs</span>
+ </dt>
+ <dd resource='http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0007'>
+ <p lang='en' property='dc:description'>Testing @graph recursion.</p>
+ <pre class='example actionDoc' property='mf:action' resource='http://json-ld.org/test-suite/tests/fromRdf-0007-in.nq' title='Graph with multiple named graphs Input'><http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .<br/><http://data.wikipedia.org/snaks/Assertions> <http://data.wikipedia.org/vocab#assertedBy> "http://gregkellogg.net/foaf#me" .<br/><http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .<br/><http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .<br/><http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .<br/></pre>
+ <pre class='example resultDoc' property='mf:result' resource='http://json-ld.org/test-suite/tests/fromRdf-0007-out.jsonld' title='Graph with multiple named graphs Result'>[<br/> {<br/> "@id": "http://data.wikipedia.org/snaks/Assertions",<br/> "@type": ["http://data.wikipedia.org/vocab#SnakSet"],<br/> "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://gregkellogg.net/foaf#me"}<br/> ],<br/> "@graph": [<br/> {<br/> "@id": "http://data.wikipedia.org/snaks/BerlinFact",<br/> "@type": ["http://data.wikipedia.org/vocab#Snak"],<br/> "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://www.statistik-berlin-brandenburg.de/"}]<br/> }<br/> ]<br/> },<br/> {<br/> "@id": "http://data.wikipedia.org/snaks/BerlinFact",<br/> "@graph": [<br/> {<br/> "@id": "http://en.wikipedia.org/wiki/Berlin",<br/> "http://data.wikipedia.org/vocab#population": [{<br/> "@value": 3499879<br/> }]<br/> }<br/> ]<br/> }<br/>]<br/></pre>
+ </dd>
+ </div>
+ </dl>
+ </section>
+ <section id='appendix' property='earl:generatedBy' resource='http://rubygems.org/gems/earl-report' typeof='doap:Project'>
+ <h2>
+ Report Generation Software
+ </h2>
+ <p>
+ This report generated by
+ <span property='doap:name'><a href='http://rubygems.org/gems/earl-report'>earl-report</a></span>
+ <meta content='Earl Report summary generator' lang='en' property='doap:shortdesc' />
+ <meta content='EarlReport generates HTML+RDFa rollups of multiple EARL reports' lang='en' property='doap:description' />
+ version
+ <span property='doap:release' resource='https://github.com/gkellogg/earl-report/tree/0.2.3' typeof='doap:Version'>
+ <span property='doap:revision'>0.2.3</span>
+ <meta content='earl-report-0.2.3' property='doap:name' />
+ <meta content='2013-03-20' datatype='xsd:date' property='doap:created' />
+ </span>
+ an
+ <a href='http://unlicense.org' property='doap:license'>Unlicensed</a>
+ <span property='doap:programming-language'>Ruby</span>
+ application. More information is available at
+ <a href='https://github.com/gkellogg/earl-report' property='doap:homepage'>https://github.com/gkellogg/earl-report</a>
+ .
+ </p>
+ <p property='doap:developer' resource='http://greggkellogg.net/foaf#me' typeof='foaf:Person'>
+ This software is provided by
+ <a href='http://greggkellogg.net/' property='foaf:homepage'><span aboue='http://greggkellogg.net/foaf#me' property='foaf:name'>Gregg Kellogg</span></a>
+ in hopes that it might make the lives of conformance testers easier.
+ </p>
+ </section>
+ </body>
+</html>