Question: How many science fiction stories are there whose IAB code is 652 or subreddit is steampunk?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "science fiction" .  { ?e <IAB_code> ?pv . ?pv <pred:value> "652" .  } UNION { ?e <subreddit> ?pv . ?pv <pred:value> "steampunk" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IAB code
652
function: FilterConcept
dependencies: 1
inputs: science fiction
function: FindAll
function: FilterStr
dependencies: 3
inputs: subreddit
steampunk
function: FilterConcept
dependencies: 4
inputs: science fiction
function: Or
dependencies: 2
5
function: Count
dependencies: 6