Question: Which television series has a character in the fictional profession that is present in the work 'Batman' (whose publication date is 1989-01-01)?
Choices:
The Dark Knight
Robot Chicken
Superman
Bleak House
WCW Monday Nitro
Batman
Batman Begins
American Horror Story
Futurama
Eve
Program:
function: Find
inputs: Batman
function: FilterDate
dependencies: 0
inputs: publication date
1989-01-01
=
function: Relate
dependencies: 1
inputs: present in work
backward
function: FilterConcept
dependencies: 2
inputs: fictional profession
function: Relate
dependencies: 3
inputs: characters
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <characters> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "fictional profession" . ?e_1 <present_in_work> ?e_3 . ?e_3 <pred:name> "Batman" . ?e_3 <publication_date> ?pv . ?pv <pred:date> "1989-01-01"^^xsd:date .   }
Answer: Batman