What is the {national association football team} for {member of sports team} of {Alan Shearer}
[]
Alan Shearer is a member of which national association football team?
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:national_association_football_team . resource:Alan_Shearer property:member_of_sports_team ?b }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q483583> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P54> . ?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/Q6979593> } 
 select distinct ?obj where { wd:Q483583 wdt:P54 ?obj . ?obj wdt:P31 wd:Q6979593 } 
England national association football team