What is {member of sports team} of {Robert Lewandowski} and {number of matches played}
When did part of sports group of Robert Lewandowski and number of matches -played?
When did member of sports team of Robert Lewandowski and number of matches -played?
SELECT ?t ?f WHERE { ?c property:member_of_sports_team ?f . ?c property:number_of_matches_played/races/starts ?t . . resource:Robert_Lewandowski property:member_of_sports_team ?c }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151269> . ?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:Q151269 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1350 ?value1 . }