Question: What film's publication date is before 2012 and official website is http://harrypotter.warnerbros.com/harrypotterandthehalf-bloodprince/?
Choices:
A Prairie Home Companion
Pleasantville
Casper
Calendar Girls
Harry Potter and the Half-Blood Prince
The Unbearable Lightness of Being
Final Destination
Sabrina
Rebecca
Talk to Her
Answer: Harry Potter and the Half-Blood Prince
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 < 2012 ) . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://harrypotter.warnerbros.com/harrypotterandthehalf-bloodprince/" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2012
<
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://harrypotter.warnerbros.com/harrypotterandthehalf-bloodprince/
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6