antoniogarrote / rdfstore-js

JS RDF store with SPARQL support
MIT License
564 stars 109 forks source link

Getting error "Unknown filter expression type" with COUNT #145

Open mterdjimi opened 8 years ago

mterdjimi commented 8 years ago

Hello,

I am currently facing the "Unknown filter expression type" error when launching COUNT queries such as

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT (COUNT(?s) AS ?v)
WHERE { ?s rdf:type ?o . }

This only happens when actual data is found. When the query pattern does not match anything, the query does not throw any error.

Thanks.

SimonShapiro commented 6 years ago

I am getting this as well. Is there any update for this issue?