A very simple question (and a cool web visualization tool)

474 views
Skip to first unread message

Michael DeBellis

unread,
Jan 26, 2018, 2:15:23 PM1/26/18
to ontolog-forum
Sorry, I know this is a bit below the usual level discussed here but I'm trying to do something that I thought would be completely trivial but isn't. First, let me start with the info that might actually be interesting. I like using Protege but I've always found their visualization tools kind of mediocre. I found this really nice web visualization tool called WebVOWL: http://vowl.visualdataweb.org/webvowl.html  it's very easy to use and it has  has much more of a wiz bang effect than other visualization tools I've looked at. 

Now here is the stupid problem: I want to make it easy for people who read my next paper to go to WebVOWL and see a visualization without having to be bothered to load the ontology into it. This can easily be done. You generate a json file and then you create a link to it. So if the json file is stored at http://mysite/myontology.json  then you create a link like: http://visualdataweb.de/webvowl/#url=http://mysite/myontology.json The problem is that I have a blog on Blogger and I've also tried doing this on Google sites and asked the people at Wix about it and (believe it or not) none of them can handle just adding a frigging json file to the site. Blogger and Google sites tell you to use Google Drive but Google drive assumes that the documents are going to be office documents and the link generated by it doesn't work for WebVOWL. And Wix told me they don't support it either. All I need is a freeware tool where I can create a basic site but also add pages that aren't pdfs or html but json.  I don't care about (nor do I want to do) any fancy Javascript or other coding. 

Does anyone have any suggestions? Actually, it occurs to me I should also ask WebVOWL about Google drives. I had a similar problem a while ago with loading ontologies into Google drive. I wanted a public place where people could download ontologies I created for a SWRL tutorial. The default behavior for Google drives didn't work but someone on the Protege user list told me how you could tweak the URL that Google drive generates so that it worked (rather than trying to open it using a program like a word processor or spreadsheet it would just give the user the option to download it). I tried that for the json file but it still didn't work but perhaps there is some other tweak to the URL I could do. I'm going to ask WebVOWL but in the mean time if anyone knows of a freeware web tool that will support any arbitrary file extension rather than only the most common office documents please let me know. thanks.

Michael

Chris Mungall

unread,
Jan 26, 2018, 9:28:56 PM1/26/18
to ontolog-forum

What about using a static site generator, such as Jekyll which is nicely integrated with github pages. You can just put this in a doc/ folder in your ontology github repo. You are already managing your ontology on github/gitlab/etc aren't you? Managing ontologies is just like managing code, you need all the same modern features like forks, branching, integrated CI - as well managing derived documentation.

We plan to add static site templates to our ontology starter kit:
https://github.com/INCATools/ontology-starter-kit/

--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the email, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-foru...@googlegroups.com.
Visit this group at https://groups.google.com/group/ontolog-forum.
For more options, visit https://groups.google.com/d/optout.

joseph simpson

unread,
Jan 26, 2018, 11:00:32 PM1/26/18
to ontolo...@googlegroups.com
Michael:

It is not crystal clear to me what you are trying to do.  

So, let me see if I can list the requirements for your situation.

You wish to create a URI like:


Which has two parts:

Part one is:

Part two is:
http://mysite/myontology.json

For part two you have tried:

Part one has a http identifier.

Google Drive has a https identifier.

This may be one reason why Google Drive does not work.

OK.. I did a test and the site (first part) appears to read https url's.

See attached document.


Take care, be good to yourself and have fun,

Joe



 

--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the email, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-forum+unsubscribe@googlegroups.com.



--
Joe Simpson

“Reasonable people adapt themselves to the world. 

Unreasonable people attempt to adapt the world to themselves. 

All progress, therefore, depends on unreasonable people.”

George Bernard Shaw
json.png

Michael DeBellis

unread,
Jan 29, 2018, 10:14:16 AM1/29/18
to ontolog-forum
Joe, I think it may be hard to understand because it seems like it should be so easy!  Yes, that's what I'm trying to do. I have tried Google drives but it doesn't work. I left a comment on the WebVOWL github page asking if there is a way to make it work with Google drive but my guess is there may not be. I had this problem before, Google drive (and all the very simple web page and blog tools that I normally use) are just designed for people putting up HTML pages, or Office documents. So on Google drive when you create the link there is some behavior associated with the link like opening the document. That works fine when it's a PDF or Word or spreadsheet document but not for a JSON file. 

