似乎有可能计算一个使用单一实体的情况。
(COUNT(DISTINCT ?x) as ?count)
and for the number of distinct tuples for all variables in the query using
(COUNT(DISTINCT *) as ?count)
However, I cannot figure out how to count specific (distinct) tuples. Something like
(COUNT(DISTINCT ?a ?b ?c) as ?count)
似乎没有工作。 我这样做是错误的,还是实际上不允许在SPARQL 1.1中这样做? 或者,它是否应该工作,在我用来测试的Sesame 2.6.0中,它没有得到支持?