Question: How is the Pocahontas who belongs to the Indigenous peoples of the US related to the role of diplomat?
Choices:
executive producer
founded by
language of work or name
occupation
killed by
conflict
exclave of
distribution
original language of film or TV show
make-up artist
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pocahontas" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Indigenous peoples of the United States" . ?e_2 <pred:name> "diplomat" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Indigenous peoples of the United States
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Pocahontas
function: And
dependencies: 1
2
function: Find
inputs: diplomat
function: QueryRelation
dependencies: 3
4