what is the {number of points/goals/set scored} for {David Campese} has {member of sports team} as {Australia national rugby union team} ?
When David Campese played for Australia's National Rugby Union Team how many points did he score?
how many points did David Campese win for the Australia national rugby union team as a player of the team?
SELECT ?c WHERE { ?g property:member_of_sports_team resource:Australia_national_rugby_union_team . resource:David_Campese property:member_of_sports_team ?g . ?g property:number_of_points/goals/set_scored ?c }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1173922> .
?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/Q622443> .
?statement <http://www.wikidata.org/entity/P1351> ?value. 
} 

SELECT ?value WHERE { wd:Q1173922 p:P54 ?s . ?s ps:P54 wd:Q622443 . ?s pq:P1351 ?value}