Question: Which US city is Utah's (the one whose short name is UT) capital?
Choices:
Salt Lake City
Oakland
Boulder
Compton
Waukegan
Long Branch
Franklin
Fremont
New Haven
Columbus
Answer: Salt Lake City
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Utah" . ?e_1 <short_name> ?pv . ?pv <pred:value> "UT" .   }
Program:
function: Find
inputs: Utah
function: FilterStr
dependencies: 0
inputs: short name
UT
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3