The Wine ontology, developed as part of the original OWL standard, was
designed to demonstrate all the OWL constructs. While it may be small,
reasoning with it is non-trivial for anything other than a full DL reasoner.
You may be able to get reasonable performance by using the OWLMicro
configuration of the builtin reasoners.
Otherwise you'll need a third party DL reasoner such a Pellet.
Dave
On 10/05/16 11:48, Ania david wrote:
Hello
I got this free online Ontology (wine ontology really small)
http://protege.cim3.net/file/pub/ontologies/wine/wine.owl
protege.cim3.net<http://protege.cim3.net/file/pub/ontologies/wine/wine.owl>
protege.cim3.net
]> An example OWL ontology Derived from the DAML Wine ontology at
http://ontolingua.stanford.edu/doc/chimaera/ontologies/wines.daml Substantially
changed, in ...
and I want to query it, I followed two approach:
1. I created a TDB service with reasoner on, but querying it takes forever
and never get a result.
2. I created an in memory service with 4GB as JVM heap, but still the same
result
In both cases, when I put limit 30 in the query, i get results.
My query is really small, which is give me all the instances of a specific
class.
I was thinking that creating an in memory should solve the problem because the
Ontology is really small and I'm giving JVM 4GB using this command
JVM_ARGS=${JVM_ARGS:--Xmx4096M}
in fuseki-service file
I am working on a very powerful mac, i7 2.5GH intel
This is my configuration for the in memory service
@prefix : <#> .
@prefix fuseki: <http://jena.apache.org/fuseki#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> .
[] rdf:type fuseki:Server ;
fuseki:services (
<#serviceInMemoryWithReasoner>
)
.
# TDB
tdb:DatasetTDB rdfs:subClassOf ja:RDFDataset .
tdb:GraphTDB rdfs:subClassOf ja:Model .
[] ja:loadClass "com.hp.hpl.jena.tdb.TDB" .
# ------ In memory with reasoner
<#serviceInMemoryWithReasoner> rdf:type fuseki:Service;
rdfs:label "testdataset";
fuseki:name "testdataset";
fuseki:serviceQuery "query";
fuseki:serviceUpdate "update";
fuseki:dataset <#datasetServiceInMemoryWithReasoner> ;
.
<#datasetServiceInMemoryWithReasoner> rdf:type ja:RDFDataset;
ja:defaultGraph <#datasetmodelServiceInMemoryWithReasoner>
.
<#datasetmodelServiceInMemoryWithReasoner>
ja:reasoner [ ja:reasonerURL
<http://jena.hpl.hp.com/2003/OWLFBRuleReasoner>];
ja:content [ja:externalContent <file:ProposalData/wine.owl> ];
.
what is the solution please? is it wrong my configuration file? is it really
fuse not able to handle that small ontology? (this is just the starting point,
my real ontology has more than 30 million triples)
Regards