Question: What historic county of England is the origin of the name Sussex County that borders Morris County?
Choices:
colonel
University of Mississippi
The Church of Jesus Christ of Latter-day Saints
Cambridgeshire
Middlesex
Interview with the Vampire
Richard Thompson
AC Horsens
Yorkshire
Sussex
Answer: Sussex
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historic county of England" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Sussex County" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Morris County" .   }
Program:
function: Find
inputs: Morris County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Sussex County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
forward
function: FilterConcept
dependencies: 4
inputs: historic county of England
function: What
dependencies: 5