Question: How many male given names are different from Frankenstein (whose release region is Canada)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: male given name
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "male given name" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Frankenstein" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "Canada" .   }
Answer: 0