mkroetzsch added a comment.

> is there any existing ontology we may want to use to create such links 
> between entity:P1234 and v:P1234 or q:P1234? Or should we just invent our own?


We would have to make new URIs here. This depends on which/how many variants of 
RDF property URIs we use: we should use a different link for each kind of RDF 
property variant. For example, we could have :P1234 wikibase:qualifierProperty 
q:P1234.

> Also, if we never use entity:P1234 in statements, to look it up (e.g. for 
> type, etc. if we add type to property export, or for properties) one would 
> have to do additional hop with something like: ?entity wikibase:represents 
> v:P1234 instead of just using it directly. Not sure if it's a big issue.


I would say that it is not a big issue since most of the RDF properties we use 
will always have that problem. If we use the property entity as an RDF 
property, it would only replace one of the uses of property variants. In all 
other places, you would still need the additional hop to get the label.

It would be good if the linked data export for all RDF property variants could 
include the entity labels. I would not add them to the dumps though (1000 x 300 
x 5 is a lot of additional triples).

For convenient SPARQL-based access, we should provide query interfaces that 
retrieve labels for IRIs that occur in query results so that users don't have 
to SPARQL for the label. Such post-query labelling is done in WDQ. It will be 
easy to extend this to property variants without even looking at the RDF graph. 
This will make the SPARQL queries much lighter in general.


TASK DETAIL
  https://phabricator.wikimedia.org/T93451

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev, mkroetzsch
Cc: Denny, mkroetzsch, daniel, Manybubbles, Aklapper, Smalyshev, jkroll, 
Wikidata-bugs, Jdouglas, aude, GWicke, JanZerebecki



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to