Question: What is the relation of film director Cher to Armenians?
Choices:
draft pick from school
executive producer
location of discovery
ethnic group
publisher
cause of death
lifestyle
time period
winner
country for sport
Answer: ethnic group
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cher" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film director" . ?e_2 <pred:name> "Armenians" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Cher
function: And
dependencies: 1
2
function: Find
inputs: Armenians
function: QueryRelation
dependencies: 3
4