- From: Gregg Kellogg <gregg@greggkellogg.net>
- Date: Fri, 6 Dec 2019 10:28:48 -0800
- To: Ivan Herman <ivan@w3.org>
- Cc: W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
For the RDF namespace, I’d add the following entries: rdf:JSON a rdfs:Datatype ; rdfs:label “JSON" ; rdfs:comment "The datatype of RDF literals storing JSON content" ; rdfs:subClassOf rdfs:Literal ; rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ; rdfs:seeAlso <https://www.w3.org/TR/json-ld11/#the-rdf-json-datatype> . rdf:CompoundLiteral a rdfs:Resource ; rdfs:label "CompoundLiteral" ; rdfs:comment "A class representing a compound literal." ; rdfs:subClassOf rdfs:Resource ; rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ; rdfs:seeAlso <https://www.w3.org/TR/json-ld11/#the-rdf-compoundliteral-class-and-the-rdf-language-and-rdf-direction-properties> . rdf:language a rdf:Property ; rdfs:label "language" ; rdfs:comment “The language component of a CompoundLiteral." ; rdfs:domain rdf:CompoundLiteral ; rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ; rdfs:seeAlso <https://www.w3.org/TR/json-ld11/#the-rdf-compoundliteral-class-and-the-rdf-language-and-rdf-direction-properties> . rdf:direction a rdf:Property ; rdfs:label "direction" ; rdfs:comment “The direction component of a CompoundLiteral." ; rdfs:domain rdf:CompoundLiteral ; rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ; rdfs:seeAlso <https://www.w3.org/TR/json-ld11/#the-rdf-compoundliteral-class-and-the-rdf-language-and-rdf-direction-properties> . For the i18n namespace <https://www.w3.org/ns/i18n#> we could create a simple OWL ontology, for documentation purposes, or simply use a text file. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix dc: <http://purl.org/dc/elements/1.1/> . <https://www.w3.org/ns/i18n#> a owl:Ontology ; dc:title "The I18N Namespace" ; dc:description “"" The i18n namespace is used for describing combinations of language tag and base direction in RDF literals. It is used as an alternative mechanism for describing the BCP47 language tag and base direction of RDF literals that would otherwise use the xsd:string or rdf:langString datatypes. """; rdfs:seeAlso <https://www.w3.org/TR/json-ld11/#the-i18n-namespace> . For the i18n document, I would add an HTML version as well as Turtle. Gregg Kellogg gregg@greggkellogg.net
Received on Friday, 6 December 2019 18:28:54 UTC