What is {member of sports team} of {John Charles} and {number of matches played}
When played John Charles ' sports team member and number of matches?
When did member of sports team of John Charles and number of matches played?
SELECT ?u ?y WHERE { resource:John_Charles property:member_of_sports_team ?z . ?z property:number_of_matches_played/races/starts ?u . . ?z property:member_of_sports_team ?y }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312404> . ?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:Q312404 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1350 ?value1 . }