Question: Which city of the US contain University of Texas at Austin and it is the capital of Texas (within McLennan County) ?
Choices:
Boulder
Compton
Columbus
New Haven
Franklin
Greenville
Austin
Lansing
New Britain
Oakland
Answer: Austin
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "University of Texas at Austin" .  ?e <capital_of> ?e_2 . ?e_2 <pred:name> "Texas" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "McLennan County" .  }
Program:
function: Find
inputs: University of Texas at Austin
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: McLennan County
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: Find
inputs: Texas
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: capital of
backward
function: FilterConcept
dependencies: 7
inputs: city of the United States
function: And
dependencies: 2
8
function: What
dependencies: 9