Question: How many performing art entities fall within the genre of Emma Stone or report 203 as their IAB code ?
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> "performing arts" .  { ?e <IAB_code> ?pv . ?pv <pred:value> "203" .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Emma Stone" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
203
function: FilterConcept
dependencies: 1
inputs: performing arts
function: Find
inputs: Emma Stone
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: performing arts
function: Or
dependencies: 2
5
function: Count
dependencies: 6