take File:Test.wav for example. it has P170=some value with qualifier P4174=RZuo. how do i make a search that finds all files with this?
Topic on Help talk:Extension:WikibaseCirrusSearch
Appearance
I may be wrong, but I doubt that you can use WikibaseCirrusSearch to search structured data for files on Commons. You can however use the Wikimedia Commons Query Service (WCQS) with a SPARQL query like this:
SELECT ?file
WHERE
{
?file p:P170 ?statement.
?statement ps:P170 ?value.
FILTER wikibase:isSomeValue(?value)
?statement pq:P4174 "RZuo".
}
Edit: After testing on Commons I see that I was wrong: You can use WikibaseCirrusSearch on Commons. However there seems to be no support for "some value" values, so you will have to use the SPARQL query anyway.
wrote a request https://phabricator.wikimedia.org/T360113 .