Question: What country was Liza Minnelli born in Hollywood where Charles Laughton died?
Choices:
Roman Republic
Union of South Africa
Georgia
Austria
Portugal
Bulgaria
United States of America
Egypt
Kingdom of Bavaria
Armenia
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Liza Minnelli" . ?e_2 <pred:name> "Hollywood" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Charles Laughton" . ?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 .  }
Program:
function: Find
inputs: Liza Minnelli
function: Find
inputs: Charles Laughton
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Hollywood
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
country