Question: I want to know the number of sounds that have an inception time of prior to 1981 or that are involved in bluegrass music.
Choices:
68
69
70
71
72
73
74
75
76
77
Answer: 74
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sound" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1981 ) .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> "bluegrass music" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1981
<
function: FilterConcept
dependencies: 1
inputs: sound
function: Find
inputs: bluegrass music
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: sound
function: Or
dependencies: 2
5
function: Count
dependencies: 6