C:\Users\Robbie\Desktop\virtuoso-opensource\bin>curl -H "Accept:application/json
" "http://localhost:8890/sparql?query=select+*+where+%7B+%3Fs+%3Fp+%3Fo+%0D%0A%7
D+LIMIT+5" -v
* About to connect() to localhost port 8890 (#0)
* Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8890 (#0)
> GET /sparql?query=select+*+where+%7B+%3Fs+%3Fp+%3Fo+%0D%0A%7D+LIMIT+5 HTTP/1.1
> User-Agent: curl/7.21.0 (amd64-pc-win32) libcurl/7.21.0
> Host: localhost:8890
> Accept:application/json
>
< HTTP/1.1 200 OK
< Server: Virtuoso/06.01.3127 (Win64) x86_64-generic-win-64
< Connection: Keep-Alive
< Date: Thu, 26 May 2011 09:40:30 GMT
< Accept-Ranges: bytes
< Content-Type: application/json; charset=UTF-8
< Content-Length: 1553
<
{ "head": { "link": [], "vars": ["s", "p", "o"] },
"results": { "distinct": false, "ordered": true, "bindings": [
{ "s": { "type": "uri", "value": "http://www.openlinksw.com/virtrdf-data-for
mats#default-iid" } , "p": { "type": "uri", "value": "http://www.w3.org/1999
/02/22-rdf-syntax-ns#type" } , "o": { "type": "uri", "value": "http://www.ope
nlinksw.com/schemas/virtrdf#QuadMapFormat" }},
{ "s": { "type": "uri", "value": "http://www.openlinksw.com/virtrdf-data-for
mats#default-iid-nullable" } , "p": { "type": "uri", "value": "http://www.w3.
org/1999/02/22-rdf-syntax-ns#type" } , "o": { "type": "uri", "value": "http:/
/www.openlinksw.com/schemas/virtrdf#QuadMapFormat" }},
{ "s": { "type": "uri", "value": "http://www.openlinksw.com/virtrdf-data-for
mats#default-iid-nonblank" } , "p": { "type": "uri", "value": "http://www.w3.
org/1999/02/22-rdf-syntax-ns#type" } , "o": { "type": "uri", "value": "http:/
/www.openlinksw.com/schemas/virtrdf#QuadMapFormat" }},
{ "s": { "type": "uri", "value": "http://www.openlinksw.com/virtrdf-data-for
mats#default-iid-nonblank-nullable" } , "p": { "type": "uri", "value": "http:/
/www.w3.org/1999/02/22-rdf-syntax-ns#type" } , "o": { "type": "uri", "value":
"http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat" }},
{ "s": { "type": "uri", "value": "http://www.openlinksw.com/virtrdf-data-for
mats#default" } , "p": { "type": "uri", "value": "http://www.w3.org/1999/02/22-r
df-syntax-ns#type" } , "o": { "type": "uri", "value": "http://www.openlinksw.
com/schemas/virtrdf#QuadMapFormat" }} ] } }* Connection #0 to host localhost lef
t intact
* Closing connection #0