How many {domain of saint or deity} are for {Santo Tomás de Aquinas} ?
Which is the domain of saint or deities for Santo Tomas de Aquinas?
Tell me the domain of saint or deities for Santo Tomas de Aquinas?
SELECT ( COUNT ( ?f ) AS ?s ) { resource:Thomas_Aquinas property:domain_of_saint_or_deity ?f }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9438> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2925> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q9438 wdt:P2925 ?obj }
8