Question: How many superheros either are based on Frankenstein's monster or live the lifestyle of a superhero?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Frankenstein's monster
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: superhero
function: Find
inputs: superhero
function: Relate
dependencies: 3
inputs: lifestyle
backward
function: FilterConcept
dependencies: 4
inputs: superhero
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "superhero" .  { ?e <based_on> ?e_1 . ?e_1 <pred:name> "Frankenstein's monster" .  } UNION { ?e <lifestyle> ?e_1 . ?e_1 <pred:name> "superhero" .  } }
Answer: 2