Question: What artwork is titled The Dark Knight Rises and has the codename Magnus Rex?
Choices:
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Curse of the Golden Flower
The Dark Knight Rises
Rope
Talk to Her
The Fifth Element
Pleasantville
The Towering Inferno
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Dark Knight Rises
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: codename
Magnus Rex
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv . ?pv <pred:value> "The Dark Knight Rises" . ?e <codename> ?pv_1 . ?pv_1 <pred:value> "Magnus Rex" .  }
Answer: The Dark Knight Rises