What is {member of sports team} of {Roberto Carlos} and {number of matches played}
Name the sports team and the number of matches Roberto Carlos has played for.
To which sports team is Roberto Carlos a member and how many matches has he played?
SELECT ?c ?v WHERE { resource:Roberto_Carlos property:member_of_sports_team ?v . ?v property:number_of_matches_played/races/starts ?c . . ?v property:member_of_sports_team ?v }
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 . }