From: <lor...@us...> - 2014-01-02 13:07:21
|
Revision: 4209 http://sourceforge.net/p/dl-learner/code/4209 Author: lorenz_b Date: 2014-01-02 13:07:18 +0000 (Thu, 02 Jan 2014) Log Message: ----------- Fixed bug. Modified Paths: -------------- trunk/components-core/src/main/java/org/dllearner/reasoning/SPARQLReasoner.java Modified: trunk/components-core/src/main/java/org/dllearner/reasoning/SPARQLReasoner.java =================================================================== --- trunk/components-core/src/main/java/org/dllearner/reasoning/SPARQLReasoner.java 2013-12-10 15:41:36 UTC (rev 4208) +++ trunk/components-core/src/main/java/org/dllearner/reasoning/SPARQLReasoner.java 2014-01-02 13:07:18 UTC (rev 4209) @@ -408,22 +408,22 @@ } public boolean isFunctional(ObjectProperty property){ - String query = "ASK {<" + property + "> a " + OWL.FunctionalProperty.getURI() + "}"; + String query = "ASK {<" + property + "> a <" + OWL.FunctionalProperty.getURI() + ">}"; return qef.createQueryExecution(query).execAsk(); } public boolean isInverseFunctional(ObjectProperty property){ - String query = "ASK {<" + property + "> a " + OWL.InverseFunctionalProperty.getURI() + "}"; + String query = "ASK {<" + property + "> a <" + OWL.InverseFunctionalProperty.getURI() + ">}"; return qef.createQueryExecution(query).execAsk(); } public boolean isAsymmetric(ObjectProperty property){ - String query = "ASK {<" + property + "> a " + OWL2.AsymmetricProperty.getURI() + "}"; + String query = "ASK {<" + property + "> a <" + OWL2.AsymmetricProperty.getURI() + ">}"; return qef.createQueryExecution(query).execAsk(); } public boolean isIrreflexive(ObjectProperty property){ - String query = "ASK {<" + property + "> a " + OWL2.IrreflexiveProperty.getURI() + "}"; + String query = "ASK {<" + property + "> a <" + OWL2.IrreflexiveProperty.getURI() + ">}"; return qef.createQueryExecution(query).execAsk(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |