Thanks Ian and Olivier,
When I said it did not work, I meant the sub-ontology was not added to the main
ontology under the class I wanted.
What I have now is:
OntModelSpec oms = new OntModelSpec(OntModelSpec.OWL_MEM);
oms.setDocumentManager(OntDocumentManager.getInstance());
OntMode
OK - I fixed a minor bug, and retested. It seems the addProperty() method
doesn't parse the "4" into an integer form, and this was causing a problem. I'm
still seeing the other behavior, but not in this particular case. I'll repost
with a better example.
-Original Message-
From: Joshua
On Tue, May 14, 2013 at 10:20 AM, Ed Swing wrote:
> I discovered a significant bug when dealing with SameAs and functional
> properties. Here’s the Java code:
>
> import java.io.FileInputStream;
> import java.io.IOException;
> import java.util.Iterator;
> import com.hp.hpl.jena.ontology.*;
> impor
We can't see your ontology and you don't list the results of your test case.
However, the Jena rule reasoners are (fragments of) OWL full, not OWL
DL. In OWL full then semantically you can state that two literals are
sameas, you just can't directly express it syntactically in RDF. The
reasoner
I discovered a significant bug when dealing with SameAs and functional
properties. Here's the Java code:
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Iterator;
import com.hp.hpl.jena.ontology.*;
import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena
That's an awesome way to have a fault tolerant solution. A completely
different way of thinking about the problem; my background is more from
replicating services so I tend to go for a front-end load balancer with
failure detection and two active nodes. It so much depends on exactly
what prob
I think I would create a third .owl file that:
1: imports both the "upper" ontology and the "subtree" ontology,
2: lists the subClassOf to bind both ontologies together.
This is an easy task if the "subtree" ontology has a small set of
identified top-level classes.
You can do something similar pr
Hello Brad,
On 14/05/13 01:42, Brad/Bahadorreza OFOGHI wrote:
Hi there,
I have two ontologies in OWL. One is a big picture place holder
(main
ontology) and the other is something like a sub-ontology that needs to
be appended under one of the classes in the main ontology (all that
exists in that
I'm using Jena 2.10.0 and i'm not on a virtual machine.
I will create a small example of our implementation and send it to you.
Thanks for answering to me so quicky !!
2013/5/14 Frederic Toublanc
> Ok this works thanks a lot.
>
> I'm still testing the behaviour of transactions.
>
>
> 2013/5/1
Ok this works thanks a lot.
I'm still testing the behaviour of transactions.
2013/5/13 "Dr. André Lanka"
> Hi,
>
> you could give
>
> TDB.getContext().set(SystemTDB.symFileMode, FileMode.direct);
>
> a shot. This forces the old (direct) file mode even on Java64 systems.
> We use this too (beca
10 matches
Mail list logo