Question: Which country does Gameloft's headquarters location Paris (which contains Cubism) belong to?
Choices:
Nazi Germany
Finland
Ontario
Lithuania
France
Indonesia
New Zealand
Malaysia
Socialist Federal Republic of Yugoslavia
Ireland
Program:
function: Find
inputs: Gameloft
function: Find
inputs: Cubism
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Paris
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Gameloft" . ?e_2 <pred:name> "Paris" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Cubism" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: France