On Tue, Mar 20, 2018 at 6:36 PM, Dennis Diefenbach <
dennis.diefenbach(a)univ-st-etienne.fr> wrote:
Hi!
Here an example …. Imagine I search for the identifiers of entities called
“Barack Obama”. In Wikidata I would do:
api.php?action=wbgetentities&sites=enwiki&titles=Barack_
Obama&format=jsonfm
So for wikidata I would put “enwiki”. But what do I put as a parameter for
my private wiki? Where is this defined?
Ok thanks. It seems like what you want to do is get the list of items that
have the label "Barack Obama". For this you need to use wbsearchentities.
wbgetentities gives you the data from the item connected to a given article
(in your case the English Wikipedia Article about Barack Obama).
Hope that helps.
Cheers
Lydia
--
Lydia Pintscher -
http://about.me/lydia.pintscher
Product Manager for Wikidata
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/029/42207.