Question: Is the title of the work deriving ou Only Live Twice (the one that mainly depicts terrorism) Four Weddings and a Funeral?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "You Only Live Twice" . ?e_1 <main_subject> ?e_2 . ?e_2 <pred:name> "terrorism" .  ?e <title> ?pv . ?pv <pred:value> "Four Weddings and a Funeral" .  }
Program:
function: Find
inputs: terrorism
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: You Only Live Twice
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: QueryAttr
dependencies: 5
inputs: title
function: VerifyStr
dependencies: 6
inputs: Four Weddings and a Funeral