I had this problem before when all I wanted to do was to post  links on my Blogger blog so that people could download various versions of a simple ontology I created for a SWRL tutorial:  http://symbolicshacker.blogspot.com/2017/06/swrl-process-modeling-tutorial.html  The default Google drive behavior didn't work because it tries to open the document but it doesn't know how to open .owl files. Someone on the Protege list pointed me to another blog with instructions on how to change the link generated by Google drive so that the behavior was Download instead of Open and that worked for the tutorial. But I tried the same with the JSON file and it didn't work. I posted a question on the Blogger help page and they said they couldn't help because once I started asking about JSON files that was a "coding" question so I had to take it to another group, which i haven't done yet because I would rather not waste my time getting to know how to code Blogger, I'm hoping I can find some simple answer. 

When you said "see attached file" I wasn't sure what you were referring to. I saw an image attached which looked like the same error message I get when I try to load the JSON file into WebVOWL via Google drives. Let me know if I'm misunderstanding something there. 

One thing that occurred to me is that I haven't tried Box yet. It functions like Google drives and gives you a virtual shareable drive. I had to use it when a colleague gave me a whole bunch of files and wanted to share them that way. Hopefully that will work. 

Michael

Michael DeBellis

unread,
Jan 29, 2018, 10:16:26 AM1/29/18
to ontolog-forum
I haven't heard of Jekyll before. I don't do any HTML coding or any web site building myself normally, just very vanilla stuff like my blog. But I'll google Jekyl and I will also check out your starter kit. thanks.

Michael

On Friday, January 26, 2018 at 6:28:56 PM UTC-8, cjmungall wrote:

David Whitten

unread,
Jan 29, 2018, 1:45:15 PM1/29/18
to ontolog-forum
does dropbox do what you need?

To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-forum+unsubscribe@googlegroups.com.

John F Sowa

unread,
Jan 29, 2018, 5:48:59 PM1/29/18
to ontolo...@googlegroups.com
On 1/29/2018 10:14 AM, Michael DeBellis wrote:
> I have tried Google drives but it doesn't work...
> I had this problem before when all I wanted to do was to post
> links on my Blogger blog so that people could download various
> versions of a simple ontology I created for a SWRL tutorial:

Have you tried using the Ontolog Wiki?

All Ontolog subscribers are authorized to use it.
And anybody can visit it. If there's functionality
that you need, you could speak to Ken B about adding it.

John

María Poveda

unread,
Jan 30, 2018, 3:57:39 AM1/30/18
to ontolo...@googlegroups.com
Dear Michael,

  I'm not completely sure what you need, but if you want to publish a number of ontologies both in code and HTML you can use http://ontoology.linkeddata.es/. You need a github account to use it. It can publish your ontologies under a w3id then you forget about content negotiation. If you host all your ontologies for the tutorial in the same Github repository, OnToology can create easily a index page similar to http://vocab.linkeddata.es/

Please note that OnToology work with ontologies in RDF/XML and turtle, not sure about json-ld.

OnToology generates HTML documentation for each ontology in your repo using Widoco which also includes webvowl.

If that solve your problem, please do not hesitate to contact me if you have any question. Otherwise, sorry for the confusion.

Best,

María



--
All contributions to this forum are covered by an open-source license.
For information about the wiki, the license, and how to subscribe or
unsubscribe to the email, see http://ontologforum.org/info/
---
You received this message because you are subscribed to the Google Groups "ontolog-forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontolog-forum+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/ontolog-forum.
For more options, visit https://groups.google.com/d/optout.



--
María Poveda Villalón, PhD

Ontology Engineering Group (OEG)
Universidad Politécnica de Madrid
Madrid, Spain

Michael DeBellis

unread,
Jan 31, 2018, 1:45:52 PM1/31/18
to ontolog-forum
Thanks to everyone. I had no idea using the Ontolog Wiki was an option. I've been a bit under the weather the last few days so just catching up on things, but thanks for all these ideas, I'm sure that I'll find some easy way to make it work now! 

Michael

Ken Baclawski

unread,
Jan 31, 2018, 1:56:47 PM1/31/18
to ontolo...@googlegroups.com
The Ontolog Wiki is for the community to use.  Please make use of it.  I added a blog capability last year, but so far it hasn't been used very much.

If you have any difficulty using the Ontolog Wiki, please ask me and I will try to help.

-- Ken


On Wed, Jan 31, 2018 at 1:45 PM, Michael DeBellis <mdebe...@gmail.com> wrote:
Thanks to everyone. I had no idea using the Ontolog Wiki was an option. I've been a bit under the weather the last few days so just catching up on things, but thanks for all these ideas, I'm sure that I'll find some easy way to make it work now! 

Michael

--
Reply all
Reply to author
Forward
0 new messages