What is {member of sports team} of {Shane Warne} that is {sport number} is {23} ?
Shane Warne, #23, participated in what sport?
What sport did Shane Warne, #23, play?
SELECT ?k WHERE { ?k property:member_of_sports_team ?k . ?k property:sport_number ?c . FILTER ( ?c = 23 ) . resource:Shane_Warne property:member_of_sports_team ?k }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q555240> .
?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/P1618> <23>
} 

SELECT ?obj WHERE { wd:Q555240 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P1618 ?x filter(contains(?x , '23')) }