Question: How is the West Midlands, which shares a border with Staffordshire, related to Staffordshire?
Choices: taxon rank
has contributing factor
destination point
shares border with
mother
participant
make-up artist
practiced by
interests
legislative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "West Midlands" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Staffordshire" . ?e_2 <pred:name> "Staffordshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Staffordshire
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: West Midlands
function: And
dependencies: 1
2
function: Find
inputs: Staffordshire
function: QueryRelation
dependencies: 3
4
Answer: shares border with