Question: Johnny Depp is related in what way to Cherokee, the ethnicity of Nick Jonas?
Choices:
penalty
ethnic group
place of death
licensed to broadcast to
patron saint
approved by
operator
spouse
interests
nominated for
Answer: ethnic group
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnny Depp" . ?e_2 <pred:name> "Cherokee" . ?e_3 <ethnic_group> ?e_2 . ?e_3 <pred:name> "Nick Jonas" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Johnny Depp
function: Find
inputs: Nick Jonas
function: Relate
dependencies: 1
inputs: ethnic group
forward
function: Find
inputs: Cherokee
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4