what is the {number of matches played} for {Garrincha} has {member of sports team} as {Brazil national football team} ?
When Garrincha played for Brazil, how many matches did he play?
How many matches did Garrincha play on the Brazil national football team?
SELECT ?h WHERE { resource:Garrincha property:member_of_sports_team ?c . ?c property:number_of_matches_played/races/starts ?h . ?c property:member_of_sports_team resource:Brazil_national_football_team }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q180642> .
?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> <http://wikidata.dbpedia.org/resource/Q83459> .
?statement <http://www.wikidata.org/entity/P1350> ?value. 
} 

SELECT ?value WHERE { wd:Q180642 p:P54 ?s . ?s ps:P54 wd:Q83459 . ?s pq:P1350 ?value}