What is the {national association football team} for {member of sports team} of {Lionel Messi}
[]
To which National Association Football team does Lionel Messi belong?
SELECT DISTINCT ?m WHERE { resource:Lionel_Messi property:member_of_sports_team ?m . ?m rdf:type ontology:national_association_football_team }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q615> . ?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:Q615 wdt:P54 ?obj . ?obj wdt:P31 wd:Q6979593 } 
Argentina national football team Argentina national under-20 football team Argentina national under-23 football team