Question: HGow many pieces of electronic music were created before 2005 or are famous via Outkast ?
Choices:
19
20
21
22
23
24
25
26
27
28
Answer: 26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "electronic music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Outkast" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
2005
<
function: FilterConcept
dependencies: 1
inputs: electronic music
function: Find
inputs: Outkast
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: electronic music
function: Or
dependencies: 2
5
function: Count
dependencies: 6