Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, Wikidata Query Builder.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As a Query Builder user, I want to understand what kind of entities or 
results a query can return.
  
  **Problem:**
  Normally, queries generated by the query builder don’t place any restrictions 
on the entity type: for example, “subproperty of” with any value 
<https://w.wiki/6MeB> will return plenty of properties. However, when only 
negative query patterns are used (e.g. without “subproperty of” 
<https://w.wiki/6MeD>), then the generated query includes `?item 
wikibase:sitelinks _:anyValue.` (introduced in T272012 
<https://phabricator.wikimedia.org/T272012>), so that only items can be 
returned (non-items have no `wikibase:sitelinks` triple). This is inconsistent.
  
  **Screenshots/mockups:**
  
  **BDD**
  GIVEN 
  AND 
  WHEN
  AND
  THEN
  AND
  
  **Acceptance criteria:**
  
  - TBD
  
  **Open questions:**
  
  - Should the query builder always be limited to only return items, not other 
entity types? Or should the “only negative patterns” case be changed to allow 
other entity types as well? (For example, `wikibase:statements` instead of 
`wikibase:sitelinks` would include properties and lexemes, though not forms and 
senses.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Michael, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to