query-7251bf9da4c2097aef83ebbc0d1f3c60
09:35, 29 November 2016 (UTC)) talk (Pasleim --Hey thank you so much! I appreciate it. I just ran it and for the first 1 million it worked just fine. I just have 2 questions: https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual1. how come there are over 7 million entities with EN wikipedias associated with them if there are only 5.x million english wikipedia articles? Is it because Wikidata also has non article pages too like /Category: etc? 2. How would I rewrite the query to get the 1,000,001-2,000,000 items? I looked here for more info but couldn't find it: Thanks for such a quick response, really appciate it! 12:32, 29 November 2016 (UTC)) talk (Edgars2007Answer to first question - yes, for categories, templates, Wikipedia namespace, Help namespace etc. --My guess to Q2:
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
SELECT ?item WHERE {
?item ^schema:about/schema:isPartOf <https://en.wikipedia.org/>
} limit 1000000 offset 1000000