Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, Lexicographical data.
TASK DESCRIPTION As an RDF/OWL expert, I want lexeme-related predicates to be typed correctly. (This is vague because I’m not an RDF/OWL expert) **Problem:** T161991 <https://phabricator.wikimedia.org/T161991> introduced the `rdf-data-type` field for a data type to declare whether the RDF type of its properties should be owl:DatatypeProperty (the default, suitable for linking to numbers, strings, coordinates, and other values) or owl:ObjectProperty (suitable for linking to other entities). WikibaseLexeme doesn’t use this field, so predicates for properties of data type `wikibase-lexeme`, `wikibase-form` and `wikibase-sense` get the wrong type assigned in the RDF output. **Example:** P5188, datatype Lexeme <https://www.wikidata.org/wiki/Special:EntityData/P5188.ttl>: p:P5188 a owl:ObjectProperty . psv:P5188 a owl:ObjectProperty . pqv:P5188 a owl:ObjectProperty . prv:P5188 a owl:ObjectProperty . wdt:P5188 a owl:DatatypeProperty . ps:P5188 a owl:DatatypeProperty . pq:P5188 a owl:DatatypeProperty . pr:P5188 a owl:DatatypeProperty . P369, datatype Item <https://www.wikidata.org/wiki/Special:EntityData/P369.ttl>: p:P369 a owl:ObjectProperty . psv:P369 a owl:ObjectProperty . pqv:P369 a owl:ObjectProperty . prv:P369 a owl:ObjectProperty . wdt:P369 a owl:ObjectProperty . ps:P369 a owl:ObjectProperty . pq:P369 a owl:ObjectProperty . pr:P369 a owl:ObjectProperty . **Screenshots/mockups:** **BDD** GIVEN AND WHEN AND THEN AND **Acceptance criteria:** - `wdt:`, `ps:`, `pq:`, `pr:` predicates of Lexeme-type properties have the type owl:ObjectProperty - `wdt:`, `ps:`, `pq:`, `pr:` predicates of Form-type properties have the type owl:ObjectProperty - `wdt:`, `ps:`, `pq:`, `pr:` predicates of Sense-type properties have the type owl:ObjectProperty **Open questions:** TASK DETAIL https://phabricator.wikimedia.org/T255147 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, darthmon_wmde, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs