*Deprecated* This material is for historical purposes only See https://wiki.duraspace.org/display/VIVODOC/All+Documentation for current documentation
*Deprecated* See https://wiki.duraspace.org/display/VIVODOC/All+Documentation for current documentation
These examples show how to count the entities in your VIVO that do not have labels.
SELECT count(?s) WHERE { ?s rdf:type foaf:Agent . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }
SELECT count(?s) WHERE { ?s rdf:type vivo:Grant . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }
SELECT count(?s) WHERE { ?s rdf:type vivo:Position . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }
SELECT count(?s) WHERE { ?s rdf:type vivo:InformationResource . OPTIONAL {?s rdfs:label ?label .} FILTER(!bound(?label)) }