Question: How is West Midlands (the one that shares border with Warwickshire) related to Walsall (the one whose inception time is 1974-04-01) ?
Choices:
production designer
editor
contains administrative territorial entity
position played on team / speciality
film editor
shares border with
approved by
occupant
political alignment
relative
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "West Midlands" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Warwickshire" . ?e_2 <pred:name> "Walsall" . ?e_2 <inception> ?pv . ?pv <pred:date> "1974-04-01"^^xsd:date . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warwickshire
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: West Midlands
function: And
dependencies: 1
2
function: Find
inputs: Walsall
function: FilterDate
dependencies: 4
inputs: inception
1974-04-01
=
function: QueryRelation
dependencies: 3
5