W3C home > Mailing lists > Public > semantic-web@w3.org > December 2019

Updates on the RDF namespace

From: Ivan Herman <ivan@w3.org>
Date: Mon, 16 Dec 2019 16:26:43 +0100
Cc: W3C JSON-LD Working Group <public-json-ld-wg@w3.org>
To: Semantic Web <semantic-web@w3.org>
Message-Id: <2DE4F242-E4C8-4C2F-90D9-A5010B58B607@w3.org>
Dear all,

as you may have seen, the W3C JSON-LD Working Group has recently published a Candidate Recommendation for JSON-LD 1.1[1]. As part of the work on the new specification, the Working Group has defined some new terms that have been added to the core RDF Namespace[2]. These changes are:

- A new datatype, called rdf:JSON, similar to rdf:HTML or rdf:XMLLiteral: a literal in JSON syntax[3]
- A new class (rdf:CompoundLiteral) and two properties (rdf:language and rdf:direction), all related to internationalization issues, namely the problem of adding base direction to a language literal[4]

The goal of the first item is probably clear. As for the second, see more background in [5][6] with a large number of further links.

For completeness, I have added the output of a 'diff' to the mail (see below) that shows the changes on the Turtle file.

Note that the vocabulary[3] is available in Turtle, JSON-LD, and RDF/XML with the {.ttl,.jsonld,.rdf} suffixes in the URL.

Cheers,

Ivan


[1] https://www.w3.org/blog/news/archives/8182
[2] https://www.w3.org/1999/02/22-rdf-syntax-ns
[3] https://www.w3.org/TR/json-ld11/#the-rdf-json-datatype
[4] https://www.w3.org/TR/json-ld11/#the-rdf-compoundliteral-class-and-the-rdf-language-and-rdf-direction-properties
[5] https://lists.w3.org/Archives/Public/semantic-web/2019Jul/0103.html
[6] https://www.w3.org/2018/json-ld-wg/Meetings/Minutes/2019/2019-09-19-json-ld#section6



----
Ivan Herman, W3C 
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
ORCID ID: https://orcid.org/0000-0003-0782-2704



7a8
>   dc:date "2019-12-16" ;
125a127,154
> 
> 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:Class ;
>   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 base 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> .
Received on Monday, 16 December 2019 15:26:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:41 UTC