Question: What is the drama film that makes up the genre of a visual artwork titled An Ideal Husband ?
Choices:
film based on literature
disaster film
legal drama
political drama
soap opera
melodrama
docudrama
costume drama
historical period drama
romantic comedy
Answer: costume drama
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "drama film" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv . ?pv <pred:value> "An Ideal Husband" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
An Ideal Husband
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: genre
forward
function: FilterConcept
dependencies: 3
inputs: drama film
function: What
dependencies: 4