Question: What visual artwork's main subject is Oscar Wilde (born on 1854-10-16)?
Choices:
The Towering Inferno
A Prairie Home Companion
Elite Squad: The Enemy Within
Pleasantville
The Fifth Element
The Sea Inside
Rebecca
Oscar Wilde
Training Day
Hancock
Program:
function: Find
inputs: Oscar Wilde
function: FilterDate
dependencies: 0
inputs: date of birth
1854-10-16
=
function: Relate
dependencies: 1
inputs: main subject
backward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Oscar Wilde" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1854-10-16"^^xsd:date .   }
Answer: Oscar Wilde