Hi all. Thanks a lot for the help you have provided to me till now. Dear, I am presently facing a problem in use of Jena. Following is my problem. Problem: I...
Dear Andy, Richard, Chris, and others... when I was trying to execute concurrent cascaded queries to the same endpoint I noticed some wrong - or at least not...
... You have removed critical information from your description - the code in the loop. There are two possibilities: Most likely: coordIter.next() is not...
Hi, I can already confirm that Joseki can handle cascaded queries properly and the behavior must be originating from somewhere else I don't know yet. Debuggung...
... What's the use case? It helps me to have context. I'd guess you are not processing the result model after execution but during building (production ...
... Andy sent me the compleet code : he called .execSelect() on the outer query execution twice. ... Should be remote2 Andy ... -- Hewlett-Packard Limited ...
... Well first OWL:Thing is implicitly present in all ontologies, even if not stated. Second, that does place the full URI in the file. There is no separate ...
... Are you sure? I ran (current version): public static void main(String[] argv) throws Exception { DataSource dataSource = DatasetFactory.create() ; ...
... separate ... off ... Thanks Dave, i've solved it. i've undestood that i don't really need the OWL.Thing Class. I've used travel ontology by protegè...
Hi, is there a Java framework to wrap OWL/RDF into a Model (in MVC terms) in the way that Object-Relational Mapping wraps a relational database? Jena-based or...
Martynas, I had the same issue, and during a project wrote a simple binder. See http://code.google.com/p/jenabean. I'm looking for participants. The project...
HI, I'm developing an aplication using Jena and the Protege API, but I'm having a problem to get the individuals that have a certain property. ... property_A...
Hi everybody. I have the same owl model of the other posts, and in this model there is a class named "Elemento_conoscenza" that have three subclasses,...
Hello Eduardo, ... Have you declared property_A to be transitive? Because if you have, the reasoner will tell you that p_A( i_A, i_F ) is true without you...
... Yes. You need to use a model with an attached reasoner (e.g. OWL_MEM_MICRO_RULE_INF) and then your query will return the instances of the class and its...
Sorry, I think I made the wrong question... The questio is: How can I get the individuals related? Using Jena and/or Protege API... Lets say that I have...
... Lots of different ways. See the documentation for details. One suggestion: OntModel m = .. your model .. ; Individual iA = m.getIndividual( yourNS +...
Hi, I've been having problems with the method listSuperClasses() from the class OntClass (package com.hp.hpl.jena.ontology). Every time I try to list the ...
Vivian Santos Silva
vivian.ss@...
Dec 3, 2007 11:45 am
31852
... Can you show the failing code? I. -- Ignazio Palmisano Ph.D. - ignazio dot palmisano at gmail dot com...
I was reading the following paper http://www.hpl.hp.com/techreports/2003/HPL-2003-146.pdf about the Jena2 Architecture. Figure2 gives a nice overview of the ...
... As Ignazio says, show us the failing code (and ontology); but I note that here you've written `SubClassOf`, which is wrong. Even assuming that the ...
... A wild guess is that you are trying to do something with the URI or localname of your super classes. In most ontologies there are anonymous classes...
... [potentially] Compactness & control over when inference is done. ... That depends on the nature of the reasoning, the nature and frequency of the queries,...
Hi, is there a method to find directly the depth of the concepts of an ontology or do i must find him with the two iterator starting from Hierarchical class...
... There isn't a built-in utility. Depth isn't uniquely defined for an RDFS or OWL ontology, since the super-class hierarchy is a graph not a tree. Also,...
It's adapted from one of Jena's examples : OntDocumentManager mgr = new OntDocumentManager(); OntModelSpec s = new OntModelSpec( OntModelSpec.OWL_MEM ); ...
Vivian Santos Silva
vivian.ss@...
Dec 3, 2007 12:42 pm
31861
Hello Chris, thank you for the quick answer. This makes things a little clearer to me. I learned two things. 1) it all depends 2) you don't have to do complete...
... See my earlier response, you are assuming that each superclass has a localname which it may not, check for isAnon. Dave -- Hewlett-Packard Limited ...
... And in any case, /don't use localName/ to get "the name" of a Class. The name of the class is its full URI. You can abbreviate it using the model's prefix...