Question: How many natural languages have a GOST 7.75–97 code of пер 535 or are the language used by The Road (which was nominated for a Locus Award for Best Science Fiction Novel)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GOST 7.75–97 code
пер 535
function: FilterConcept
dependencies: 1
inputs: natural language
function: Find
inputs: Locus Award for Best Science Fiction Novel
function: Relate
dependencies: 3
inputs: nominated for
backward
function: Find
inputs: The Road
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: language of work or name
forward
function: FilterConcept
dependencies: 7
inputs: natural language
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "natural language" .  { ?e <GOST_7.75–97_code> ?pv . ?pv <pred:value> "пер 535" .  } UNION { ?e_1 <language_of_work_or_name> ?e . ?e_1 <pred:name> "The Road" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Locus Award for Best Science Fiction Novel" .  } }
Answer: 2