w3c / yml2vocab

Generate RDFS vocabulary files from YAML
https://w3c.github.io/yml2vocab
Other
14 stars 5 forks source link

dc:title and dc:description of ontology become blank nodes #11

Closed pchampin closed 1 year ago

pchampin commented 1 year ago

in the generated JSON-LD, we have:

  "dc:title": {
    "en": "here the title"
   },
  "dc:description": {
    "en": "here the description"
   }

which assumes that dc:title and dc:description are declared with "@container": "@language" in the context, but they are note. As a result, when parsing the JSON-LD as RDF, the value of these properties become blank node without any property.