Question: How many science awards are won by Albert Einstein (whose pronunciation audio is De-Albert Einstein-Pronuciation.ogg) or are conferred by the Royal Society?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "science award" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Albert Einstein" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> "De-Albert Einstein-Pronuciation.ogg" .  } UNION { ?e <conferred_by> ?e_1 . ?e_1 <pred:name> "Royal Society" .  } }
Program:
function: Find
inputs: Albert Einstein
function: FilterStr
dependencies: 0
inputs: pronunciation audio
De-Albert Einstein-Pronuciation.ogg
function: Relate
dependencies: 1
inputs: winner
backward
function: FilterConcept
dependencies: 2
inputs: science award
function: Find
inputs: Royal Society
function: Relate
dependencies: 4
inputs: conferred by
backward
function: FilterConcept
dependencies: 5
inputs: science award
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 2