Question: How many award classes were established later than 1693 or have the native label Triju Zvaigžņu ordenis?
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> "class of award" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1693 ) .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Triju Zvaigžņu ordenis" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1693
>
function: FilterConcept
dependencies: 1
inputs: class of award
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Triju Zvaigžņu ordenis
function: FilterConcept
dependencies: 4
inputs: class of award
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 7