This is an example RDF-dataset that contains the solar system's planets and their moons. For old times' sake, dwarf planet Pluto is also included. All data is generated by queries to Wikidata and then converted by a Python script.
- Python 3
- libraries in requirements.txt
The creation of the dataset is orchestrated through the Makefile.
Before running any of the make targets, you need to create a Python virtual environment and install the requirements:
% python -m venv venv
% . venv/bin/activate
(venv) √ solar-system-data % pip install -r requirements.txt
Collecting rdflib
Using cached rdflib-6.2.0-py3-none-any.whl (500 kB)
Collecting sparqlwrapper
Using cached SPARQLWrapper-2.0.0-py3-none-any.whl (28 kB)
...
Installing collected packages: six, pyparsing, isodate, rdflib, sparqlwrapper
Successfully installed isodate-0.6.1 pyparsing-3.0.9 rdflib-6.2.0 six-1.16.0 sparqlwrapper-2.0.0
All software in this repository is published under the MIT License. All data in this repository is published under CC0 1.0.