From 5da18484b9af2406caff5f0daeeb493ead13fc70 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Nov 2017 14:00:49 +0100 Subject: Add JSON-LD test suite --- tests/JSONLDTests/manifest.ttl | 1137 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1137 insertions(+) create mode 100644 tests/JSONLDTests/manifest.ttl (limited to 'tests/JSONLDTests/manifest.ttl') diff --git a/tests/JSONLDTests/manifest.ttl b/tests/JSONLDTests/manifest.ttl new file mode 100644 index 00000000..4fa3ec7a --- /dev/null +++ b/tests/JSONLDTests/manifest.ttl @@ -0,0 +1,1137 @@ +@prefix dc: . +@prefix jld: . +@prefix mf: . +@prefix rdf: . +@prefix rdfs: . +@prefix xml: . +@prefix xsd: . + +<> + a mf:Manifest ; + rdfs:comment "JSON-LD to RDF tests generate N-Quads output and use string comparison." ; + mf:entries ( + <#t0001> + <#t0002> + <#t0003> + <#t0004> + <#t0005> + <#t0006> + <#t0007> + <#t0008> + <#t0009> + <#t0010> + <#t0011> + <#t0012> + <#t0013> + <#t0014> + <#t0015> + <#t0016> + <#t0017> + <#t0018> + <#t0019> + <#t0020> + <#t0022> + <#t0023> + <#t0024> + <#t0025> + <#t0026> + <#t0027> + <#t0028> + <#t0029> + <#t0030> + <#t0031> + <#t0032> + <#t0033> + <#t0034> + <#t0035> + <#t0036> + <#t0041> + <#t0042> + <#t0043> + <#t0044> + <#t0045> + <#t0046> + <#t0047> + <#t0048> + <#t0049> + <#t0050> + <#t0051> + <#t0052> + <#t0053> + <#t0054> + <#t0055> + <#t0056> + <#t0057> + <#t0058> + <#t0059> + <#t0060> + <#t0061> + <#t0062> + <#t0063> + <#t0064> + <#t0065> + <#t0066> + <#t0067> + <#t0068> + <#t0069> + <#t0070> + <#t0071> + <#t0072> + <#t0073> + <#t0074> + <#t0075> + <#t0076> + <#t0077> + <#t0078> + <#t0079> + <#t0080> + <#t0081> + <#t0082> + <#t0083> + <#t0084> + <#t0085> + <#t0086> + <#t0087> + <#t0088> + <#t0089> + <#t0090> + <#t0091> + <#t0092> + <#t0093> + <#t0094> + <#t0095> + <#t0096> + <#t0097> + <#t0098> + <#t0099> + <#t0100> + <#t0101> + <#t0102> + <#t0103> + <#t0104> + <#t0105> + <#t0106> + <#t0107> + <#t0108> + <#t0109> + <#t0110> + <#t0111> + <#t0112> + <#t0113> + <#t0114> + <#t0115> + <#t0116> + <#t0117> + <#t0118> + <#t0119> + <#t0120> + <#t0121> + <#t0122> + <#t0123> + <#t0124> + <#t0125> + <#t0126> + <#t0127> + <#t0128> + <#t0129> + ) . + + + mf:name "Transform JSON-LD to RDF" ; + jld:baseIri "http://json-ld.org/test-suite/tests/" . + +<#t0001> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests generation of a triple using full URIs and a plain literal." ; + mf:action ; + mf:name "Plain literal with URIs" ; + mf:result . + +<#t0002> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests generation of a triple using a CURIE defined in the default context." ; + mf:action ; + mf:name "Plain literal with CURIE from default context" ; + mf:result . + +<#t0003> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that a BNode is created if no explicit subject is set." ; + mf:action ; + mf:name "Default subject is BNode" ; + mf:result . + +<#t0004> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that a plain literal is created with a language tag." ; + mf:action ; + mf:name "Literal with language tag" ; + mf:result . + +<#t0005> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that a literal may be created using extended characters." ; + mf:action ; + mf:name "Extended character set literal" ; + mf:result . + +<#t0006> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests creation of a literal with a datatype." ; + mf:action ; + mf:name "Typed literal" ; + mf:result . + +<#t0007> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment """Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.""" ; + mf:action ; + mf:name """Tests 'a' generates rdf:type and object is implicit IRI""" ; + mf:result . + +<#t0008> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Generate an IRI using a prefix defined within an @context." ; + mf:action ; + mf:name "Test prefix defined in @context" ; + mf:result . + +<#t0009> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "An empty suffix may be used." ; + mf:action ; + mf:name "Test using an empty suffix" ; + mf:result . + +<#t0010> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "A property referencing an associative array gets object from subject of array." ; + mf:action ; + mf:name "Test object processing defines object" ; + mf:result . + +<#t0011> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property." ; + mf:action ; + mf:name "Test object processing defines object with implicit BNode" ; + mf:result . + +<#t0012> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that Multiple Objects are for a Single Property using array syntax." ; + mf:action ; + mf:name "Multiple Objects for a Single Property" ; + mf:result . + +<#t0013> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that @list: [] generates an empty list." ; + mf:action ; + mf:name "Creation of an empty list" ; + mf:result . + +<#t0014> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that @list generates a list." ; + mf:action ; + mf:name "Creation of a list with single element" ; + mf:result . + +<#t0015> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that list with multiple elements." ; + mf:action ; + mf:name "Creation of a list with multiple elements" ; + mf:result . + +<#t0016> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Expanding an empty IRI uses the test file location." ; + mf:action ; + mf:name "Empty IRI expands to resource location" ; + mf:result . + +<#t0017> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Expanding a relative IRI uses the test file location." ; + mf:action ; + mf:name "Relative IRI expands relative resource location" ; + mf:result . + +<#t0018> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Expanding a fragment uses the test file location." ; + mf:action ; + mf:name "Frag ID expands relative resource location" ; + mf:result . + +<#t0019> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests coercion of object to anyURI when specified." ; + mf:action ; + mf:name "Test type coercion to anyURI" ; + mf:result . + +<#t0020> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests coercion of object to a typed literal when specified." ; + mf:action ; + mf:name "Test type coercion to typed literal" ; + mf:result . + +<#t0022> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that a decimal value generates a xsd:double typed literal;." ; + mf:action ; + mf:name "Test coercion of double value" ; + mf:result . + +<#t0023> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that a decimal value generates a xsd:integer typed literal." ; + mf:action ; + mf:name "Test coercion of integer value" ; + mf:result . + +<#t0024> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that a decimal value generates a xsd:boolean typed literal." ; + mf:action ; + mf:name "Test coercion of boolean value" ; + mf:result . + +<#t0025> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that an array with a single element on a property with @list coercion creates an RDF Collection." ; + mf:action ; + mf:name "Test list coercion with single element" ; + mf:result . + +<#t0026> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that @type with an array of types creates multiple types." ; + mf:action ; + mf:name "Test creation of multiple types" ; + mf:result . + +<#t0027> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Using @graph with other keys places triples in a named graph." ; + mf:action ; + mf:name "Simple named graph (Wikidata)" ; + mf:result . + +<#t0028> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Signing a graph." ; + mf:action ; + mf:name "Simple named graph" ; + mf:result . + +<#t0029> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that named graphs containing named graphs flatten to single level of graph naming." ; + mf:action ; + mf:name "named graph with embedded named graph" ; + mf:result . + +<#t0030> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests graphs containing subject references as strings." ; + mf:action ; + mf:name "top-level graph with string subject reference" ; + mf:result . + +<#t0031> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests conversion of reverse properties." ; + mf:action ; + mf:name "Reverse property" ; + mf:result . + +<#t0032> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that generated triples do not depend on order of @context." ; + mf:action ; + mf:name "@context reordering" ; + mf:result . + +<#t0033> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that generated triples do not depend on order of @id." ; + mf:action ; + mf:name "@id reordering" ; + mf:result . + +<#t0034> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Tests that generated triples do not depend on order of properties inside @context." ; + mf:action ; + mf:name "context properties reordering" ; + mf:result . + +<#t0035> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment """xsd:double's canonical lexical is used when converting numbers without fraction that are coerced to xsd:double""" ; + mf:action ; + mf:name "non-fractional numbers converted to xsd:double" ; + mf:result . + +<#t0036> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "The toRDF algorithm does not relabel blank nodes; it reuses the counter from the nodeMapGeneration to generate new ones" ; + mf:action ; + mf:name "Use nodeMapGeneration bnode labels" ; + mf:result . + +<#t0041> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Free-floating nodes do not generate RDF triples" ; + mf:action ; + mf:name "drop free-floating nodes" ; + mf:result . + +<#t0042> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Basic RDF conversion" ; + mf:action ; + mf:name "basic" ; + mf:result . + +<#t0043> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Properties mapped to null or which are never mapped are dropped" ; + mf:action ; + mf:name "drop null and unmapped properties" ; + mf:result . + +<#t0044> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0004" ; + mf:action ; + mf:name "optimize @set, keep empty arrays" ; + mf:result . + +<#t0045> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0005" ; + mf:action ; + mf:name "do not expand aliased @id/@type" ; + mf:result . + +<#t0046> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0006" ; + mf:action ; + mf:name "alias keywords" ; + mf:result . + +<#t0047> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Type-coerced dates generate typed literals" ; + mf:action ; + mf:name "date type-coercion" ; + mf:result . + +<#t0048> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0008" ; + mf:action ; + mf:name "@value with @language" ; + mf:result . + +<#t0049> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0009" ; + mf:action ; + mf:name "@graph with terms" ; + mf:result . + +<#t0050> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Native types generate typed literals" ; + mf:action ; + mf:name "native types" ; + mf:result . + +<#t0051> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0011" ; + mf:action ; + mf:name "coerced @id" ; + mf:result . + +<#t0052> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0012" ; + mf:action ; + mf:name "@graph with embed" ; + mf:result . + +<#t0053> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0013" ; + mf:action ; + mf:name "expand already expanded" ; + mf:result . + +<#t0054> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0014" ; + mf:action ; + mf:name "@set of @value objects with keyword aliases" ; + mf:result . + +<#t0055> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0015" ; + mf:action ; + mf:name "collapse set of sets, keep empty lists" ; + mf:result . + +<#t0056> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0016" ; + mf:action ; + mf:name "context reset" ; + mf:result . + +<#t0057> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0017" ; + mf:action ; + mf:name "@graph and @id aliased" ; + mf:result . + +<#t0058> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0018" ; + mf:action ; + mf:name "override default @language" ; + mf:result . + +<#t0059> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0019" ; + mf:action ; + mf:name "remove @value = null" ; + mf:result . + +<#t0060> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Embedded @graph without @id creates BNode-labeled named graph" ; + mf:action ; + mf:name "do not remove @graph if not at top-level" ; + mf:result . + +<#t0061> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0021" ; + mf:action ; + mf:name "do not remove @graph at top-level if not only property" ; + mf:result . + +<#t0062> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0022" ; + mf:action ; + mf:name "expand value with default language" ; + mf:result . + +<#t0063> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0023" ; + mf:action ; + mf:name "Lists and sets of properties with list/set coercion" ; + mf:result . + +<#t0064> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0024" ; + mf:action ; + mf:name "Multiple contexts" ; + mf:result . + +<#t0065> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0025" ; + mf:action ; + mf:name "Problematic IRI expansion tests" ; + mf:result . + +<#t0066> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0026" ; + mf:action ; + mf:name "Expanding term mapping to @type uses @type syntax" ; + mf:result . + +<#t0067> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0027" ; + mf:action ; + mf:name "Keep duplicate values in @list and @set" ; + mf:result . + +<#t0068> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0028" ; + mf:action ; + mf:name "Use @vocab in properties and @type but not in @id" ; + mf:result . + +<#t0069> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0029" ; + mf:action ; + mf:name "Relative IRIs" ; + mf:result . + +<#t0070> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0030" ; + mf:action ; + mf:name "Language maps" ; + mf:result . + +<#t0071> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0031" ; + mf:action ; + mf:name "type-coercion of native types" ; + mf:result . + +<#t0072> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0032" ; + mf:action ; + mf:name "Mapping a term to null decouples it from @vocab" ; + mf:result . + +<#t0073> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0033" ; + mf:action ; + mf:name "Using @vocab with with type-coercion" ; + mf:result . + +<#t0074> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0034" ; + mf:action ; + mf:name "Multiple properties expanding to the same IRI" ; + mf:result . + +<#t0075> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0035" ; + mf:action ; + mf:name "Language maps with @vocab, default language, and colliding property" ; + mf:result . + +<#t0076> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0036" ; + mf:action ; + mf:name "Expanding @index" ; + mf:result . + +<#t0077> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0037" ; + mf:action ; + mf:name "Expanding @reverse" ; + mf:result . + +<#t0078> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Triples with blank node predicates are dropped by default." ; + mf:action ; + mf:name "Drop blank node predicates by default" ; + mf:result . + +<#t0079> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0039" ; + mf:action ; + mf:name "Using terms in a reverse-maps" ; + mf:result . + +<#t0080> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0040" ; + mf:action ; + mf:name "language and index expansion on non-objects" ; + mf:result . + +<#t0081> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0041" ; + mf:action ; + mf:name "Reset the default language" ; + mf:result . + +<#t0082> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0042" ; + mf:action ; + mf:name "Expanding reverse properties" ; + mf:result . + +<#t0083> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0043" ; + mf:action ; + mf:name "Using reverse properties inside a @reverse-container" ; + mf:result . + +<#t0084> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0044" ; + mf:action ; + mf:name "Ensure index maps use language mapping" ; + mf:result . + +<#t0085> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0045" ; + mf:action ; + mf:name "Top-level value objects are removed" ; + mf:result . + +<#t0086> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0046" ; + mf:action ; + mf:name "Free-floating nodes are removed" ; + mf:result . + +<#t0087> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0047" ; + mf:action ; + mf:name "Remove free-floating set values and lists" ; + mf:result . + +<#t0088> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0048" ; + mf:action ; + mf:name "Terms are ignored in @id" ; + mf:result . + +<#t0089> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0049" ; + mf:action ; + mf:name "Using strings as value of a reverse property" ; + mf:result . + +<#t0090> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0050" ; + mf:action ; + mf:name "Term definitions with prefix separate from prefix definitions" ; + mf:result . + +<#t0091> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0051" ; + mf:action ; + mf:name "Expansion of keyword aliases in term definitions" ; + mf:result . + +<#t0092> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0052" ; + mf:action ; + mf:name "@vocab-relative IRIs in term definitions" ; + mf:result . + +<#t0093> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0053" ; + mf:action ; + mf:name "Expand absolute IRI with @type: @vocab" ; + mf:result . + +<#t0094> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0054" ; + mf:action ; + mf:name "Expand term with @type: @vocab" ; + mf:result . + +<#t0095> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0055" ; + mf:action ; + mf:name "Expand @vocab-relative term with @type: @vocab" ; + mf:result . + +<#t0096> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0056" ; + mf:action ; + mf:name "Use terms with @type: @vocab but not with @type: @id" ; + mf:result . + +<#t0097> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0057" ; + mf:action ; + mf:name "Expand relative IRI with @type: @vocab" ; + mf:result . + +<#t0098> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0058" ; + mf:action ; + mf:name "Expand compact IRI with @type: @vocab" ; + mf:result . + +<#t0099> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0059" ; + mf:action ; + mf:name "Reset @vocab by setting it to null" ; + mf:result . + +<#t0100> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0060" ; + mf:action ; + mf:name "Overwrite document base with @base and reset it again" ; + mf:result . + +<#t0101> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0061" ; + mf:action ; + mf:name "Coercing native types to arbitrary datatypes" ; + mf:result . + +<#t0102> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0062" ; + mf:action ; + mf:name "Various relative IRIs with with @base" ; + mf:result . + +<#t0103> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0063" ; + mf:action ; + mf:name "Expand a reverse property with an index-container" ; + mf:result . + +<#t0104> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0064" ; + mf:action ; + mf:name "Expand reverse property whose values are unlabeled blank nodes" ; + mf:result . + +<#t0105> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0065" ; + mf:action ; + mf:name "Keys that are not mapped to an IRI in a reverse-map are dropped" ; + mf:result . + +<#t0106> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0066" ; + mf:action ; + mf:name "Use @vocab to expand keys in reverse-maps" ; + mf:result . + +<#t0107> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0067" ; + mf:action ; + mf:name "prefix:://sufffix not a compact IRI" ; + mf:result . + +<#t0108> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0068" ; + mf:action ; + mf:name "_::sufffix not a compact IRI" ; + mf:result . + +<#t0109> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0069" ; + mf:action ; + mf:name "Compact IRI as term with type mapping" ; + mf:result . + +<#t0110> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0070" ; + mf:action ; + mf:name "Redefine compact IRI with itself" ; + mf:result . + +<#t0111> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0071" ; + mf:action ; + mf:name "Redefine terms looking like compact IRIs" ; + mf:result . + +<#t0112> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "RDF version of expand-0072" ; + mf:action ; + mf:name "Redefine term using @vocab, not itself" ; + mf:result . + +<#t0113> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Basic use of creating a named graph using an IRI name" ; + mf:action ; + mf:name "Dataset with a IRI named graph" ; + mf:result . + +<#t0114> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Basic use of creating a named graph using a BNode name" ; + mf:action ; + mf:name "Dataset with a IRI named graph" ; + mf:result . + +<#t0115> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Dataset with a default and two named graphs (IRI and BNode)" ; + mf:action ; + mf:name "Dataset with a default and two named graphs" ; + mf:result . + +<#t0116> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Embedding @graph in a node creates a named graph" ; + mf:action ; + mf:name "Dataset from node with embedded named graph" ; + mf:result . + +<#t0117> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Embedding @graph in a node creates a named graph. Graph name is created if there is no subject" ; + mf:action ; + mf:name "Dataset from node with embedded named graph (bnode)" ; + mf:result . + +<#t0118> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Triples with blank node predicates are not dropped if the produce generalized RDF flag is true." ; + mf:action ; + mf:name "produce generalized RDF flag" ; + mf:result ; + jld:option [ + jld:produceGeneralizedRdf true + ] . + +<#t0119> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "Proper (re-)labeling of blank nodes if used with reverse properties." ; + mf:action ; + mf:name "Blank nodes with reverse properties" ; + mf:result . + +<#t0120> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (0)" ; + mf:result . + +<#t0121> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (1)" ; + mf:result . + +<#t0122> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (2)" ; + mf:result . + +<#t0123> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (3)" ; + mf:result . + +<#t0124> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (4)" ; + mf:result . + +<#t0125> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (5)" ; + mf:result . + +<#t0126> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (6)" ; + mf:result . + +<#t0127> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (7)" ; + mf:result . + +<#t0128> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (8)" ; + mf:result . + +<#t0129> + a jld:PositiveEvaluationTest , + jld:ToRDFTest ; + rdfs:comment "IRI resolution according to RFC3986." ; + mf:action ; + mf:name "IRI Resolution (9)" ; + mf:result . + -- cgit v1.2.1