Question: For Casino Royale (the one that is shot in Czech Republic)'s, to which part does the color of black-and-white apply?
Choices:
direct-controlled municipality
pre-credit
Cimahi
Anderson County
physics
labour
feminine plural
inhabitant
water
Metropolitan France
Answer: pre-credit
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Casino Royale" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Czech Republic" . ?e_2 <pred:name> "black-and-white" . ?e_1 <color> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <color> ; <pred:fact_t> ?e_2 ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Czech Republic
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Casino Royale
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: QueryRelationQualifier
dependencies: 3
4
inputs: color
applies to part