Concerning keywords in the description field of properties: i think that is a shortcoming of the current autocomplete API that i'm using, which is the same one Wikidata uses for the searchbox in the top-right corner. Apparently they're not indexing those keywords, which makes it difficult for me to also include them in my search.
Where is the documentation for this feature? I have been getting a number of interesting comments from GLAMs about the difficulty of using Authority Controls within their in-house Content management systems. I feel like this API might be a really tangible way of promoting Wikidata as facilitating consistent identifiers for metadata.
Cheers,
Alex
It's probably documented somewhere in the API docs, but it's really quite easy, just replace the <query> in this URL to search Wikidata:
https://www.wikidata.org/w/api.php?action=wbsearchentities&origin=*&...<query>
-- Hay
On Wed, Jun 21, 2017 at 6:28 PM, Alex Stinson astinson@wikimedia.org wrote:
Concerning keywords in the description field of properties: i think that is a shortcoming of the current autocomplete API that i'm using, which is the same one Wikidata uses for the searchbox in the top-right corner. Apparently they're not indexing those keywords, which makes it difficult for me to also include them in my search.
Where is the documentation for this feature? I have been getting a number of interesting comments from GLAMs about the difficulty of using Authority Controls within their in-house Content management systems. I feel like this API might be a really tangible way of promoting Wikidata as facilitating consistent identifiers for metadata.
Cheers,
Alex
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Hej,
Where is the documentation for this feature?
I briefly asked Jonas from the Wikidata team, he send me these links to the docs:
https://www.wikidata.org/w/api.php?action=help&modules=wbsearchentities
https://www.mediawiki.org/wiki/Wikibase/API/de#wbsearchentities
He also mentioned that he hopes we get it to work with elastic search at some point which would further improve this function.
Jan
2017-06-21 22:53 GMT+02:00 Hay (Husky) huskyr@gmail.com:
It's probably documented somewhere in the API docs, but it's really quite easy, just replace the <query> in this URL to search Wikidata:
https://www.wikidata.org/w/api.php?action=wbsearchentities&origin=*& format=json&language=en&type=property&search=<query>
-- Hay
On Wed, Jun 21, 2017 at 6:28 PM, Alex Stinson astinson@wikimedia.org wrote:
Concerning keywords in the description field of properties: i think that is a shortcoming of the current autocomplete API that i'm using, which is the same one Wikidata uses for the searchbox in the top-right corner. Apparently they're not indexing those keywords, which makes it difficult for me to also include them in my search.
Where is the documentation for this feature? I have been getting a
number of
interesting comments from GLAMs about the difficulty of using Authority Controls within their in-house Content management systems. I feel like
this
API might be a really tangible way of promoting Wikidata as facilitating consistent identifiers for metadata.
Cheers,
Alex
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata