materialdigital / core-ontology

The PMD Core Ontology (PMDco) official release repository
12 stars 10 forks source link

wasUsedBy not existing in prov #67

Closed joergfunger closed 10 months ago

joergfunger commented 1 year ago

The definition of inputOf includes a subproperty wasUsedBy from the prov-ontology. When importing this, an error is obtained, since it seems that wasUsedBy is not existing in http://www.w3.org/ns/prov.

    <owl:ObjectProperty rdf:about="https://w3id.org/pmd/co/inputOf">
        <rdfs:subPropertyOf rdf:resource="http://www.w3.org/ns/prov#wasUsedBy"/>
        <rdfs:subPropertyOf rdf:resource="https://w3id.org/pmd/co/participantOf"/>
        <rdfs:isDefinedBy rdf:resource="https://w3id.org/pmd/co"/>
        <rdfs:label xml:lang="en">input of</rdfs:label>
        <skos:altLabel>is input of</skos:altLabel>
    </owl:ObjectProperty>
joergwa commented 12 months ago

Thank you for opening this issue.

The wasUsedBy property is provided by the "inverses" extension of prov-o. This can be found at http://www.w3.org/ns/prov-o-inverses# . See also: https://www.w3.org/TR/prov-o/#inverse-names .

PMDco imports http://www.w3.org/ns/prov-o-inverses# which then imports http://www.w3.org/ns/prov-o transitively.