You could pass several ISBNs to wdq with OR (but I don't know if it will support 100 ISBNs in one go):

https://wdq.wmflabs.org/api?q=string%5B957:%222-7071-1620-3%22%5D%20OR%20STRING[957:%222-7071-1562-2%22]

Med vänliga hälsningar,
Jan Ainali

Verksamhetschef, Wikimedia Sverige 
0729 - 67 29 48


Tänk dig en värld där varje människa har fri tillgång till mänsklighetens samlade kunskap. Det är det vi gör.
Bli medlem.


2015-11-09 3:26 GMT+01:00 S Page <spage@wikimedia.org>:
In the article "Presenting Wikidata knowledge" [1], I've Been a bit Bold and specified a recipe:

1. Find existing interesting wiki pages in the domain of your application.
2. View the Wikidata information for those pages, choose interesting properties.
3. Associate Wikidata entity IDs with entities of your application.
4. Display their Wikidata information in the user's language.
5. Use the Wikidata "sitelinks" information about the item to provide links to the full Wikipedia (and Wikiquote, Wikivoyage, etc.) article about the entity in the user's language.

But I realize for something like a reference app there won't be Wikidata items for every entity in your app for step 3: not every book in print has a Wikidata item, nor does every musical recording, etc. For those there are already identifiers such as ISBNs and "MusicBrainz release group ID"s (mmm, brains). I assume reference app developers already use these more complete identifiers and so I'm inviting them to add Wikidata entity IDs where available.

I think these other identifiers are all "Wikidata property representing a unique identifier" and there are about 350 of them [2] But surprisingly, I couldn't find an easy way to look up a Wikidata item using these other identifiers.

I found you can do it one-by-one in Wikidata Query [3] and in Wikidata Query Serivce [4] but neither seems amenable to doing a query on the fly "Get me the Wikidata item for each of these 100 ISBNs "2-7071-1620-3", ...

Also, is this a temporary thing? Will Wikidata eventually have items for every book published, every musical recording, etc. and become a superset of all those unique identifiers?

Thanks!

[1] https://www.mediawiki.org/wiki/API:Presenting_Wikidata_knowledge
[2] https://www.wikidata.org/wiki/Special:WhatLinksHere/Q19847637?limit=500
[2] https://wdq.wmflabs.org/api?q=string%5B957:"2-7071-1620-3"%5D and
[3] https://query.wikidata.org with the the SPARQL (mmm, sparkly)
PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT ?book WHERE {
   ?book  wdt:P957 "2-7071-1620-3"
}

--
=S Page  WMF Tech writer

_______________________________________________
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata