Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The resulting collection of entities is counted using COUNT(DISTINCT ?s) ) in the SELECT statement.

Code Block
titleCount agents without labels
SELECT COUNT(DISTINCT ?s)
WHERE {
    ?s rdf:type foaf:Agent .
    OPTIONAL {?s rdfs:label ?label .}
    FILTER(!bound(?label))
}

...