Question: How many conservatories are there whose beginning date is not in 1845 or name is ЛГК for short?
Choices: 7
8
9
10
11
12
13
14
15
16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "conservatory" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1845 ) .  } UNION { ?e <short_name> ?pv . ?pv <pred:value> "ЛГК" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1845
!=
function: FilterConcept
dependencies: 1
inputs: conservatory
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
ЛГК
function: FilterConcept
dependencies: 4
inputs: conservatory
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 11