Question: What is the connection between St Helens (that shares a border with Warrington) and Stuttgart?
Choices:
has quality
place of origin (Switzerland)
feast day
work location
kit supplier
part of the series
soundtrack album
has parts of the class
film distribute region
twinned administrative body
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St Helens" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Warrington" . ?e_2 <pred:name> "Stuttgart" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warrington
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: St Helens
function: And
dependencies: 1
2
function: Find
inputs: Stuttgart
function: QueryRelation
dependencies: 3
4