This is a tiny script to generate a graph, which visualise the relations of given Wikidata entities.
python wikidata-entity-connector.py -n NODES -o OUTPUT
Example:
python wikidata-entity-connector.py -n 567 1196 56039 154797 -o output.gv
This call will generate a Graphviz Dot File (output.gv) and a graph visualization in PDF format (output.gv.pdf).