Question: What is the number of learned societies that have the spoken text audio Hy-Լոնդոնի թագավորական ընկերություն (Royal Society).ogg or have a member named John Locke (who is educated at the University of Oxford)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "learned society" .  { ?e <spoken_text_audio> ?pv . ?pv <pred:value> "Hy-Լոնդոնի թագավորական ընկերություն (Royal Society).ogg" .  } UNION { ?e_1 <member_of> ?e . ?e_1 <pred:name> "John Locke" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "University of Oxford" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: spoken text audio
Hy-Լոնդոնի թագավորական ընկերություն (Royal Society).ogg
function: FilterConcept
dependencies: 1
inputs: learned society
function: Find
inputs: University of Oxford
function: Relate
dependencies: 3
inputs: educated at
backward
function: Find
inputs: John Locke
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: member of
forward
function: FilterConcept
dependencies: 7
inputs: learned society
function: Or
dependencies: 2
8
function: Count
dependencies: 9