How many {legislative body} are for {France} ?
Which are the legislative bodies for France?
Tell me the legislative bodies are there for France?
SELECT ( COUNT ( ?l ) AS ?v ) { resource:France property:legislative_body ?l }
SELECT (COUNT(?obj) AS ?objs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q142> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P194> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
} 

SELECT (COUNT(?obj) AS ?value ) { wd:Q142 wdt:P194 ?obj }
1