What is the {association football club} for {member of sports team} of {Alan Shearer}
What football team does Alan Shearer play for?
who association football club for member of sports team of alan shearer?
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:association_football_club . resource:Alan_Shearer property:member_of_sports_team ?u }
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/Q476028> } 
 select distinct ?obj where { wd:Q483583 wdt:P54 ?obj . ?obj wdt:P31 wd:Q476028 } 
Newcastle United F.C. Southampton F.C. Blackburn Rovers F.C.