I need to count the number of rdfs:label properties with NON-NULL values from DBpedia.
I already have the total number of rdfs:label properties (NULL and NON-NULL values) from DBpedia using this query:
select (COUNT(*) as ?labelNum)
WHERE { ?s rdfs:label ?o
}
I tried this query to get the rdfs:label with NULL values, but it returns 0:
SELECT (COUNT(*) as ?nullLabelNum)
WHERE { ?s rdfs:label ?o
filter(isBlank(?o)) }