These examples show how to count the entities in your VIVO that do not have labels.
Find Agents without labels
SELECT count(?s) WHERE { ?s rdf:type foaf:Agent . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }
Count grants without labels
SELECT count(?s) WHERE { ?s rdf:type vivo:Grant . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }
Count Positions without labels
SELECT count(?s) WHERE { ?s rdf:type vivo:Position . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }
Count Publications without Labels
SELECT count(?s) WHERE { ?s rdf:type vivo:InformationResource . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }