How many {opposite of} are to/by {parent} ?
Tell me words that are opposites of the word parent.
How many opposites are there of the word parent?
SELECT ( COUNT ( ?b ) AS ?f ) { ?b property:opposite_of resource:parent }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P461> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q7566 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P461 wd:Q7566 }
4