Question: Which movie is based on The Matrix?
Choices:
A Beautiful Mind
Rebecca
Pleasantville
Miami Vice
The League of Extraordinary Gentlemen
Talk to Her
David Copperfield
The Matrix Revolutions
Anna Karenina
The Killing Fields
Program:
function: Find
inputs: The Matrix
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "The Matrix" .   }
Answer: The Matrix Revolutions