It's possible the built in inference is just too slow to be usable in your case.

If you aren't already using it try the OWLMicro configuration.

If that's still to slow or doesn't cover the inferences you need then you may need to switch a separate proper DL reasoner such as Pellet.

Dave

On 26/03/18 15:53, Mahsa Roodbari wrote:

---------- Forwarded message ----------
From: *Mahsa Roodbari* <[email protected] <mailto:[email protected]>>
Date: Mon, Mar 26, 2018 at 2:09 PM
Subject: Problem running sparql queries with inferences
To: [email protected] <mailto:[email protected]>
Cc: Alex Tao <[email protected] <mailto:[email protected]>>


Hi,

I am facing a problem with querying data when the predicate is a a variable. This problem occurs when we need to use the inferences rules imported from OWL reasoner.

Attached you can see my config file. And this is the query I am trying to run. When I use the user interface to execute this query, it keeps on spinning and won't return any result. When I stop the server after a while, I get this error: " Unable to get response from endpoint " I have run the same query in SnapSparql plugin in Protege and I got the right results from that.

PREFIX base: <http://www.semanticweb.org/mahsaro/ontologies/2018/2/untitled-ontology-5# <http://www.semanticweb.org/mahsaro/ontologies/2018/2/untitled-ontology-5#>> PREFIX owl: <http://www.w3.org/2002/07/owl# <http://www.w3.org/2002/07/owl#>>

SELECT ?p ?o
WHERE
{
        ?p a owl:ObjectProperty .
        base:choice_three_tier_client_server_1 ?p ?o.
}

I would appreciate if you could help me with this problem.

Kind regards,
Mahsa Roodbari




Reply via email to