Re: software to draw RDF graph diagrams

Nice tool!

Regarding the JSON configuration, given that we have a number of 
different tools for automatically or semi-automatically rendering 
RDF/OWL graphs in GraphViz, D3, etc, are other people interested in 
coming up with a minimal standard for configuring displays?

For example, maybe we want to render instances of particular types with 
a given color or shape, or show particular predicates using particular 
edge glyphs

As as strawman, this is a brief description of the JSON stylesheet 
'language' I use in my ontology visualization tools:
https://github.com/cmungall/obographviz#stylesheets

It's probably overfitted towards my own use cases, but I post here for 
any inspiration.

On 9 Sep 2018, at 16:57, Xi Jin wrote:

> On Sep 8, 2018, at 4:10 PM, Chaals Nevile 
> <chaals@yandex.ru<mailto:chaals@yandex.ru>> wrote:
>
> On Sat, 08 Sep 2018 04:27:00 +0200, Pedro Szekely 
> <szekely@usc.edu<mailto:szekely@usc.edu>> wrote:
>
> My student Xi Jin wrote a simple RDF visualization tool: 
> https://github.com/fatestigma/ontology-visualization<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_fatestigma_ontology-2Dvisualization&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=rCyOzQsB2vaKJcGmVAJ-PM7mxmlnrtpY4XGG7WSttFQ&s=Fmgx-1kAQHVlCbFd30pGVfwp9wtEwIDbrpsWt7vLsXQ&e=> 
> Here is an example output
>
> Nice work Xi Jin!
>
> This reminds me of Damian Steer's tool from so many years ago that I 
> have forgotten its name (but someone probably knows - danbri?). Are 
> the colours configurable? (The original ask was for black and white 
> printing, and black on blue is tough even for me to read on the 
> screen).
>
>
> I just updated my repository 
> (fatestigma/ontology-visualization<https://github.com/fatestigma/ontology-visualization>) 
> with colors configuration.
>
> In order to make it b&w, you can pass a JSON format configuration like 
> following (it supports MATLAB-stype, HEX, and common color name):
>
> {
>   "colors": {
>     “class”: "k",
>     “literal": "black",
>     “instance": "#000000",
>     "filled": false
>   }
> }
>
> Example output looks like:
>
> [cid:E49E1874-AF79-4266-961B-6FD580CDE81A]
>
>
> cheers
>
> Chaals
>
> <Mail Attachment.png>
>
>
> Pedro Szekely
> Principal Scientist / USC Information Sciences Institute
> Research Director / Center on Knowledge Graphs, USC/ISI
> Research Associate Professor / USC Viterbi Computer Science Department
> pedro szekely<http://isi.edu/~szekely> | kg 
> center<https://urldefense.proofpoint.com/v2/url?u=http-3A__usc-2Disi-2Di2.github.io_home_&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=rCyOzQsB2vaKJcGmVAJ-PM7mxmlnrtpY4XGG7WSttFQ&s=t7miAh7qIqDbgPQePrcWqUWgUfvUgWU2cAuBWOzbLWs&e=> 
> | 562.889.3149
>
> On Sep 7, 2018, at 3:20 PM, Hans Teijgeler 
> <hans.teijgeler@quicknet.nl<mailto:hans.teijgeler@quicknet.nl>> wrote:
>
> I use Visio. It can export to:
> <Visio-export-formats.png>
>
>
>
> On 7-9-2018 14:26, thomas lörtsch wrote:
> ________________________________
> Please forgive the very secular nature of this question.
> I have to draw a few RDF graphs as diagrams. They should look crisp 
> and tidy, black&white. Is there some software that everybody uses when 
> preparing a scientific paper? Or is it just either CorelDraw or 
> PostScript commands written in TextEdit?
> Thanks a lot,
> [0] 
> https://www.w3.org/TR/swbp-n-aryRelations/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.w3.org_TR_swbp-2Dn-2DaryRelations_&d=DwMDaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=v5Z9J1UaLsKuce8a-Gmq_qWrGqzdQVRYJeufBi1fWRM&s=wq8PixdlztA3RYAdBo9oIOR4s9jbvWl3d3deUtPf_DY&e=>
>
> The W3C Note on N-ary relations [0] has some nice looking graphs too. 
> Many LOD publications [1][2] seem to use a similar tool or template. 
> This is probably too colorful for a paper but I do like the style. 
> Does someone know what they used?
>
>
>
> Thomas
>
>
>
>
> [1] 
> http://linkeddata.org/<https://urldefense.proofpoint.com/v2/url?u=http-3A__linkeddata.org_&d=DwMDaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=v5Z9J1UaLsKuce8a-Gmq_qWrGqzdQVRYJeufBi1fWRM&s=xQdeja787JWB4CsHptobOCyIFDVNXXNyQtLBwrauKvg&e=>
>
> [2] 
> https://www.w3.org/TR/void/<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.w3.org_TR_void_&d=DwMDaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=v5Z9J1UaLsKuce8a-Gmq_qWrGqzdQVRYJeufBi1fWRM&s=MCoYvEUBT7kCIrO3W0iluzFOjStUFIx3vdVVEr1deFE&e=>
>
>
>
> [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMDaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=v5Z9J1UaLsKuce8a-Gmq_qWrGqzdQVRYJeufBi1fWRM&s=f5VCern5iW52-Nk-ETND7w71UJxTX70ns2TnsDL-xGU&e=> 
> Virusvrij. 
> www.avg.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.avg.com_email-2Dsignature-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dlink-26utm-5Fcampaign-3Dsig-2Demail-26utm-5Fcontent-3Demailclient&d=DwMDaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=v5Z9J1UaLsKuce8a-Gmq_qWrGqzdQVRYJeufBi1fWRM&s=f5VCern5iW52-Nk-ETND7w71UJxTX70ns2TnsDL-xGU&e=>
> <x-msg://38/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>
>
>
> --
> Chaals: Charles (McCathie) Nevile find more at 
> https://yandex.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__yandex.com&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=rCyOzQsB2vaKJcGmVAJ-PM7mxmlnrtpY4XGG7WSttFQ&s=_iob8TMORq5XJZCq2PTfeGtkNcD3fo95XXs88KAPoj4&e=>
> Using Opera's long-abandoned mail client: 
> http://www.opera.com/mail/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.opera.com_mail_&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=rCyOzQsB2vaKJcGmVAJ-PM7mxmlnrtpY4XGG7WSttFQ&s=HFC9X3VCuLoQsmgzIIgVhPRyu1sLV_utgOyqwpgG2MI&e=>
> Is there really still nothing better?
>
>
> Xi Jin
> M.S. Student
> Computer Science (General)
> University of Southern California
> Email: xij@usc.edu<mailto:xij@usc.edu>, 
> xij@isi.edu<mailto:xij@isi.edu>

Received on Monday, 10 September 2018 19:16:01 UTC