15 February 2010

Another Tiny tool : RDF-to-Dot

RDFToDot Transforms an XML/RDF input to Graphviz-dot ( http://www.graphviz.org )

Usage


-h help; This screen.
-p {prefix} {uri} add this prefix mapping
(rdf stdin | rdf files | rdf urls )

Example


The following example my linkedin profile as a graph using a HTML Canvas:
xsltproc --html linkedin2foaf.xsl http://www.linkedin.com/in/lindenbaum |\
java -jar rdf2dot.jar |\
dot -Tsvg |\
java -jar svg2canvas.jar > file.html

Result:
Your browser does not support the <CANVAS> element !


Download



http://code.google.com/p/lindenb/downloads/list

That's it
Pierre

2 comments:

  1. bonjour, le format de page de linkedin a du changer, le parser pose des problemes.

    ReplyDelete
  2. 3 années plus tard, javascript en plus, oui, sans aucun doute :-)

    ReplyDelete