Question: How many novels have Dewey Decimal number 813.3 or include Frankenstein's monster?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "novel" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "813.3" .  } UNION { ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Frankenstein's monster" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
813.3
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: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2