Hi Dimitry,
I am not quering FOR the wikibase_item, I want to query WITH the wikibase_item as a parameter. Sorry if I was unclear.
Johan
On 20 May 2015, at 16:28, Dmitry Brant <dbrant@wikimedia.org> wrote:
Hi Johan,The wikibase_item is returned as part of the "pageprops" response, so your example query is already requesting it correctly. If you look at the json response for that query, you can see wikibase_item present in the pageprops object.
-Dmitry
_______________________________________________
On Wed, May 20, 2015 at 9:01 AM, Johan Mijs <johan.mijs@bibnet.be> wrote:
Hello,
we here at Bibnet (a government agency working for public libraries) in Brussels greatly admire your work on the Wikidata project! Thanks to the addition of Wikidata indentifiers to the viaf.org project, we finally will be able to relate the personal names in our library catalog to Wikipedia.
What we do now (without identifiers):We use the Wikipedia API to query the ’titles’ parameter, based on the name of an author in our database. Lots of things can go wrong of course.
Example query:
Result in our library catalog (AquaBrowser software):
What we want to do (with identifiers):Keep on using the Wikipedia api (because then there are no costs for extra development), but query for a Wikidata identifier (I believe it is called wikibase_item). I only find pageids as a parameter on http://nl.wikipedia.org/w/api.php?action=help&modules=query. Is querying for a Wikidata identifier possible? If not, what is a possible workaround?
Thank you,
Johan
_______________________________________________
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
_______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata