Question: What country does London (filming location of Spice World), the birth place of Richard Wright know to be into contemporary art, belong to ?
Choices:
Sweden
United Kingdom
Austria
Panama
Caribbean Netherlands
Monaco
Brazil
Kingdom of Italy
Papal States
British Empire
Answer: United Kingdom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Wright" . ?e_1 <movement> ?e_3 . ?e_3 <pred:name> "contemporary art" . ?e_2 <pred:name> "London" . ?e_4 <filming_location> ?e_2 . ?e_4 <pred:name> "Spice World" . ?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: contemporary art
function: Relate
dependencies: 0
inputs: movement
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Find
inputs: Spice World
function: Relate
dependencies: 4
inputs: filming location
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: place of birth
country