Question: Which television series does not have a publication date for 2009, but has a narrative location in London?
Choices:
EastEnders
The Penguins of Madagascar
Oliver Twist
From Hell
Tinker Tailor Soldier Spy
Only Fools and Horses
The Wolfman
Limitless
About a Boy
Trainspotting
Answer: Tinker Tailor Soldier Spy
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2009 ) . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "London" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Friedrich Hollaender" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2009
!=
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Friedrich Hollaender
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
backward
function: FilterConcept
dependencies: 7
inputs: television series
function: And
dependencies: 2
8
function: What
dependencies: 9