Hi, im looking to retrieve strings individually from an rdf file, so far ive only found a way to get all strings of a certain name from the rdf file: if...
Look at the Model.listStatements interface or, if you more complex queries, look at RDQL (there is a tutorial). For example: model.listStatements(null,...
Hi All, I am a very new beginner in Jena and now want to get datatype property values of individuals of some class stored in OWL file. The following is my code...
... [It's not files you're working on: it's Models. A Model need not correspond to a file. We supply memory-backed and RDB-backed Models in the Jena delivery.]...
I've now added a "fix" in CVS to stop these anonymous prototypical instances appearing in the model outputs. It's a "fix" rather than a fix because it just...
Hello, Let me present you something that you don't use to talk about : the ET presence. THOUSANDS OF WITNESSES CONFIRM THEIR EXISTENCE. It is so important for...
... This isn't ideal because it would not be able to handle typed literals and is assuming that all values of all properties are floats. ... Are you sure it...
... This is getting the namespace part of the URI which is used to specify OntDocumentManager configurations. It has nothing to do with the URI's used in your...
simonwhite_zepler_net wrote: [deletions] ... I believe you've fallen over a bug that's been fixed in later version of Jena (it really, really helps if you tell...
Hello, I have problem with importing owl ontologies using a stream. When reading an ontology from a file then is all works. Ontology ont1 imports ontologie...
One experiment you might try would be to explicitly set the base URI for the stream. So that intead of: ontModel.read(is, null); use ontModel.read(is,...
Sean wrote: [he has an RDF file] ... That depends on what you're trying to do - which you still haven't told us. "get" is a very non-specific verb. IF you have...
Ian, Thanks for fixing that bug so quickly. You should make the same repair to writeOntIndividuals too. -Dave ... [omitted description of bug in schemagen]...
Thanks for that. Ian is indisposed at the moment so I've made those changes in CVS and Ian can check he's happy with the changes when he's back. Dave...
Hello, No that doesn't solve it. The error is the following: JenaException while reading model from ontology/ont2.owl, with message: rethrew: no protocol:...
What is the preferred way to attach code to postings on this list? I posted a small Java class inline the other day from the web form on yahoo groups (I didn't...
... Yup. That's certainly not a legal URL. Now you just have to look at the bit of the stack trace you didn't include and work out where that purported URL is...
Ok. I have done it, but..it still does not work. I was debugging my code and I realised that I used this sentences to get the classes of an ontology: ...
... Thanks for your help. I created a model with a Java program, and now queries are working. Now I just have to figure out how to do inserts and deletes,...
When I save an ontology with imports (e.g. the wine ontology from http://www.w3.org/TR/owl-guide/wine.rdf) as RDF/XML (without abbrev), and then try to reload...
Kevin, Thanks for the reply, but what you suggested didn't seem to have any effect. However, what I DID get to work is the following: ModelMaker dbModelMaker =...
Hi Dave, Thank you very much for your reply. And I still want to know more about my first question, do you know is there any better way to do get the datatype...
Hi Holger, Does the same code work with ABBREV? Is there a specific reason to use non-abbrev? Is it possible to post a short code sample showing how the...
... It sounds like you have relative URI references in your file and the base URI is not being set correctly at read time. Is this the imported Ontology or the...
... In that case I'm confused. I thought that's what the rest of the message was answering - i.e. explicitly check that the object found is a Literal and then...
Hello, I want to make weighted relations in OWL but am not sure how to do this. A possible approach I am thinking on is <owl:Class rdf:id="topic"> </owl:Class>...
Gary, We don't have a good solution for this - the web interface to the mailing lists does make a mess of code, although email'ed code is OK (of course, you ...
... There are a few bugs in your XML syntax[1]. Fixing those then the way you have it set up the weight property gets attached the reification of ... a...
(I reply again, cause I think my message has been lost) ... the ... Well, I read the model through the Uri the ontology is located in "file://C://Archivos de...