RDFviz
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Renders the RDFa that your Drupal7 site is outputting in a graphical form.
This is something of a successor to graphviz_filter, although it has nothing to do with input filters any more.
Radically, it has very little to do with Drupal internals any more either. This tool just inspects your rendered pages and then parses the RDFa hints out of them, so you are really seeing what the search engines and semantic scrapers are seeing.
Current work is just using it to try and autogenerate site navigation diagrams and content relationships using HTML REL links and embedded metadata, but it can also expose data relationships such as A Drupal-managed staff directory showing team membership and heirarchy
Output options include
- basic RDF dump - a table of triples
- Raw 'dot' file syntax - as used by Graphviz and a large number of other graph tools
- PNG image
- SVG image
Traditional "RDF Graphs" are horrible computer-science things, but I've found that with only a little coercing, the graphviz renderer can be told to do a much nicer job of it.
Dependencies & Installation
It uses several libraries, (GraphViz, PEAR Image_GraphViz and the semsol ARC2 RDF Parser so installation requires a few steps and good access to your server.
There is an INSTALL.txt you MUST read, as there is not much dependency checking.
You should also get RDFx (which will help you set up the ARC2 library) and enable RDFUI which it provides. In turn, those tools require Entity API and ctools.
To get started, I suggest you try adding the small REL links module.
Usage
Currently, there is not much UI to speak of, and the config options are in the code also, but I'm trying to figure out a nice way of making this usable.
Current "UI" is:
Add '/rdfviz/png' to the beginning of any URL on your site
eg: http://example.com/rdfviz/png/node/11
to see a PNG picture of some of the data there. ('some', because not all relationships will be rendered unless they are given rendering rules)
Alternative rendering modes are (raw,dot,png,svg), so substitute that in the URL and http://example.com/rdfviz/raw/node
will dump all the embedded info exposed on your 'node' page.
Rendering
Any number of RDF statements (eg node/7, rdf:type, sioc:Item) can be used to trigger rendering preferences in the 'dot' file syntax (eg 'shape' => 'note')
When these rendering rules are mixed together with the set of RDF statements, a diagram pops out the other end. It's hyperlinked to the objects in question.