Question: What is Elizabeth Banks (the one that has the occupation of actor)'s relation with Jewish people ?
Choices:
league
military conflicts
production company
distribution
famous people
producer
depicts
language used
ethnic group
signatory
Answer: ethnic group
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elizabeth Banks" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "Jewish people" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Elizabeth Banks
function: And
dependencies: 1
2
function: Find
inputs: Jewish people
function: QueryRelation
dependencies: 3
4