What is {member of sports team} of {Roberto Carlos} and {number of matches played}
To which sports group is Roberto Carlos a part and how numerous matches has he played?
To which sports team is Roberto Carlos a member and how many matches has he played?
SELECT ?y ?f WHERE { ?i property:member_of_sports_team ?f . ?i property:number_of_matches_played/races/starts ?y . . resource:Roberto_Carlos property:member_of_sports_team ?i }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q429039> . ?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 . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q429039 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1350 ?value1 . }