Question: Regina, birthplace of Kyle McCulloch, is related in what way to Saskatchewan, Canada?
Choices:
highest judicial authority
residence
convicted of
cites
opposite of
languages spoken, written or signed
film editor
capital of
record label
territory overlaps
Answer: capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Regina" . ?e_3 <place_of_birth> ?e_1 . ?e_3 <pred:name> "Kyle McCulloch" . ?e_2 <pred:name> "Saskatchewan" . ?e_2 <country> ?e_4 . ?e_4 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kyle McCulloch
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Regina
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: Relate
dependencies: 4
inputs: country
backward
function: Find
inputs: Saskatchewan
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7