Question: How many novels have the last line He was soon borne away by the waves, and lost in darkness and distance. and contains Frankenstein's monster?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "novel" . ?e <last_line> ?pv . ?pv <pred:value> "He was soon borne away by the waves, and lost in darkness and distance." . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Frankenstein's monster" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: last line
He was soon borne away by the waves, and lost in darkness and distance.
function: FilterConcept
dependencies: 1
inputs: novel
function: Find
inputs: Frankenstein's monster
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: novel
function: And
dependencies: 2
5
function: Count
dependencies: 6