Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import of Open Annotation #9

Open
RicardoUsbeck opened this issue Sep 28, 2016 · 0 comments
Open

Import of Open Annotation #9

RicardoUsbeck opened this issue Sep 28, 2016 · 0 comments

Comments

@RicardoUsbeck
Copy link

Dear all,

the import of your ontology from http://www.openannotation.org/spec/core/20130208/oa.owl should better link to https://www.w3.org/ns/oa/index.owl so OWLAPI and reason works on namespace level, e.g.,

OWLOntologyLoaderConfiguration config = new OWLOntologyLoaderConfiguration();
//FIXME replace the IRI below with https://www.w3.org/ns/oa/index.owl as soon as bug is fixed within QANARY
IRI create = IRI.create("http://www.openannotation.org/spec/core/20130208/oa.owl");
config = config.addIgnoredImport(create);
IRI qanaryURL = IRI.create("https://raw.githubusercontent.com/WDAqua/QAOntology/master/qanary.ttl");
ontologyQANARY = manager.loadOntologyFromOntologyDocument(new IRIDocumentSource(qanaryURL), config);

Thank you.

PS: I am aware that currently the link to https://www.w3.org/ns/oa/index.owl is broken (see https://www.w3.org/ns/oa). I already emailed the maintainers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant