Question: Which movie published before 1980 is titled Brighton Rock?
Choices:
Romeo and Juliet
Talk to Her
Pleasantville
Quo Vadis
Rebecca
Brighton Rock
A Star Is Born
The Lost Weekend
Kramer vs. Kramer
A Prairie Home Companion
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1980
<
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Brighton Rock
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 <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Brighton Rock" .  }
Answer: Brighton Rock