sparna-git / shacl-play

SHACL validation UI, SHACL documentation generator, SHACL generator from RDF.
http://shacl-play.sparna.fr
GNU Lesser General Public License v3.0
24 stars 15 forks source link

JSON-LD @context generator : handle rdf:langString to @container : "@language" #149

Closed tfrancart closed 2 weeks ago

tfrancart commented 3 weeks ago

Quand une propriété dans le SHACL a le datatype rdf:langString, on doit ajouter dans le mapping JSON-LD correspondant l'option "@container" : "@language"

Exemple:

label: {
  "@id" : "rdfs:label",
  "@container" : "@language"
}