Repository: marmotta Updated Branches: refs/heads/develop 807a4b364 -> 11cb38902
SPARQL: - datatype() is currently not yet supported Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/11cb3890 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/11cb3890 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/11cb3890 Branch: refs/heads/develop Commit: 11cb38902129b04586583b4fc4204a37005247e0 Parents: 807a4b3 Author: Sebastian Schaffert <[email protected]> Authored: Sun Nov 9 17:47:29 2014 +0100 Committer: Sebastian Schaffert <[email protected]> Committed: Sun Nov 9 17:47:29 2014 +0100 ---------------------------------------------------------------------- .../kiwi/sparql/builder/collect/SupportedFinder.java | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/11cb3890/libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/builder/collect/SupportedFinder.java ---------------------------------------------------------------------- diff --git a/libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/builder/collect/SupportedFinder.java b/libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/builder/collect/SupportedFinder.java index 02946a3..e7b5dd7 100644 --- a/libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/builder/collect/SupportedFinder.java +++ b/libraries/kiwi/kiwi-sparql/src/main/java/org/apache/marmotta/kiwi/sparql/builder/collect/SupportedFinder.java @@ -81,6 +81,14 @@ public class SupportedFinder extends QueryModelVisitorBase<RuntimeException> { @Override + public void meet(Datatype node) throws RuntimeException { + // datatype checking would require a self-join of the nodes table for variables and some other magic for + // generated values, so it is currently not yet supported + supported = false; + } + + + @Override public void meet(DescribeOperator node) throws RuntimeException { supported = false; }
