| Cparle added a comment. |
From a strictly searching perspective I can't see that it matters
Say for arguments sake that on commons we allow statements with the wikidata property 'depicts' P180 (contains a wikidata Q-ID) and 'MoMA artwork id' P2014 (contains an external id). We whitelist these for search indexing (via $wgWBRepoSettings['searchIndexProperties']) and they get written into the search index in the statement_keywords field, for example
"statement_keywords": [
"wikidata:P180=wikidata:Q527"
"wikidata:P2014=79802"
](the 'wikidata' suffix comes from federation, and Q527 means 'sky')
So if I want to find files that depict 'sky', I run a search with haswbstatement:wikidata:P180=wikidata:Q527. If I want to find the file with MoMA artwork id 79802, I run a search with haswbstatement:wikidata:P2014=79802.
Cc: Ramsey-WMF, Lydia_Pintscher, Smalyshev, dcausse, Aklapper, Cparle, Lahi, PDrouin-WMF, Gq86, E1presidente, SandraF_WMF, GoranSMilovanovic, QZanden, EBjune, Tramullas, Acer, V4switch, LawExplorer, Susannaanas, Wong128hk, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Fabrice_Florin, Raymond, Steinsplitter, Matanya, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
