Question: What is the number of communication media that have the title The Grapes of Wrath or the official name Assemblée législative de l'Ontario?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "communication medium" .  { ?e <title> ?pv . ?pv <pred:value> "The Grapes of Wrath" .  } UNION { ?e <official_name> ?pv . ?pv <pred:value> "Assemblée législative de l'Ontario" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Grapes of Wrath
function: FilterConcept
dependencies: 1
inputs: communication medium
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Assemblée législative de l'Ontario
function: FilterConcept
dependencies: 4
inputs: communication medium
function: Or
dependencies: 2
5
function: Count
dependencies: 6