Question: How many independent cities of Germany are the working location of the person who was nominated for an Independent Spirit Award for Best Male Lead involving the award-winning work Blue Velvet?
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> "independent city of Germany" . ?e_1 <work_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Independent Spirit Award for Best Male Lead" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv . ?qpv <pred:value> "Blue Velvet" .   }
Program:
function: Find
inputs: Independent Spirit Award for Best Male Lead
function: Relate
dependencies: 0
inputs: nominated for
backward
function: QFilterStr
dependencies: 1
inputs: for work
Blue Velvet
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: independent city of Germany
function: Count
dependencies: 5