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