sage-org / sage-client

🦄 JS client for evaluating SPARQL queries against a SaGe server
MIT License
3 stars 5 forks source link

Unsupported operation: BIND #1

Closed Rintarou closed 6 years ago

Rintarou commented 6 years ago

When running any query from the bind/ folder, or the entailment/bind of the w3c SPARQL 1.1 compliance benchmark

We obtain the following output

UnsupportedQueryError: The query is not yet supported
Unsupported group type: bind
    at new SparqlIterator (/home/runner/Documents/M1_ALMA/Stage/SaGe/sage-client/src/sparql-iterator.js:140:13)
    at Object.<anonymous> (/home/runner/Documents/M1_ALMA/Stage/SaGe/sage-client/bin/sage-client.js:78:44)
    at Module._compile (module.js:662:30)
    at Object.Module._extensions..js (module.js:673:10)
    at Module.load (module.js:575:32)
    at tryModuleLoad (module.js:515:12)
    at Function.Module._load (module.js:507:3)
    at Function.Module.runMain (module.js:703:10)
    at startup (bootstrap_node.js:193:16)
    at bootstrap_node.js:660:3

Queries have the following form:

PREFIX : <http://example.org/> 

SELECT *
{
  ?s ?p ?o .
  BIND(?nova AS ?z)
}

The query is simply unsupported by the current engine version. it represents 18 queries from the w3c benchmark, so it is rather relevant.

corentinmrnn commented 6 years ago

Bind is supported, some weird scope errors may remain