Status: | effective |
Progress: | 100% |
Version: | 3.2.0+ |
Property pages provide a field that allows for filtering data values annotated to the respective property. The filter restricts the display of applicable pages to the results determined.1. A concise tooltip2 is provided and the "Usage" tab displays the number of all applicable filtered results even if not all of them may be shown on the page.
The filter allows to match plain (as-is) values. However a filter may also take query expressions:
in:
– the filter results should include the term, e.g. 'in:Foo
'not:
– the filter results should not include the term, e.g. 'not:Bar
'phrase:
– the filter results should include the term in the given order, e.g. 'phrase:Foo Bar Baz
'
Depending on the Query Engine used it can support case insensitivity out-of the box (ElasticSearch or in parts SQL if using full-text search).
Also note that different datatypes, i.e. the datatype assigned to the respective property may interpret expressions differently, for example for propeties with datatype "Date"Holds particular points in time, 'in:2020
' will mean to filter anything between [[Date:≥1.1.2020]] [[Date:<<1.1.2021]]
3
See also[edit]
- Help page on property pages
- Help page on query expressions
- Help page on full-text search
References
- ^ Semantic MediaWiki: GitHub pull request gh:smw:2878
- ^ Semantic MediaWiki: GitHub pull request gh:smw:4497
- ^ | Semantic MediaWiki: GitHub pull request gh:smw:1178