Question: What country holds London that is the formation location of Jamiroquai and Channel 4's headquarters location?
Choices:
Ukraine
Russian Empire
Chile
Kenya Colony
Guyana
Romania
England
Suriname
Armenia
Austria-Hungary
Answer: England
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Channel 4" . ?e_2 <pred:name> "London" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> "Jamiroquai" . ?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: Channel 4
function: Find
inputs: Jamiroquai
function: Relate
dependencies: 1
inputs: location of formation
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country