> If yuo have the setup to hand still, coiudk you try:
> SELECT (COUNT(*) AS ?cnt) {?s a 
> <http://wikiba.se/ontology-beta#Item[http://wikiba.se/ontology-beta#Item]>}


$ time curl --data "query=SELECT (COUNT(*) AS ?cnt) {?s a 
<http://wikiba.se/ontology-beta#Item>}" http://localhost:3030/ds/query
Error 500: org/apache/jena/sparql/core/DatasetGraphMaker

Fuseki - version 3.5.0 (Build date: 2017-10-30T09:20:28+0000)
curl --data  http://localhost:3030/ds/query  0.01s user 0.00s system 2% cpu 
0.283 total


$ time curl --data "query=SELECT (COUNT(*) AS ?cnt) {?s a 
<http://wikiba.se/ontology-beta#Item>} limit 1" http://localhost:3030/ds/query
{
  "head": {
    "vars": [ "cnt" ]
  } ,
  "results": {
    "bindings": [
      {
        "cnt": { "type": "literal" , "datatype": 
"http://www.w3.org/2001/XMLSchema#integer"; , "value": "37871468" }
      }
    ]
  }
}
curl --data  http://localhost:3030/ds/query  0.00s user 0.00s system 0% cpu 
10.128 total

Reply via email to