What is the {national association football team} for {captain} of {Ryan Giggs}
Ryan Giggs is a team captain for whom?
What team is captained by Ryan Giggs?
SELECT DISTINCT ?z WHERE { ?z property:captain resource:Ryan_Giggs . ?z rdf:type ontology:national_association_football_team }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P634> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q10524> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q6979593> } 
 select distinct ?sbj where { ?sbj wdt:P634 wd:Q10524 . ?sbj wdt:P31 wd:Q6979593 } 
United Kingdom national football team