Question: In what country is located Chicago (where is Tribune Media's headquarter and is the birthplace of Michael Clarke Duncan)?
Choices:
Israel
Philippines
Iceland
Norway
Austria
Slovenia
Aruba
Belgium
United States of America
United Kingdom
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tribune Media" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Michael Clarke Duncan" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Tribune Media
function: Find
inputs: Michael Clarke Duncan
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country