Question: How is Wonder Woman from the DC Universe related to diplomat?
Choices:
occupation
territory claimed by
material used
model item
ethnic group
symptom of
significant person
head of state
cast member
works in collection
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wonder Woman" . ?e_1 <from_fictional_universe> ?e_3 . ?e_3 <pred:name> "DC Universe" . ?e_2 <pred:name> "diplomat" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: DC Universe
function: Relate
dependencies: 0
inputs: from fictional universe
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: diplomat
function: QueryRelation
dependencies: 3
4