Question: How many mechanical waves include Dido (who was educated at Guildhall School of Music and Drama) in famous people or began outside of 1990?
Choices:
133
134
135
136
137
138
139
140
141
142
Answer: 138
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" .  { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Dido" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Guildhall School of Music and Drama" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1990 ) .  } }
Program:
function: Find
inputs: Guildhall School of Music and Drama
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Dido
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: mechanical wave
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1990
!=
function: FilterConcept
dependencies: 7
inputs: mechanical wave
function: Or
dependencies: 5
8
function: Count
dependencies: 9