diff --git a/csv2rdf/index.html b/csv2rdf/index.html index c76e4290..a8deebe2 100644 --- a/csv2rdf/index.html +++ b/csv2rdf/index.html @@ -186,10 +186,7 @@
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.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]].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.
@@ -289,12 +288,7 @@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 toRdf
algorithm should be replaced.
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 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.
Given a subject, property and value in normalized form:
+@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
.Emit the following triple: +
In addition to the namespaces defined above, the examples provided here make use of the following namespaces: