How many {parent taxon} are to/by {Squamata} ?
Which is the number of parent taxons that are attributed to Squamata?
How many parent taxons are attributed to Squamata?
SELECT ( COUNT ( ?t ) AS ?r ) { ?t property:parent_taxon resource:Squamata }
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/P171> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q122422 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P171 wd:Q122422 }
40