Question: What is the number of superheroes that are Greek citizens or whose name in native language is Rogue.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "superhero" .  { ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Greece" .  } UNION { ?e <name_in_native_language> ?pv . ?pv <pred:value> "Rogue" .  } }
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: FilterConcept
dependencies: 1
inputs: superhero
function: FindAll
function: FilterStr
dependencies: 3
inputs: name in native language
Rogue
function: FilterConcept
dependencies: 4
inputs: superhero
function: Or
dependencies: 2
5
function: Count
dependencies: 6