Question: How is Lazio's capital, Rome, related to the Byzantine Empire?
Choices:
participant
currency
dissertation submitted to
contains settlement
terminus
winner
screenwriter
country
destination point
mascot
Program:
function: Find
inputs: Lazio
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Rome
function: And
dependencies: 1
2
function: Find
inputs: Byzantine Empire
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rome" . ?e_1 <capital_of> ?e_3 . ?e_3 <pred:name> "Lazio" . ?e_2 <pred:name> "Byzantine Empire" . ?e_1 ?p ?e_2 .  }
Answer: country