What is {number of matches played} and {number of points/goals/set scored} of {{Just Fontaine} has {member of sports team} as {O.G.C. Nice}}
When Just Fontaine played for the O.G.C. Nice, how many games did he participate in and how many goals did he score?
How many games did Just Fontaine play for the O.G.C. Nice and how many goals did he score?
SELECT ?d ?m WHERE { ?j property:number_of_matches_played/races/starts ?d . ?j property:member_of_sports_team resource:OGC_Nice . ?j property:number_of_points/goals/set_scored ?m . resource:Just_Fontaine property:member_of_sports_team ?j }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q192749> . ?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/Q185163>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q192749 p:P54 ?s . ?s ps:P54 wd:Q185163 . ?s pq:P1350 ?value1 . ?s pq:P1351 ?value2 }