mkroetzsch added a comment.

@Smalyshev My suggestion was just about the surface appearance, not about the 
inner workings. I am saying that the following two phrases have the same 
structure:

- "Find things with a *sitelink* that *has badge* *featured*".
- "Find things with a *population* that has *point in time* *2014*".

If you look at it like this, you use "badge" like a (special) qualifier 
property and "featured" like a value. This does not mean that the query 
answering will be any less efficient than with another syntax. The query engine 
would easily parse the queries in any case, without ambiguity, and know that 
sitelinks are (possibly) stored in a different way internally. Same for labels. 
The reason I was suggesting this unification here was that it also somehow 
answers the question "what do we mean by 'indexing' this data?": any query that 
would work over statements would also be expected to work for sitelinks, even 
if different structures are used internally.


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

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: Aklapper, Smalyshev, Lydia_Pintscher, Multichill, Magnus, daniel, 
JeroenDeDauw, JanZerebecki, aude, mkroetzsch, Denny, Sjoerddebruin, 
Tobi_WMDE_SW, jkroll, Wikidata-bugs, GWicke, Manybubbles



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to