Question: How many of the electronic dance music was from afrer 1991 or was from Europe?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic dance music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1991 ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Europe" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1991
>
function: FilterConcept
dependencies: 1
inputs: electronic dance music
function: Find
inputs: Europe
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: electronic dance music
function: Or
dependencies: 2
5
function: Count
dependencies: 6