Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Example sparql query returns an empty vars list instead of a list with 1 member #143

Open
reederz opened this issue Feb 25, 2015 · 1 comment

Comments

@reederz
Copy link

reederz commented Feb 25, 2015

The example: https://github.com/read-write-web/rww-play/wiki/Curl-Interactions#sparql-queries

Test:

[  2:24PM ]  [ justas@choedankal:~/Source/scala/workspace/jolocom/rww-play/test_www(dev✗) ]
 $ curl -X SEARCH -k -i -H "Content-Type: application/sparql-query; charset=UTF-8" \
>     --cert ../eg/test-localhost.pem:test \
>     --data-binary @../eg/couch.sparql https://localhost:8443/2013/couch
HTTP/1.1 200 OK
Content-Type: application/sparql-results+json
User: https://localhost:8443/2013/card#me
Content-Length: 213

{
  "head" : {
    "vars" : [ ]
  },
  "results" : {
    "bindings" : [
      {
        "D" : {
          "type" : "literal",
          "value" : "Comfortable couch in Artist Stables"
        }
      }
    ]
  }
}% 
@bblfish bblfish added this to the Initial Server Deployment milestone Feb 12, 2016
@bblfish
Copy link
Member

bblfish commented Feb 12, 2016

the variable seems to be there in the bindings. I wonder what the spec says about this.

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

No branches or pull requests

2 participants