Question: How many literary genres either have the title Frankenstein or are classified as 813.54 in the Dewey Decimal Classification system?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" .  { ?e <title> ?pv . ?pv <pred:value> "Frankenstein" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "813.54" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Frankenstein
function: FilterConcept
dependencies: 1
inputs: literary genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
813.54
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6