w3c-lbd-cg / bot

Building Topology Ontology
https://w3id.org/bot
53 stars 15 forks source link

Problems importing BOT #39

Closed iesnaola closed 4 years ago

iesnaola commented 5 years ago

Hi,

I am still having troubles reusing the BOT ontology. I tried importing the ontology in Protègè but it seems there is some problem. I with both "http://www.w3id.org/bot/bot.ttl" and "http://www.w3id.org/bot" URLs.

When I try to load the ontology, I get the following Load Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

How can I deal with this problem? Is there another way I can reuse the BOT ontology?

Thanks, Iker

maximelefrancois86 commented 5 years ago

Hi Iker, Just try with https instead Best Max

iesnaola commented 5 years ago

Hi Maxime,

Thanks for your response. The importation works for the URL "https://raw.githubusercontent.com/w3c-lbd-cg/bot/master/bot.ttl".

However, once I save the ontology and try to open it again, it seems BOT cannot be correctly loaded.

Proègè Error

Iker

MadsHolten commented 5 years ago

Hi Iker. Have you tried importing from w3id.org/bot/bot.ttl (https://w3c-lbd-cg.github.io/bot/bot.ttl)?

iesnaola commented 5 years ago

Hi Mads,

Thanks for your help. It seems this last URL you wrote works. However, there is a minor issue that happens when the Ontology (which imports the BOT ontology) is closed, and opened in the future. It is related to the "Ontology IRI" and "Location" of the Direct Import, which seem to be switched. The As I said, it is just a minor issue so I will deal with that, but just for you to know.

When the BOT ontology is imported: Proègè Error

When the ontology where BOT is imported is closed and opened Proègè Error

mathib commented 5 years ago

Apparently, it was an issue with Protégé: https://github.com/perma-id/w3id.org/pull/1384 It is solved in v5.5. I tested to load FOG (https://w3id.org/fog#) which works now. BOT cannot be loaded however from https://w3id.org/bot# (it works from https://w3id.org/bot/bot.ttl): org.semanticweb.owlapi.rdf.rdfxml.parser.RDFParserException: [line=2:column=17] Expecting rdf:RDF element.

AnnaWagner commented 5 years ago

I just updated the htaccess of BOT while I was fixing my own redirects. As soon as the merge request goes through, it should be possible to import BOT on the fly from Protégé. Also, I noticed BOT is only available in TTL serialisation - maybe you want to extend that to RDF, JSON-LD and N-Triples? The according rewrite rules are already in the htaccess. You can by the way additionally create rewrite rules for previous versions of the ontology so that https://w3id.org/bot/0.0.1 would direct you to the file/documentation of that version, if you provide that online as well.

GeorgFerdinandSchneider commented 4 years ago

The content is accessible through a browser. We are not sure but as other ontologies are affected this seems to be a problem of protege