Ok so i have this query
PREFIX rdfs:
SELECT DISTINCT (COUNT(?instance) AS ?count) WHERE {
?instance a
You might want to try this:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT (COUNT(DISTINCT ?instance) AS ?count) WHERE {
?instance a <http://dbpedia.org/ontology/Ambassador>;
<http://dbpedia.org/property/name> ?name
}
It's giving me a result of 283, which might or might not be right :).