Currently haswbstatement indexes all statements of some property including deprecated ones. We should have some semantic to refine the result. Proposed:
- haswbstatement:P31=Q5 will return all items with P31=Q5 in all non-deprecated ranks
- haswbstatement:P31a=Q5 will return all items with P31=Q5 in all ranks (the current behavior of haswbstatement)
- haswbstatement:P31b=Q5 will return all items with P31=Q5 in the best rank among all P31 statements
- haswbstatement:P31d=Q5 will return all items with P31=Q5 in the deprecated rank
- haswbstatement:P31n=Q5 will return all items with P31=Q5 in the normal rank
- haswbstatement:P31p=Q5 will return all items with P31=Q5 in the preferred rank
Note:
- The behavior of free-text search does not change
- Changing the behavior of haswbstatement (as proposed) should be considered as a breaking change