Question: What visual artwork is a derivative work of Lost in Space (the one whose number of seasons is 3)?
Choices:
Heat
Pleasantville
A Prairie Home Companion
Talk to Her
The Fifth Element
Land of the Lost
Veronica Mars
Dead Man Walking
Superman III
Lost in Space
Answer: Lost in Space
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Lost in Space" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double .   }
Program:
function: Find
inputs: Lost in Space
function: FilterNum
dependencies: 0
inputs: number of seasons
3
=
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: What
dependencies: 3