Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vladimiralexiev/wikidata-rdf-viz
What does Wikidata RDF actually look like?
https://github.com/vladimiralexiev/wikidata-rdf-viz
rdf rdfpuml wikidata wikidata-properties
Last synced: about 1 month ago
JSON representation
What does Wikidata RDF actually look like?
- Host: GitHub
- URL: https://github.com/vladimiralexiev/wikidata-rdf-viz
- Owner: VladimirAlexiev
- Created: 2019-02-13T10:34:01.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T11:43:17.000Z (over 4 years ago)
- Last Synced: 2024-11-10T09:30:39.648Z (3 months ago)
- Topics: rdf, rdfpuml, wikidata, wikidata-properties
- Language: Perl
- Size: 1.26 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
What does Wikidata RDF actually look like?
## Ontology
`wdq help ontology` from https://github.com/nichtich/wdq helps immensely, it is reproduced below:
![](WDQ-ontology.png)But even it doesn't describe the whole story, eg `wikibase:directClaimNormalized` etc.
## Scripts
Here are some simple scripts to:
- Download some Wikidata entities and save as Turtle: [wdget.pl](wdget.pl)
- Visualize the RDF graphs using `rdfpuml` from https://github.com/VladimirAlexiev/rdf2rml: [Makefile](makefile)
- Save as PNG (in many cases the canvas is cut off on the right!) and SVG (the full diagram is seen)## Simpler Example: PNG
[person-shipbuilder.png](person-shipbuilder.png):![](person-shipbuilder.png)
## Complex Example: SVG
[artefact-chest.svg](artefact-chest.svg):![](artefact-chest.svg)
## TODO
Of course, various improvements are possible, most importantly to print prop label next to the prop URL,
and to skip the property definition boxes as they are static data and not particularly enlightening.Enjoy!