Lucas_Werkmeister_WMDE added subscribers: Denny, mkroetzsch.
Lucas_Werkmeister_WMDE added a comment.


  CCing @mkroetzsch and @Denny for input on the RDF model – they probably have 
some use cases in mind.
  
  > queries based on the number of unknown values on a particular property? 
Examples would help here I think.
  
  Note that people who are counting unknown values with `wdt:P106 ?blank` 
already only count //best-rank// statements; and if they count all statements 
via `p:P106 ?statement. ?statement ps:P106 ?blank`, then they should still get 
the correct count. So I’m not sure how bad the collapsing of unknown values 
would be in practice.
  
  The “find entities which share the same value” example is a very good point, 
though. That might be dangerous.
  
  > I did some tests and isBlank is a lot faster (I suppose because this 
information is inlined as opposed to the IRI that has to be fetched from its 
dictionary).
  
  If we go with an `wikibase:isUnknownValue` function, then its implementation 
might also be able to be very efficient, also looking only at the inlined part 
of the information? Not sure. (I’m assuming that these `wdunk:` nodes would be 
inlined as a special “unknown value” type and the “entity ID + UUID” part, 
similar to how entity IDs, I believe, are inlined as their type plus the 
numeric ID part. Hopefully the UUID isn’t too long to be inlined? But maybe 
even if it is, the `wikibase:isUnknownValue` function wouldn’t need to load the 
not-inlined part? I don’t know enough Blazegraph internals.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: mkroetzsch, Denny, Lucas_Werkmeister_WMDE, Aklapper, dcausse, 
darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to