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

@CBogen Can you clarify the 'decline' here?

If the object of a photo is something like a painting or an engraving or a sculpture, then the design for the data assumed up until now is that the information what that painting or sculpture or engraving shows will be in an item on wikidata for the object, and usually /not/ in the Commons SDC.

So if we want a Commons search for cats to bring back not just snapshots of cats, but also paintings of cats, the assumption has been that that information from wikidata will have to get included into what is searched by Commons search too.

If this is not now to be the case, that is a *major* change of direction, and needs to be actively presented to the Commons SDC community -- it's a much bigger deal, one that the SDC editing community needs to know and understand about; not something to be just quietly closed here without any reference.

@Jheald closing this was a mistake, thanks for catching it. This is still something we'd like to do, though we're not sure when it will be prioritized.