Question: I want to know the popular music that is part of any pop or that was incepted prior to 1988.
Choices:
79
80
81
82
83
84
85
86
87
88
Program:
function: Find
inputs: indie pop
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: popular music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1988
<
function: FilterConcept
dependencies: 4
inputs: popular music
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "indie pop" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1988 ) .  } }
Answer: 87