Question: What country does Rome (the one whose nickname is Вечный город), where Vittoria Storaro was born, belong to?
Choices:
Ukraine
English
Italy
India
Slovakia
Orange Free State
Ireland
United Kingdom
Albania
Holy Roman Empire
Program:
function: Find
inputs: Vittorio Storaro
function: Find
inputs: Rome
function: FilterStr
dependencies: 1
inputs: nickname
Вечный город
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Vittorio Storaro" . ?e_2 <pred:name> "Rome" . ?e_2 <nickname> ?pv . ?pv <pred:value> "Вечный город" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Italy