Question: What is the start time for Sarajevo (the one that is the twinned administrative body of Madrid) as the twinned administrative body of Naples (the one that is the capital of Province of Naples)?
Choices: 2003-09-03
1990-03-24
2005-03-24
1992-02-18
1945-05-09
2001
1976
1440
1909-01-01
1970-12-29
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sarajevo" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Madrid" . ?e_2 <pred:name> "Naples" . ?e_2 <capital_of> ?e_4 . ?e_4 <pred:name> "Province of Naples" . ?e_1 <twinned_administrative_body> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Madrid
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Sarajevo
function: And
dependencies: 1
2
function: Find
inputs: Province of Naples
function: Relate
dependencies: 4
inputs: capital of
backward
function: Find
inputs: Naples
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: twinned administrative body
start time
Answer: 1976