Question: The main subject of which written work is the Christian holy day designated by IPTC Newscode mediatopic/20000691?
Choices:
Die Hard
The Painted Veil
The Polar Express
Contact
A Single Man
Angels & Demons
Live and Let Die
A Christmas Carol
Scrooged
Slaughterhouse-Five
Answer: A Christmas Carol
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <main_subject> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "Christian holy day" . ?e_1 <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000691" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20000691
function: FilterConcept
dependencies: 1
inputs: Christian holy day
function: Relate
dependencies: 2
inputs: main subject
backward
function: FilterConcept
dependencies: 3
inputs: written work
function: What
dependencies: 4