jargon-sh / issues

The jargon.sh issue tracker
1 stars 0 forks source link

[JSON-LD Context]: owl:ObjectProperty `@id` refers to ontology definition ('@id' in ontology) #15

Closed kshychko closed 1 month ago

kshychko commented 1 month ago

For example for DPP context root type is ProductPassport:

{
    "@context": {
        "dpp": "https://test.uncefact.org/vocabulary/untp/dpp/",
        "xsd": "http://www.w3.org/2001/XMLSchema#",
        "id": "@id",
        "type": "@type",
        "@version": 1.1,
        "ProductPassport": {
            "@id": "dpp:ProductPassport",
            "@type": "@id"
        }
}

accordingly to the definition in the vocabulary:

{
    "@id": "DigitalProductPassport:ProductPassport",
    "@type": "rdfs:Class",
    "rdfs:label": "ProductPassport",
    "schema:source": {
        "@id": "ProductPassport"
    },
    "rdfs:comment": "The ProductPassport is a comprehensive data structure that encapsulates various details pertaining to a product, including its identification details, who issued it, batch information, and different scores relating to sustainability and trustworthiness."
}
kshychko commented 1 month ago

Fixed