Question: What is the country of Danny Huston's birthplace, Rome -- capital of the Holy Roman Empire?
Choices:
British Empire
United Arab Republic
Saxe-Weimar-Eisenach
Hungary
Lithuania
Monaco
Kuwait
Italy
Papal States
Kazakhstan
Program:
function: Find
inputs: Danny Huston
function: Find
inputs: Holy Roman Empire
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Rome
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Danny Huston" . ?e_2 <pred:name> "Rome" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Holy Roman Empire" . ?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