Question: How is US resident Max Weber related to Cubism?
Choices:
affiliation
registered with
enclave within
office held by head of government
depicted by
permanent resident of
original language of film or TV show
head of state
rector
movement
Answer: movement
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Max Weber" . ?e_1 <residence> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Cubism" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Max Weber
function: And
dependencies: 1
2
function: Find
inputs: Cubism
function: QueryRelation
dependencies: 3
4