ProfessionalWiki / WikibaseRDF

Wikibase extension that allows defining RDF mappings for Wikibase Entities
https://rdf.wikibase.wiki
GNU General Public License v2.0
14 stars 4 forks source link

Multiple mappings results in duplicated rdf:type triples #127

Open Abbe98 opened 1 year ago

Abbe98 commented 1 year ago

Example:

wdt:P6 a owl:ObjectProperty ;
    owl:equivalentProperty <http://www.cidoc-crm.org/cidoc-crm/P46_is_composed_of> ;
    a owl:ObjectProperty ;
    owl:equivalentProperty <https://schema.org/isPartOf> ;
    a owl:ObjectProperty ;
    owl:equivalentProperty <https://www.wikidata.org/entity/P361> .

But because Wikibase already sets wdt:P6 a owl:ObjectProperty elsewhere, the following would be expected:

wdt:P6 owl:equivalentProperty <http://www.cidoc-crm.org/cidoc-crm/P46_is_composed_of> ;
    owl:equivalentProperty <https://schema.org/isPartOf> ;
    owl:equivalentProperty <https://www.wikidata.org/entity/P361> .