Question: What is the title of the movie that is different from Hearts and Minds (the one whose publication date is 2005-01-12)?
Choices:
The Country Girl
Patch Adams
In the Bedroom
Grey Gardens
Hearts and Minds
Captain America: The First Avenger
The Bourne Identity
And Starring Pancho Villa as Himself
American Psycho
The Brothers Bloom
Answer: Hearts and Minds
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Hearts and Minds" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "2005-01-12"^^xsd:date . ?e <title> ?pv .  }
Program:
function: Find
inputs: Hearts and Minds
function: FilterDate
dependencies: 0
inputs: publication date
2005-01-12
=
function: Relate
dependencies: 1
inputs: different from
forward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttr
dependencies: 3
inputs: title