Question: How many superheroes differ from a fictional profession whose narrative role is superhero ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "superhero" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "fictional profession" . ?e_1 <narrative_role> ?e_3 . ?e_3 <pred:name> "superhero" .   }
Program:
function: Find
inputs: superhero
function: Relate
dependencies: 0
inputs: narrative role
backward
function: FilterConcept
dependencies: 1
inputs: fictional profession
function: Relate
dependencies: 2
inputs: different from
forward
function: FilterConcept
dependencies: 3
inputs: superhero
function: Count
dependencies: 4