From 53ba5d3164506431bdf098fb045587953d66c6f2 Mon Sep 17 00:00:00 2001
From: Gregg Kellogg In standard mode only, recursively insert the triples resulting from running the [[!json-ld-api]] toRdf algorithm over any common properties specified for the table group, with node G as an initial subject. Where where language information is specified within the metadata description the appropriate language tag(s) (as defined in [[!rdf11-concepts]]) MUST be provided. In standard mode only, emit the triples generated by running the algorithm specified in over any common properties specified for the table group, with node G as an initial subject, the common property as property, and the value of the common property as value. Each table is processed sequentially in the order they are referenced in the table group description. In standard mode only, recursively insert the triples resulting from running the [[!json-ld-api]] toRdf algorithm over any notes and common properties specified for the table, with node T as an initial subject. “Create simplified algorithm for turning normalized JSON-LD into RDF”: once that is done, the reference to the Where where language information is specified within the metadata description for notes or common properties the appropriate language tag(s) (as defined in [[!rdf11-concepts]]) MUST be provided. In standard mode only, emit the triples generated by running the algorithm specified in over any notes and common properties specified for the table, with node T as an initial subject, the notes or common property as property, and the value of the common property as value. All other annotations for the table are ignored during the conversion; including information about table schemas and column descriptions specified therein, dialect descriptions, foreign-key-definitions etc. This section defines a mechanism for transforming the JSON-LD Dialect used for common properties and Given a subject, property and value in normalized form: Emit the following triple:
+ Algorithm terms
toRdf
algorithm should be replaced.@id
property for the current resource. As defined in [[!tabular-data-model]], the identifier is null
if the @id
property is undefined. The identifier MAY be applied to either a table group or a table.Algorithm terms
notes
property. This may be an empty list.prefix:name
. See Names of Common Properties in [[!tabular-metadata]] for information on expansion.propertyUrl
property of the current cell as defined in URI template properties in [[!tabular-metadata]].Generating RDF
Generating RDF
toRdf
algorithm should be replaced.Inclusion of provenance information
+ JSON-LD to RDF
+ notes
into RDF in a manner consistent with the Deserialize JSON-LD to RDF Algorithm defined in [[!json-ld-api]]. Converters MAY use any algorithm which results in equivalent triples.
+
@value
, create an RDF Literal lit using the string value of @value
and language from @language
, if present, and emit the following triple:
+
+
+
+
+ @id
, if it exists, and new blank node otherwise and emit the following triple:
+
+ @type
, either a term defined in the [[csvw-context]], a prefixed name, or an absolute URL; establish a new node Ti by expanding the value to an absolute URL by replacing a term with the URI from the term definition in [[csvw-context]] or a prefixed name with its expanded value. For each Ti, emit the following triple:
+
+ @
(U+0040
) generate RDF by running this algorithm using S for subject, key for property and val for value.
+
+
+ true
or false
, create an RDF Literal lit using the strings "true" or "false", accordingly with datatype xsd:boolean
xsd:double
.xsd:integer
.
+
+
In addition to the namespaces defined above, the examples provided here make use of the following namespaces:
From 28d717e6299fe321bd443a5c38df15686a484e58 Mon Sep 17 00:00:00 2001 From: Gregg Kelloggnotes
property. This may be an empty list.prefix:name
. See Names of Common Properties in [[!tabular-metadata]] for information on expansion.prefix:name
. See Names of Common Properties in [[!tabular-metadata]] for information on expansion.propertyUrl
property of the current cell as defined in URI template properties in [[!tabular-metadata]].