Question: Which visual artwork is set in the make-believe universe inhabited by Angel, from the Buffy-universe?
Choices:
Pleasantville
A Prairie Home Companion
A Bridge Too Far
Green Lantern
Rebecca
The Fifth Element
Talk to Her
Buffy the Vampire Slayer
Yentl
Angel
Program:
function: Find
inputs: Buffyverse
function: Relate
dependencies: 0
inputs: from fictional universe
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: from fictional universe
forward
function: FilterConcept
dependencies: 4
inputs: fictional universe
function: Relate
dependencies: 5
inputs: takes place in fictional universe
backward
function: FilterConcept
dependencies: 6
inputs: visual artwork
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <takes_place_in_fictional_universe> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "fictional universe" . ?e_2 <from_fictional_universe> ?e_1 . ?e_2 <pred:name> "Angel" . ?e_2 <from_fictional_universe> ?e_3 . ?e_3 <pred:name> "Buffyverse" .   }
Answer: Buffy the Vampire Slayer