Question: How many sounds originate in Europe or have a creation date earlier than the year 1930?
Choices:
20
21
22
23
24
25
26
27
28
29
Answer: 26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sound" .  { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Europe" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1930 ) .  } }
Program:
function: Find
inputs: Europe
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: sound
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1930
<
function: FilterConcept
dependencies: 4
inputs: sound
function: Or
dependencies: 2
5
function: Count
dependencies: 6