Question: What is the connection between St Helens (the one that is the twinned administrative body of Stuttgart) to Warrington?
Choices:
place of origin (Switzerland)
model item
subsidiary
source of income
Wikidata property
approved by
grants
has cause
shares border with
product or material produced
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St Helens" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Stuttgart" . ?e_2 <pred:name> "Warrington" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Stuttgart
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: St Helens
function: And
dependencies: 1
2
function: Find
inputs: Warrington
function: QueryRelation
dependencies: 3
4