Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.44 KB

readme.md

File metadata and controls

40 lines (25 loc) · 1.44 KB

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.