Question: How many genres of literature are shortened as ужасы or classified by Dewey Decimal Classification as 398.21?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" .  { ?e <short_name> ?pv . ?pv <pred:value> "ужасы" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "398.21" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
ужасы
function: FilterConcept
dependencies: 1
inputs: literary genre
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
398.21
function: FilterConcept
dependencies: 4
inputs: literary genre
function: Or
dependencies: 2
5
function: Count
dependencies: 6