Hi!
Thank you! So stupid, I wanted to use the wrong method in the Wikidata Toolkit.
Have a nice evening! Salut Dennis
http://laboratoirehubertcurien.fr/ Dennis DIEFENBACH Doctorand dennis.diefenbach@univ-st-etienne.fr mailto:dennis.diefenbach@univ-st-etienne.fr Laboratoire Hubert Curien Campus Manufacture 18 RUE Pr Benoît Lauras 42000 SAINT-ETIENNE 04 77 91 57 80 http://laboratoirehubertcurien.fr http://laboratoirehubertcurien.fr/ http://www.univ-st-etienne.fr/ http://www.facebook.com/Universite.Jean.Monnet.Saint.Etienne https://twitter.com/Univ_St_Etienne https://www.youtube.com/user/UniJeanMonnetUJM https://www.linkedin.com/edu/universit%C3%A9-jean-monnet-saint-etienne-12533 http://www.viadeo.com/fr/company/universite-jean-monnet http://www.universite-lyon.fr/
On 20. Mar 2018, at 19:16, Lydia Pintscher lydia.pintscher@wikimedia.de wrote:
On Tue, Mar 20, 2018 at 6:36 PM, Dennis Diefenbach < dennis.diefenbach@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. _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l