Question: How many fictional people hail from the Buffy-universe or are professional pundits?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional human" .  { ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> "Buffyverse" .  } UNION { ?e <occupation> ?e_1 . ?e_1 <pred:name> "pundit" .  } }
Program:
function: Find
inputs: Buffyverse
function: Relate
dependencies: 0
inputs: from fictional universe
backward
function: FilterConcept
dependencies: 1
inputs: fictional human
function: Find
inputs: pundit
function: Relate
dependencies: 3
inputs: occupation
backward
function: FilterConcept
dependencies: 4
inputs: fictional human
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2