what is the {sport number} for {Moses Malone} has {member of sports team} as {Houston Rockets} ?
What is Moses Malone's jersey number for the Houston Rockets?
What is the number for Moses Malone when he played for the Houston Rockets?
SELECT ?c WHERE { resource:Moses_Malone property:member_of_sports_team ?z . ?z property:sport_number ?c . ?z property:member_of_sports_team resource:Houston_Rockets }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q316179> .
?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/Q161345> .
?statement <http://www.wikidata.org/entity/P1618> ?value. 
} 

SELECT ?value WHERE { wd:Q316179 p:P54 ?s . ?s ps:P54 wd:Q161345 . ?s pq:P1618 ?value}