Question: How many entities of music are associated with David Bowie (the one whose genre is rock music) or were created before 1993?
Choices:
128
129
130
131
132
133
134
135
136
137
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: David Bowie
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: movement
forward
function: FilterConcept
dependencies: 4
inputs: music
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1993
<
function: FilterConcept
dependencies: 7
inputs: music
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music" .  { ?e_1 <movement> ?e . ?e_1 <pred:name> "David Bowie" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "rock music" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) .  } }
Answer: 131