Hi,
I prefer not to use another library and use SPARQL directly, which at the end
is more scalable and less prone to changes.
Model schema =
FileManager.get().loadModel("file:myontology.owl");
Model data = FileManager.get()
.loadModel("file:mydata.jsonld");
String myClass =
I ended up using JenaUtil.getAllSuperClasses() from SPINRDF:
https://github.com/spinrdf/spinrdf/blob/a7fc9a1ca7badecb9a8d858f7a8a33bb106e629f/src/main/java/org/spinrdf/util/JenaUtil.java#L401
On Wed, Oct 25, 2017 at 1:22 PM, Martynas Jusevičius wrote:
> Dave,
>
> I
On 25/10/17 11:10, George News wrote:
On 2017-10-25 11:54, Dave Reynolds wrote:
Hi Martynas,
On 25/10/17 10:33, Martynas Jusevičius wrote:
Thanks Dave.
We are materializing inferences during ontology initialization to avoid
using reasoner subsequently (as it impacts performance).
Makes
Hi Martynas,
On 25/10/17 10:33, Martynas Jusevičius wrote:
Thanks Dave.
We are materializing inferences during ontology initialization to avoid
using reasoner subsequently (as it impacts performance).
Makes sense.
So in that case I need to traverse the chain myself, correct?
Not if
Thanks Dave.
We are materializing inferences during ontology initialization to avoid
using reasoner subsequently (as it impacts performance).
So in that case I need to traverse the chain myself, correct?
On Wed, Oct 25, 2017 at 9:33 AM, Dave Reynolds
wrote:
> On
On 24/10/17 23:51, Martynas Jusevičius wrote:
Hi,
I thought I understood how OntClass.listSuperClasses() works, but maybe I
don't.
I have such a class structure in my ontology (superclass is at the top):
3. https://www.w3.org/ns/ldt/document-hierarchy/domain#Item
2.
Hi,
I thought I understood how OntClass.listSuperClasses() works, but maybe I
don't.
I have such a class structure in my ontology (superclass is at the top):
3. https://www.w3.org/ns/ldt/document-hierarchy/domain#Item
2. http://atomgraph.com/ns/platform/domain#Item
1.