... The problem is present only if I try to get an OntClass that *doesn't exist in the ontModel*... So I think the problem is of type (a), but I don't...
Hi. I am loading two ontology models in the same program.The first one has approximately 50 classes and 40 properties. The second ontology, has about the...
... Aside: There are 2 .next()s inside the loop - it will be using two items between each .hasNext() test. If there is an odd number of items, it'll go wrong....
Hello, I want to select a concept and see its definition in owl format (RDF/XML-ABBREV). For example for the model we've got model.write. Is there something...
Every class uses other discrete elements of the ontology, in order to be defined. How could you separate a concept that is defined in an ontology using the...
Hi I want to ask about the InfModel model in jena, as far as I understand it is used to execute a set of rules on a data set and provides us with a set of...
... [snip] ... ^ spurious " character. ... ^ missing > character. If I fix those two your example runs generating the output you expect. The rule parser should...
... That's what I said. ... Read again, its an "and" not and "or". To get an NPE something else must have been corrupted to make condition (b) also true. In...
... In addition to Andy's suggestions it may be that you are using inference in which case it might be the inference that is to blame. Try again with no...
... You're welcome; it's why we make our services available. ... It's not so much "annoyance". It's noting that some ways are more cumbersome than others --...
... You can only write out whole models. As Pantelis says, each concept (class definition) is typically connected to many others. The best approach would be to...
... You posted this question on Friday evening and on Sunday evening. Dedicated as the Jena team are, we don't (usually) work weekends. I don't know what...
... Partial fix - I add a lock to a dataset (ARQ change), and the Joseki CVS now has a version where Joseki uses this lock around the query operation. DSo, ...
... Hi, do you mean how to use Jena classes in NetBeans projects? you just need to add all the jars in the lib folder of your jena download to your classpath...
... Dave, here there is a simple code that goes to "NullPointerException". I saw that If I create the OntModel without "OntModelSpec.OWL_LITE_MEM" everything...
... Dave and Andy have already responded to your peformance question. I would just point out that this code looks suspiciously broken to me: * tablesIterator...
Hi, Just a quick question, if a rule is made of of some facts and a builtin, where the builtin was a java call to some other facts (and an operation on it) in...
... No it won't. Any builtins which directly access the data rather than looking at variable bindings are suspect because they may introduce order-dependence...
... I don't speak netbeans but ... You /have/ put /all/ the jena jars (everything in lib) onto the classpath that netbeans will use for your build? And does it...
I use netbeans and I have no problem. What kind of application do you use? If it was a Web Application with Tomcat you should put the jars in the directory of...
Thanks Dave it was indeed the problem of extra charecters. I want to ask please is there any rule validator that I can use similar to those of rdf and owl...