Question: What profession are Natalie Wood's (lives in Trinidad) occupation and Wonder Woman's (establishment is 2016) occupation?
Choices:
speaker of the United States House of Representatives
storyboard artist
bandleader
illustrator
seiyū
curator
cinematographer
make-up artist
astronaut
graphic designer
Answer: curator
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Natalie Wood" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> "Trinidad" .  ?e_3 <occupation> ?e . ?e_3 <pred:name> "Wonder Woman" . ?e_3 <inception> ?pv . ?pv <pred:year> 2016 .  }
Program:
function: Find
inputs: Trinidad
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Natalie Wood
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: Find
inputs: Wonder Woman
function: FilterYear
dependencies: 6
inputs: inception
2016
=
function: Relate
dependencies: 7
inputs: occupation
forward
function: FilterConcept
dependencies: 8
inputs: profession
function: And
dependencies: 5
9
function: What
dependencies: 10