Closed zorino closed 8 years ago
Are you sure? This is not valid according to the SPARQL spec: https://www.w3.org/TR/sparql11-query/#rSelectClause Endpoints such as virtuoso are a bit more flexible though, and deviated from the SPARQL spec
fyi, the valid version of your query
SELECT (COUNT(DISTINCT ?variable) as ?c) WHERE {
?variable ?pred ?obj
}
sorry about that you're right, I should've checked the sparql spec first, thank you
SELECT COUNT DISTINCT ?X should be valid