Question: How is photographer Russ Meyer related to the profession of film director?
Choices:
shares border with
applies to jurisdiction
replaces
subject has role
located on astronomical location
filmography
sport
color
political ideology
occupation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Russ Meyer" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "photographer" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: photographer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Russ Meyer
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4