Re: GraphViz and SKOS...

Hi Jürgen!

I like very much the "treemap" !
Does the surface could vary depending of a "weight'? in my projects, I 
collect "usage data"
(how many times a concept is used in a given index or application).
The surface of each concept could be linked to this weight ?
   (I do not see any in 
http://turnguard.com/opendirectory/prefuse/OpenDirectoryTreeML.xml )

May be you know the display of WinDirStat, a very handy program to 
manage your hard disk:
http://windirstat.info/
It is a lot similar (in its principle) to your treemap.

Good evening!

Christophe

Le 15/02/2011 17:46, Jürgen Jakobitsch a écrit :
> hi,
>
> i just recently wrote a tiny SkosToTreeML converter.
> that way i can use prefuse, see these two examples (layout by prefuse, i just filled in the data)
>
> http://turnguard.com/opendirectory/prefuse/treemap/
> http://turnguard.com/opendirectory/prefuse/treeview/
>
> i you're interested i'm certainly willing to share my code.
>
> wkr turnguard
>
> ----- Original Message -----
> From: "Dan Brickley"<danbri@danbri.org>
> To: "Christophe Dupriez"<dupriez@destin.be>
> Cc: "SKOS"<public-esw-thes@w3.org>
> Sent: Tuesday, February 15, 2011 2:39:59 PM
> Subject: Re: GraphViz and SKOS...
>
> On 15 February 2011 14:01, Christophe Dupriez<dupriez@destin.be>  wrote:
>> Hi!
>>
>> I always resisted graphing thesauri relations because I thought relations
>> can be presented through adequate layout and typography.
>> I found by accident GraphViz ( http://www.graphviz.org ), an open source
>> software existing since 1996 doing exactly what a non-graphic designer
>> dreams:
>> draw a good schema from logical relations...
>>
>> Many examples are in the documentation:
>> http://www.graphviz.org/pdf/dotguide.pdf
>>
>> May be some of you know a better or more recent tool? Please let me know!
>> The interesting thing to do now is to translate automatically and SKOS file
>> (or extract) into a .DOT file...
>>     Anyone has done experiments in that direction? Can we learn about it?
> GraphViz is pretty cool. I made an RDF Viz tool with it some while ago
> (http://lists.w3.org/Archives/Public/www-rdf-interest/2000Mar/0095.html)
> and Art Barstow later integrated GraphViz into W3C's RDF Validator.
>
> If you notice the graphing options in http://www.w3.org/RDF/Validator/
> ... that's graphviz.
>
> (where it says "triples and/or graph", it's the "graph" option).
>
> Although SKOS is expressed in RDF, and therefore the general RDF
> visualizations will also display SKOS, it might be that a custom
> SKOS-centric mapping to graphviz works better. Automatic layout only
> works for small examples, ... but enough to usefully illustrate a data
> structure.
>
> For similar facilities in pure Javascript,
> http://www.graphdracula.net/ is also worth a look.
>
> One scenario is to use GraphViz as a 'first pass' at layout, then
> import (via SVG?) into graphical desktop tools like OMNIGraffle, to
> make a more elegant final version...
>
> If you make something interesting, do share it here :)
>
> cheers,
>
> Dan
>
>> My opinion is that drawing rapidly and effortlessly schemas based on EXTRACT
>> from a thesaurus is very valuable for discussions between validators.
>> I would like to integrate .DOT generation into ASKOSI.org.
>>
>> Have a very nice day!
>>
>> Christophe
>>
>> P.S. I invite you to test the following (written in .DOT graph description
>> language) using some of the available Web services (for instance:
>> http://graphviz-dev.appspot.com/).
>> It is an example of a thesaurus extract under revision:
>>
>> digraph g{
>> rankdir=LR;
>> concentrate=true;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANALGESICS;
>> ANALGESICS->ACETANILIDE;
>> ANALGESICS->CARFENTANIL;
>> CARFENTANIL->CARFENTANIL_CITRATE;
>> ACETANILIDE->P_ACETANISIDINE;
>> ANALGESICS->ACETYLMORPHINE;
>> ACETYLMORPHINE->_3_ACETYLMORPHINE;
>> ACETYLMORPHINE->_6_ACETYLMORPHINE;
>> ANALGESICS->AMINOPHENAZONE;
>> AMINOPHENAZONE->AMPYRONE;
>> ANALGESICS->METAMIZOLE_SODIUM;
>> ANALGESICS->NARCOTIC_ANALGESICS;
>> NARCOTIC_ANALGESICS->CIRAMADOL;
>> NARCOTIC_ANALGESICS->TRAMADOL;
>> TRAMADOL->TRAMADOL_HYDROCHLORIDE;
>> ANALGESICS->NARCOTICS;
>> NARCOTICS->ACETYLMORPHINE;
>> NARCOTICS->CARFENTANIL;
>> NARCOTICS->EMBUTRAMIDE;
>> ANALGESICS->NON_NARCOTIC_ANALGESICS;
>> NON_NARCOTIC_ANALGESICS->PROPYPHENAZONE;
>> ANALGESICS->NORPIPANONE;
>> ANALGESICS->XYLAZINE;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANALGESICS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANTICONVULSANTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANTIEMETICS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANTITUSSIVES;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->EMETICS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->NOOTROPICS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->WEIGHT_LOSS_AGENTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->CENTRAL_NERVOUS_SYSTEM_DEPRESSANTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->CENTRAL_NERVOUS_SYSTEM_STIMULANTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->CENTRAL_MUSCLE_RELAXANTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->NARCOTIC_ANTAGONISTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->NEUROPROTECTIVE_AGENTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANESTHESIA_ADJUVANTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ALCOHOL_DETERRENTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->ANTI_DYSKINESIA_AGENTS;
>> CENTRAL_NERVOUS_SYSTEM_AGENTS->PSYCHOTROPIC_DRUGS;
>> }
>>
>>
>>
>

Received on Tuesday, 15 February 2011 17:12:01 UTC