Question: How many superheroes are different from Darwin (whose birth name is Armondo Munoz) or are from DC Universe?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "superhero" .  { ?e <different_from> ?e_1 . ?e_1 <pred:name> "Darwin" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Armondo Munoz" .  } UNION { ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> "DC Universe" .  } }
Program:
function: Find
inputs: Darwin
function: FilterStr
dependencies: 0
inputs: birth name
Armondo Munoz
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: superhero
function: Find
inputs: DC Universe
function: Relate
dependencies: 4
inputs: from fictional universe
backward
function: FilterConcept
dependencies: 5
inputs: superhero
function: Or
dependencies: 3
6
function: Count
dependencies: 7