What is {member of sports team} of {Alan Shearer} and {number of points/goals/set scored}
Who is the sports team member of Alan Shearer and how many points / goals / sets have they scored?
who is the member of Alan Shearer sports team and how many points/goals/set  did they score?
SELECT ?p ?o WHERE { ?a property:number_of_points/goals/set_scored ?p . . ?a property:member_of_sports_team ?o . resource:Alan_Shearer property:member_of_sports_team ?a }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q483583> . ?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:Q483583 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1351 ?value1 . }