Re: [!!Mass Mail]Re: Ontology Imports

2017-04-09 Thread Andy Seaborne
y 2017-04-03 10:05:15 DEBUG StreamManager:142 - Found: http://vocab.argodata.com/Documents/MimeTypes.owl# (LocatorHTTP) 2017-04-03 10:05:15 ERROR riot:84 - [line: 1, col: 1 ] Content is not allowed in prolog. Jena is using the following Accept header as shown above: "Accept: text/turtle,appl

RE: [!!Mass Mail]Re: Ontology Imports

2017-04-03 Thread Donald Smith
P) 2017-04-03 10:05:15 ERROR riot:84 - [line: 1, col: 1 ] Content is not allowed in prolog. Jena is using the following Accept header as shown above: "Accept: text/turtle,application/n-triples;q=0.9,application/rdf+xml;q=0.7,application/trig,application/n-quads;q=0.9,text/x-nquads;q=

Re: Ontology Imports

2017-04-02 Thread Lorenz B.
. >> >> Does OntModel.read(InputStream stream, String Lang) not use RDFDataMgr >> itself to load imported ontologies? >> >> -Original Message- >> From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] >> Sent: Thursday, March 30, 2017 2:57 AM >> To:

Re: [!!Mass Mail]Re: Ontology Imports

2017-04-02 Thread Donald Smith
putStream stream, String Lang) not use RDFDataMgr >>> itself to load imported ontologies? >>> >>> -Original Message- >>> From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] >>> Sent: Thursday, March 30, 2017 2:57 AM >>> To: users@jena.ap

Re: Ontology Imports

2017-04-02 Thread Andy Seaborne
mail.com] Sent: Thursday, March 30, 2017 2:57 AM To: users@jena.apache.org Subject: Re: Ontology Imports On 29/03/17 20:54, Donald Smith wrote: Given I have an ontology that imports one or more other ontologies, when I read that ontology: model.read("http://example.com/ExampleOntology.owl;,

Re: Ontology Imports

2017-04-02 Thread A. Soroka
gt; -Original Message- > From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] > Sent: Thursday, March 30, 2017 2:57 AM > To: users@jena.apache.org > Subject: Re: Ontology Imports > > On 29/03/17 20:54, Donald Smith wrote: >> >> Given I have an ontology that imports on

Re: Ontology Imports

2017-03-31 Thread Martynas Jusevičius
ies? > > -Original Message- > From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] > Sent: Thursday, March 30, 2017 2:57 AM > To: users@jena.apache.org > Subject: Re: Ontology Imports > > On 29/03/17 20:54, Donald Smith wrote: >> >> Given I have an o

RE: Ontology Imports

2017-03-31 Thread Donald Smith
@jena.apache.org Subject: Re: Ontology Imports On 29/03/17 20:54, Donald Smith wrote: > > Given I have an ontology that imports one or more other ontologies, when I > read that ontology: > > model.read("http://example.com/ExampleOntology.owl;, "TURTLE"); That

Re: Ontology Imports

2017-03-30 Thread Dave Reynolds
On 29/03/17 20:54, Donald Smith wrote: Given I have an ontology that imports one or more other ontologies, when I read that ontology: model.read("http://example.com/ExampleOntology.owl;, "TURTLE"); That should be "Turtle" or, better, RDFLanguages.strLangTurtle or better still use

Ontology Imports

2017-03-29 Thread Donald Smith
Given I have an ontology that imports one or more other ontologies, when I read that ontology: model.read("http://example.com/ExampleOntology.owl;, "TURTLE"); I get the exception: 2017-03-29 14:41:04 WARN OntDocumentManager:1076 - An error occurred while attempting to read from

Re: Need Help for Ontology Imports

2012-11-07 Thread Andy Seaborne
On 06/11/12 12:26, Ian Dickinson wrote: Hi Ahsish, On 06/11/12 11:47, ashish nijhara wrote: I am a novice to the Jena API. I would like to read an ontology as depicted in the code below: The problem is the following: 1. the ontology is not hosted on the web currently and have a local copy.

Re: Need Help for Ontology Imports

2012-11-06 Thread ashish nijhara
Hi Ian, Thanks for the tip with respect to absolute paths. Will keep that in mind. Even though the solution you mentioned, still does not work. :( OntModelSpec spec = OntModelSpec.OWL_DL_MEM;*

Re: Need Help for Ontology Imports

2012-11-06 Thread Ian Dickinson
On 06/11/12 12:35, ashish nijhara wrote: Hi Ian, Thanks for the tip with respect to absolute paths. Will keep that in mind. Even though the solution you mentioned, still does not work. :( OntModelSpec spec = OntModelSpec.OWL_DL_MEM;*