Page MenuHomePhabricator

If a MediaInfo items depicts something that has its own 'depicts' statements, add those to the search index too
Open, MediumPublic

Description

If a MediaInfo items depicts something that has its own 'depicts' statements, add those to the search index too

For example - an photo of the Mona Lisa might have 'depicts'='Q12418' (the mona lisa), and no other depicts statements. The item for the Mona Lisa, however, itself has depicts statements.

https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3Fqualifier%20%3Fqualifiee%20%3FqualifieeLabel%20WHERE%20%7B%0A%20%20%20wd%3AQ12418%20p%3AP180%20%3Fstatement%20.%0A%20%20%20%3Fstatement%20ps%3AP180%20%3Fitem%20.%20%0A%20%20%20OPTIONAL%7B%20%3Fstatement%20%3Fqualifier%20%3Fqualifiee%20.%20%3Fx%20wikibase%3Aqualifier%20%3Fqualifier%20%7D%20.%0A%20%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%0A%20%20%20%7D%0A%20%7D%0A

Add those statements to the search index for the MediaInfo item

Related Objects

Event Timeline

Cparle triaged this task as High priority.Jul 10 2018, 4:01 PM
Cparle created this task.

Change 451028 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] Add related statements to search index

https://gerrit.wikimedia.org/r/451028

Aklapper changed the edit policy from "Custom Policy" to "All Users".Sep 17 2018, 5:50 PM
Aklapper changed Risk Rating from N/A to default.

@Ramsey-WMF moving out of current work, because we're not currently working on it

Also pointing to T223815: Structured data on Commons search federated inheritance which, in my understanding, asks for the same functionality applied to the property Digital representation of (P6243)

CBogen lowered the priority of this task from High to Medium.Aug 31 2020, 8:32 PM
CBogen moved this task from Triage to Tracking on the Structured-Data-Backlog board.
CBogen added a project: Discovery-Search.
CBogen moved this task from needs triage to Wikibase Search on the Discovery-Search board.
Cparle removed Cparle as the assignee of this task.Nov 2 2020, 9:38 AM