Skip to content

A simple RDF visualization tool based on GraphViz

Notifications You must be signed in to change notification settings

giacomociti/rdf2dot

Repository files navigation

A simple RDF visualization tool based on GraphViz.

Package Latest version
rdf2dot library with vocabulary and rules
rdf2dot-wc web components

Diagram descriptions are derived with N3 rules and converted to dot notation.

The default rules produce compact visualizations (only the subjects of some triple become nodes):

@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix wd: <http://www.wikidata.org/entity/> .
@prefix dbo: <https://dbpedia.org/ontology/> .
@prefix dbpedia: <http://dbpedia.org/resource/> .
  
wd:Q12418
    dcterms:title "Mona Lisa" ;
    dcterms:creator dbpedia:Leonardo_da_Vinci .

wd:Q128910
    dcterms:title "The Last Supper" ;
    dcterms:creator dbpedia:Leonardo_da_Vinci .

dbpedia:Leonardo_da_Vinci
    dbo:birthName "Leonardo da Vinci" ;
    dbo:birthPlace dbpedia:Republic_of_Florence .

Visualization rules can be customized (see the documentation for details).

Try it online here.

About

A simple RDF visualization tool based on GraphViz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published