A small python script to visualize easily instances in RDF datasets using treemap in d3.
We suppose you copy the content to this location {HOME_INSTALL}.
{HOME_PYTHON27} is your home install of python2.7.
To be sure, open a terminal an type python --version.
python 2.7
SPARQLWrapper
JSON
c:\python27> python makeJSONd3.py [-f] [-e] endpointURI
copy/Y (mv) classesd3.json {HOME_INSTALL}
cd {HOME_INSTALL}
python -m SimpleHTTPServer or python -m http.server (3x)
open your browser at localhost:8000 or 127.0.0.0:8000
"Right view" shows the top first classes with a large number of instances
"Left view" shows the classes with fewer instances.
Instant treemap-like view of an endpoint Filter by language tag "en", "fr" (-e, -f) Example: dbpedia fr instances at a glance
- Check you converted all your raw/legacy dataset
- Quick view of instances in a given endpoint for further analysis
- screen scraping of RDF datasets for instance matching
- Dataset instance monitoring and quality checking
Make a script