Closed richhl closed 8 years ago
To answer the question in the issue title, yes, Basil supports the SPARQL 1.1 syntax in full.
To solve your problem, try to rewrite the query like this:
SELECT DISTINCT ?contrato (count(?tender) AS ?numLicitadores) ...
Reason: basil uses the Apache Jena ARQ query parser, that is a strict SPARQL 1.1 compliant one. It looks like your query would work with a Virtuoso Endpoint, that has a more relaxed query parser. Let me know if this solves your problem.
BTW, This looks like a nice query :) If you need, you could also enable parameter mappings. For example for a Tax inclusion, changing this
gr:valueAddedTaxIncluded "false"^^xsd:boolean
to
gr:valueAddedTaxIncluded ?_tax_xsd_boolean
and the query the API like this: http://basil.kmi.open.ac.uk/basil/..../api?tax=true
thx a lot. It works. The query exposed i not my merit. Take a look at https://github.com/zaragoza-sedeelectronica/zaragoza-sedeelectronica.github.io/
This looks very interesting, thank you!
@enridaga, if you want more queries like this you can get them in that endpoint.
i've got an error when adding a query at http://basil.kmi.open.ac.uk/ap attached query and screenshot.
Line 54 is