/wikidata-juliancalendar-entities

Get all entities using the Julian Calendar and a random one

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

wikidata-juliancalendar-entities

Get all entities using the Julian Calendar and a random one using SPARQL

This is just a little script, using SPARQL to query data from Wikidata to find all entities using the julian calendar.

getNewItems.py runs the SPARQL query and writes all links to items to a file. It's possible to compare to an existing csv file if you check the parts which are commented out.

getRandomItem.py reads the links to items from that file, returns a random one and rewrites the file without the returned link.

The SPARQL endpoint I'm using here is not provided by Wikidata itself, so it's possible that the data is not representing Wikidata completly or correctly.