Question: What is the connection between Bergamo to Kingdom of Italy (the one that is the country of Brescia)?
Choices:
author
narrative location
executive producer
country
next lower rank
grants
designed to carry
operator
opposite of
cause of death
Program:
function: Find
inputs: Bergamo
function: Find
inputs: Brescia
function: Relate
dependencies: 1
inputs: country
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bergamo" . ?e_2 <pred:name> "Kingdom of Italy" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Brescia" . ?e_1 ?p ?e_2 .  }
Answer: country