Question: What is the relationship between Kikuko Inou (Whose occupation is actor) and seiyū?
Choices:
head of government
discoverer or inventor
basic form of government
mother
is a list of
game mode
participant
make-up artist
country
occupation
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Kikuko Inoue
function: And
dependencies: 1
2
function: Find
inputs: seiyū
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kikuko Inoue" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "seiyū" . ?e_1 ?p ?e_2 .  }
Answer: occupation