Question: Tell me the Louisiana parish that has a border with New Orleans (which is where Sam Trammell was born)
Choices:
Flight
Jefferson Parish
Sandra Oh
Frank Miller
Goya Award for Best Actress
Western Illinois University
Coventry City F.C.
John Mills
Creed Bratton
Harry Shearer
Answer: Jefferson Parish
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "parish of Louisiana" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "New Orleans" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Sam Trammell" .   }
Program:
function: Find
inputs: Sam Trammell
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: New Orleans
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: parish of Louisiana
function: What
dependencies: 5