What is {number of matches played} and {number of points/goals/set scored} of {{Carlos Alberto Torres} has {member of sports team} as {New York Cosmos}}
How many matches were played and goals were achieved by Carlos Aberto Torres while he was on the New York Cosmos team?
Mention the number of the matches and the number of the goals count achieved by Carlos Alberto Torres when he was playing for New York Cosmos team
SELECT ?j ?f WHERE { ?b property:number_of_points/goals/set_scored ?f . resource:Carlos_Alberto_Torres property:member_of_sports_team ?b . ?b property:number_of_matches_played/races/starts ?j . ?b property:member_of_sports_team resource:New_York_Cosmos }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q295262> . ?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/Q646135>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q295262 p:P54 ?s . ?s ps:P54 wd:Q646135 . ?s pq:P1350 ?value1 . ?s pq:P1351 ?value2 }