Question: What basketball team participated in the 2007 NBA Draft and has headquarters in Houston (that is the twin administrative body to Baku)?
Choices: Villanova Wildcats men's basketball
San Antonio Spurs
Cleveland Cavaliers
Seattle Storm
Toronto Raptors
Utah Jazz
Brooklyn Nets
New Orleans Pelicans
Houston Rockets
Orlando Magic
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "basketball team" . ?e_1 <participant> ?e . ?e_1 <pred:name> "2007 NBA Draft" .  ?e <headquarters_location> ?e_2 . ?e_2 <pred:name> "Houston" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Baku" .  }
Program:
function: Find
inputs: 2007 NBA Draft
function: Relate
dependencies: 0
inputs: participant
forward
function: FilterConcept
dependencies: 1
inputs: basketball team
function: Find
inputs: Baku
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: Find
inputs: Houston
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: headquarters location
backward
function: FilterConcept
dependencies: 7
inputs: basketball team
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: Houston Rockets