VisualDataWeb / WebVOWL

Visualizing ontologies on the Web
http://vowl.visualdataweb.org/webvowl.html
MIT License
718 stars 211 forks source link

Cannot load media resource annotation ontology #97

Closed jerdeb closed 6 years ago

jerdeb commented 7 years ago

Hi Vitalis/Steffen,

I am trying to visualise an ontology (http://www.w3.org/ns/ma-ont#) on WebVOWL, however, it seems that the ontology is not being dereferenced by the application. This is the error that I am getting: There is no OWL input under the given IRI(http://www.w3.org/ns/ma-ont). Please try to load the OWL file directly.

I think the problem is not entirely WebVOWLs fault, as the namespace (strangely enough) gives a 200 OK for the ontology's turtle file. Nevertheless, asking for the rdf+xml of the namespace (curl -H "Accept: application/rdf+xml" http://www.w3.org/ns/ma-ont#), the RDF serialised file is returned. Therefore, I think that your application should by default ask for the RDF file, if turtle is not supported.

Cheers, Jer

vitalis-wiens commented 7 years ago

Hi Jeremy, I will look into it, meanwhile you can use the owl2vowl tool in order to transform the ontology into a json format for webvowl (i`ve tested it and it works with this workaround), then you can load the json file in webvowl.

Cheers, Vitalis

jerdeb commented 7 years ago

Thanks! Yes I actually downloaded the RDF serialised file and used it instead :). Maybe you should add the owl2vowl in the pipeline as a temporary workaround then. I will leave this issue open as a reminder for you to solve this mentioned issue ;)

jerdeb commented 7 years ago

Hi @vitalis-wiens,

Apparently this problem is not just related to the media ontology, but to most ontologies in LOV. For example: http://lov.okfn.org/dataset/lov/vocabs/frappe . In LOV there is the function to display the vocab in WebVOWL, but since WebVOWL is not managing to dereference ontologies, it is not working.

jo-tud commented 6 years ago

Same problem for this ontology: http://visualdataweb.de/webvowl/#iri=http://ethon.consensys.net/EthOn.ttl I'd like to link to the visualisation but it's not possible (https://github.com/ConsenSys/EthOn/blob/master/README.md)

christopheralcock commented 6 years ago

at work we use webvowl a lot, it's a fantastic tool, but we were running into the issues that people in this thread are having, so we've deployed our own instance of webvowl 1.0.4 to our own server, where it works every time (and where we can make minor tweaks to the code, such as turning off automatic setting of "degree of collapsing" to 0) . i've tried the ontologies from this thread on our instance and they all load fine, if slowly. i'd recommend this approach to anyone having problems who has the ability to set up a Tomcat server: http://vowl.visualdataweb.org/webvowl.html

steffen-l commented 6 years ago

We will look into it but these sound like different issues. We are aware the current version of the OWL2VOWL converter is not working for all ontologies, but will check the server configuration and pipelining of the public WebVOWL instance for a quick fix in this case.

@christopheralcock: Did you install the WAR bundle we provide at http://vowl.visualdataweb.org/webvowl.html ? Can you really open BOTH ontologies (EthOn and FraPPE) on your WebVOWL instance? Regarding your second comment: Any suggestion of how to change the "automatic collapsing" but avoiding overly large ontology graphs creating information overload and risking the browser to freeze? We are always happy about pointers, hints, and suggestions...

christopheralcock commented 6 years ago

@steffen-l yep we used your WAR, it was incredibly useful. have retried the ontologies and my apologies - EthOn and http://www.w3.org/ns/ma-ont# works but FraPPE doesn't, and I imagine the issue is as @jerdeb has described, sorry to confuse things.

As for the automatic collapsing, I see how it's a useful feature and necessary to have by default, but basically I'd send a webvowl link to developers working with our database and they'd come back saying they couldn't find this or that class as it had been filtered. Ideally I'd like to be able to pass a param in the url like visualdataweb.de/webvowl/#iri=https://example.com/ontology.owl&collapse=false or something so I could share that link and take the blame if it freezes their browser

steffen-l commented 6 years ago

Thanks for your feedback, @christopheralcock. The URL-based configuration is already on our issue list. Adding a Boolean value for the automatic collapsing (and other default features) is a good idea.

Regarding the ontologies:

steffen-l commented 6 years ago

@jerdeb and @jo-tud: looks like this issue has been resolved as both your ontologies can now be loaded by the public WebVOWL instance (i.e.: http://www.w3.org/ns/ma-ont# and http://ethon.consensys.net/EthOn.ttl). The third one (http://lov.okfn.org/dataset/lov/vocabs/frappe) still causes an error though (see my comment above).

@christopheralcock: URL parameters have been added to the latest version - see WebVOWL 1.0.6 and try the new "Export as URL" feature.

vitalis-wiens commented 6 years ago

Missing imports are now possible with the new loading indicator (results in a warning for the user, however the main ontology and found imports will be loaded )

Additional information is provided now while loading the ontology.

w.r.t the ethon ontology, the server configuration results in the error code 403 also protégée is not able to load it form the url.

the same issue seems to be with the frappe ontology.

Closing this issue :)