Question: What is the United States city that shares a border with Natchez?
Choices:
Beaumont
Columbus
Brownsville
New Haven
Anniston
Macon
Canton
Vicksburg
Franklin
Waukegan
Program:
function: Find
inputs: Natchez
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Natchez" .   }
Answer: Vicksburg