Page MenuHomePhabricator

consider deprecated and preferred rank in queries
Closed, ResolvedPublic

Description

Simple queries should only return the items where the statement being queried for is the best statement available. This means we take ranks into account. More specifically:

  • If the statement is marked deprecated do not include it in the result.
  • If the statement is marked normal include it in the result only if there is no preferred statement.
  • If there is a statement marked preferred always include it in the result.

Version: master
Severity: major
Whiteboard: u=dev c=backend p=0

Details

Reference
bz64895

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:17 AM
bzimport set Reference to bz64895.
bzimport added a subscriber: Unknown Object (MLST).

In other words, we only want the "best claims", a concept which was introduced some time ago already.

This is _extremely_ trivial to implement. Going to await merging of https://github.com/wmde/WikibaseQueryEngine/pull/29 to avoid not needed conflicts though.