Question: What profession matches the occupation of Akira Toriyama and that belongs to Japan ?
Choices:
financier
seiyū
mangaka
art director
cinematographer
astronaut
bandleader
make-up artist
speaker of the United States House of Representatives
graphic designer
Answer: mangaka
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Akira Toriyama" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Japan" .  }
Program:
function: Find
inputs: Akira Toriyama
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: profession
function: Find
inputs: Japan
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: profession
function: And
dependencies: 2
5
function: What
dependencies: 6