What is the {local authority} for {authority} of {Greater London}
Give me the name of the local authority for Greater London.
What is the local authority for Greater London?
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:local_authority . resource:Greater_London property:authority ?z }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23306> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P797> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q837766> } 
 select distinct ?obj where { wd:Q23306 wdt:P797 ?obj . ?obj wdt:P31 wd:Q837766 } 