Question: What city in the US is the twinned administrative body of a city which is the administrative division of West Java ?
Choices:
Miami
Gainesville
Brunswick
Irving
Midland
Phoenix
Eugene
Fort Worth
Long Beach
Bari
Answer: Fort Worth
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "West Java" .   }
Program:
function: Find
inputs: West Java
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4