From: <sk...@us...> - 2008-09-24 08:52:14
|
Revision: 1249 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1249&view=rev Author: sknappe Date: 2008-09-24 08:52:11 +0000 (Wed, 24 Sep 2008) Log Message: ----------- bugfix for the problem with the two .. Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryDescriptionConvertVisitor.java Modified: trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryDescriptionConvertVisitor.java =================================================================== --- trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryDescriptionConvertVisitor.java 2008-09-24 08:49:29 UTC (rev 1248) +++ trunk/src/dl-learner/org/dllearner/kb/sparql/SparqlQueryDescriptionConvertVisitor.java 2008-09-24 08:52:11 UTC (rev 1249) @@ -137,9 +137,9 @@ description.accept(visitor); String ret = visitor.getSparqlQuery(resultLimit); //HACK see replace might be a good solution, needs testing - while (ret.contains("..")) { + /*while (ret.contains("..")) { ret = ret.replace("..", "."); - } + }*/ return ret; } @@ -261,7 +261,6 @@ description.getChild(0).accept(this); query+="."; description.getChild(1).accept(this); - query+="."; } /* (non-Javadoc) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |