Hey,

given you have titles of Wikipedia articles and you know from which
Wikipedia, you could easily use the Wikidata wbgetentities API module [1].
Here's a sample request for some random German monarchs [2].
Take also a closer look at the "props" parameter which allows you to
specify which information you want to get back from each entity.

HTH,
cheers, tobi

[1] https://www.wikidata.org/w/api.php?action=help&modules=wbgetentities
[2]
https://www.wikidata.org/w/api.php?action=wbgetentities&titles=Louis_the_German|Carloman_of_Bavaria|Charles_the_Fat|Henry_II,_Holy_Roman_Emperor|Hermann_of_Salm|Henry_Berengar&sites=enwiki&props=info


On Thu, Jul 23, 2015 at 8:44 AM, Sandra Fauconnier <
[email protected]> wrote:

> Hi everyone,
>
> I’ve been in the situation quite often (edit-a-thons; various to do lists)
> where I had a list of terms (most usually names of a few hundreds of
> people, or titles of Wikipedia articles), where I wanted to do a quick
> search on Wikidata to retrieve each of these concept’s Q number.
> Does anyone know of a tool that helps me make this easier? Enter a list
> of, say, 100 of these search terms, and receive Q number suggestions for
> each of them? I’ve looked around on wmflabs but have not found anything in
> that direction (also not with the help of Hay’s awesome tool directory
> <http://tools.wmflabs.org/hay/directory/#/>).
>
> Till now, I’ve done all these searches manually - use an excel sheet, look
> for each term individually, enter Q number for each term - quite accurate
> but very time-consuming!
>
> Would appreciate all help/tips !
> Thanks! Sandra (User:Spinster)
>
> _______________________________________________
> Wikidata mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>


-- 
Tobi Gritschacher
SCRUM Master

Imagine a world, in which every single human being can freely
share in the sum of all knowledge. That‘s our commitment.
http://spenden.wikimedia.de/

Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone +49 (0)30 219 158 260

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to