Question: Tell me the written work that is not the same as Life of Pi (the one that has Slovenia as the release region)
Choices:
Starship Troopers
Thunderball
Diamonds Are Forever
The Hours
Life of Pi
The Painted Veil
The Reader
Contact
Live and Let Die
The Firm
Answer: Life of Pi
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Life of Pi" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Slovenia" .   }
Program:
function: Find
inputs: Slovenia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Life of Pi
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5