1

My application needs the details of All Indian movies. I can't take it from IMDB or OMDB because the number of Indian movies is too less there. I need to fetch it from Wikipedia. Freebase is deprecated now and I have heard DBPedia has many less entries. The only option left is Wikidata's query API. But it is getting too tough to form the query. Couldn't understand through Wikidata's 1 page api documentation. Tried the following query, but it returned just 2118 entries, which is too less compared to what we can see in Wikipedia (10000+) entries.

https://wdq.wmflabs.org/api?q=claim[31:(TREE[11424][][279])]%20AND%20tree[668][150][17,131]

Can anybody help me in fetching the details of all Indian movies from wikipedia? It would be a great help

3

You can get all Wikidata items which are:

with the following:

https://wdq.wmflabs.org/api?q=claim[31:11424] AND claim[495:668]

The last returns 21,595 entries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.