Question: How many superheroes are the main subject of Stargate and birth-named Kal-El ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Stargate
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: superhero
function: FindAll
function: FilterStr
dependencies: 3
inputs: birth name
Kal-El
function: FilterConcept
dependencies: 4
inputs: superhero
function: And
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_1 <main_subject> ?e . ?e_1 <pred:name> "Stargate" .  ?e <birth_name> ?pv . ?pv <pred:value> "Kal-El" .  }
Answer: 0