Question: How long is a film based on The Perks of Being a Wallflower (young adult literature)?
Choices:
130 minute
236 minute
102 minute
239 second
93 minute
310 minute
87 minute
190 minute
29 minute
62 minute
Program:
function: Find
inputs: young adult literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Perks of Being a Wallflower
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttr
dependencies: 5
inputs: duration
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "The Perks of Being a Wallflower" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "young adult literature" .  ?e <duration> ?pv .  }
Answer: 102 minute