Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknow datatype error for blank nodes #50

Open
patrickwestphal opened this issue May 21, 2014 · 0 comments
Open

Unknow datatype error for blank nodes #50

patrickwestphal opened this issue May 21, 2014 · 0 comments

Comments

@patrickwestphal
Copy link
Member

When using blank nodes, e.g. using this view definition

Create View err As
  Construct {
    <http://ex.org/res> <http://ex.org/prop> _:23 .
  }

I get this error message:

Exception in thread "main" java.lang.RuntimeException: Unknow datatype of node: _:b0
    at org.aksw.sparqlify.expr.util.NodeValueUtils.getValue(NodeValueUtils.java:66)
    at org.aksw.sparqlify.core.algorithms.MappingOpsImpl.pushConstants(MappingOpsImpl.java:1406)
    at org.aksw.sparqlify.core.algorithms.MappingOpsImpl.pushConstants(MappingOpsImpl.java:1335)
    at org.aksw.sparqlify.core.algorithms.MappingOpsImpl.union(MappingOpsImpl.java:1516)
    at org.aksw.sparqlify.core.algorithms.OpMappingRewriterImpl.rewrite(OpMappingRewriterImpl.java:101)
    at org.aksw.sparqlify.core.algorithms.OpMappingRewriterImpl.rewrite(OpMappingRewriterImpl.java:334)
    at org.aksw.sparqlify.core.interfaces.SparqlSqlOpRewriterImpl.rewrite(SparqlSqlOpRewriterImpl.java:96)
    at org.aksw.sparqlify.core.algorithms.SparqlSqlStringRewriterImpl.rewrite(SparqlSqlStringRewriterImpl.java:45)
    at org.aksw.sparqlify.core.sparql.QueryExecutionSelect._execSelect(QueryExecutionSelect.java:131)
    at org.aksw.sparqlify.core.sparql.QueryExecutionSelect.execSelect(QueryExecutionSelect.java:57)
    at org.aksw.jena_sparql_api.core.QueryExecutionBaseSelect.executeCoreSelect(QueryExecutionBaseSelect.java:146)
    at org.aksw.sparqlify.core.sparql.QueryExecutionSparqlify.executeCoreSelect(QueryExecutionSparqlify.java:182)
    at org.aksw.jena_sparql_api.core.QueryExecutionBaseSelect.executeConstructStreaming(QueryExecutionBaseSelect.java:342)
    at org.aksw.jena_sparql_api.core.QueryExecutionBaseSelect.execConstructTriples(QueryExecutionBaseSelect.java:371)
    at org.aksw.jena_sparql_api.core.utils.QueryExecutionUtils.createIteratorDumpTriples(QueryExecutionUtils.java:65)
    at org.aksw.sparqlify.web.Main.main(Main.java:268)

The same holds if I use the bNode term constructor instead of _.23.
I'm using the 0.6.9-SNAPSHOT version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant