good morning; > On 2015-08-22, at 11:18, Andy Seaborne <[email protected]> wrote: > […] > There are going to be a lot of answers - 14,818,205,957? - counting > non-DISTINCT. The DISTINCT version may be significantly more expensive > but > > SELECT (count(DISTINCT *) AS ?c) { > > is a syntax error for DBpedia though it is legal SPARQL. >
PREFIX do: <http://dbpedia.org/ontology/> select (count(*) as ?c) where { select distinct * where { ?Player a do:BasketballPlayer. ?Player ?r ?A. ?Player2 ?r ?A } } -> 4225000 --- james anderson | [email protected] | http://dydra.com
