Question: How many medals' inception time is before 1932 or discipline is bass (the one that is the voice type of Roger Waters)?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medal" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1932 ) .  } UNION { ?e <award_disciplines_or_subjects> ?e_1 . ?e_1 <pred:name> "bass" . ?e_2 <voice_type> ?e_1 . ?e_2 <pred:name> "Roger Waters" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1932
<
function: FilterConcept
dependencies: 1
inputs: medal
function: Find
inputs: Roger Waters
function: Relate
dependencies: 3
inputs: voice type
forward
function: Find
inputs: bass
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: award disciplines or subjects
backward
function: FilterConcept
dependencies: 7
inputs: medal
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 5