Question: When was Naples (the one whose country is Italy) located in the Province of Naples?
Choices:
1572
1651-09-03
2014-12-31
2003-02-23
1971
1997-04-27
1935
1954
1983-01-01
2012-12-24
Program:
function: Find
inputs: Italy
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: Find
inputs: Province of Naples
function: QueryRelationQualifier
dependencies: 3
4
inputs: located in the administrative territorial entity
end time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Naples" . ?e_1 <country> ?e_3 . ?e_3 <pred:name> "Italy" . ?e_2 <pred:name> "Province of Naples" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Answer: 2014-12-31