So, if i undestand well, you suppose i'd like to write an owl ontology which describe my knowledge domain and a set of jena rules which describe exactly some...
... If you only use this label for your bags then a trivial: listSubjectsWithProperty(nameProp, a3) would suffice. If you also want to confirm that the...
... I think we're having to give this answer often enough that we should add a FAQ entry (if we don't already have one)? -- Chris "electric hedgehog" Dollin ...
... That is one approach. However, what I'm actually saying is that Jena's built in OWL reasoner is implemented using rules, it doesn't explicitly translate...
... I'll knock up some text and circulate it (locally); then when we like it I'll FAQify it. -- Chris "electric hedgehog" Dollin It's called *extreme*...
When you speak about OWL reasoner i think that you don't mean rule general purpose reasoner but Jena OWL reasoner.But this reasoner isn't able to do inference...
Hello everybody, I started working with Jena API a while back, and I have had some problems. I will be listing the problems and I hope somebody would help...
... The built in Jena OWL reasoner is just the general purpose reasoner with a specific set of rules[*]. As I've already mentioned you can include those rules...
... (snip) ... (what's that for? It doesn't do anything) [snip] ... Because you've asked to print the subjects of every statement in the model. The same entity...
... (Bags are probably not the best data-structure to use) ... Use Model::createBag() to create a Bag and Bag::add(RDFNode) to put things into it. It's in the...
... This lists all the triples in your model. ... This prints the subject of that triple. Those subjects are not classes, well just occasionally they might be...
Thanks a lot for your help. Now i understand all i need. I must realize an application which deals with owl ontologies and swrl rules, using also swrl builtin....
Hi, I'm trying to read a URL to create an ontModel. However, when I list the classes (ontModel.listClasses()), some extra classes appear, that are not existent...
... They are the anonymous class expressions from your input model. For instance: <owl:Class rdf:ID="BodyWithNonAdjustableShutterSpeed"> <owl:intersectionOf...
... Ian, thanks for the immediate response! You are right, it didn't occur to me that anonymous classes would be named in the model. However, there is one more...
Hi Markos, ... RDF defines a model as a set of triples. So, read() sees a triple that is already in the model, it is not added twice. So: someNs:foo rdf:type...
I just checked in a number of changes to ModelRDB in the current CVS. Changes to ModelRDB ... Memory leaks: A number of memory leaks were plugged. Thanks to...
Hi all! I want to remove all classes and statements in OntModel1 that are contained in OntModel 2. I used a StmtIterator to remove the statements, but I can't...
... jena.jar is not on your classpath for your web application. Compilation failed - your JSP was never called. ... That error tells you compilatiion failed. ...
Hi, I have a 20MB Rdf file.When I am trying to read the RDF file, I am getting "OutofMemory" error. Is there any class in Jena, which allows me to read RDF...
Hi, I got this error when I load a rdf file to persisten model. Some statements of the rdf have about 300 characters length literal. java.sql.SQLException:...
... Have you tried the obvious trick of increasing the JVM heap size? I can think of several workarounds: they all assume that the RDF file *can* be treated in...
Hello, May I know if the rule engine Jena used is built by Jena itself or from the third party? Cheers Hai...
Hai WANG
hwang@...
Jul 4, 2005 9:41 am
16940
... It was developed (by Dave Reynolds) as part of Jena. -- Chris "electric hedgehog" Dollin It's called *extreme* programming, not *stupid* programming....
... Ah, that changes things somewhat. If you specifically need SWRL then life is harder. ... Yes and no :-) "Yes", in that if all you need is a few Jena rules...
... [snip] ... Don't know. The default threshold for long literals is 250 so I would expect it to do so. The best person to answer this is Kevin, who is in the...