Page MenuHomePhabricator

[RFC] Add additional concepturi field to the wbsearchentities API
Closed, ResolvedPublic

Description

Currently the wbsearchentities API returns an url field for each search result. It contains the URL for the wiki page of the entity, e.g. https://www.wikidata.org/wiki/Q9351.

Proposal: Add a new concepturi field with the concept URI, e.g. http://www.wikidata.org/entity/Q9351.

Why? We actually need this for the unitsuggester (see https://github.com/wmde/ValueView/pull/184) and it's probably useful in many other (external) use cases.

Patch: https://gerrit.wikimedia.org/r/#/c/233982/

Event Timeline

thiemowmde raised the priority of this task from to Medium.
thiemowmde updated the task description. (Show Details)
thiemowmde added subscribers: thiemowmde, Jonas, daniel and 2 others.

Change 233982 had a related patch set uploaded (by Addshore):
Add "concepturi" field to wbsearchentities API results

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

Change 233982 merged by jenkins-bot:
Add "concepturi" field to wbsearchentities API results

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

daniel claimed this task.
daniel moved this task from Review to Done on the Wikidata-Sprint-2015-08-18 board.

merged