Question: How many port cities whose demonym is برشلونية‎ and that is the filming location of House that origins from Poland?
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> "port city" . ?e <demonym> ?pv . ?pv <pred:value> "برشلونية‎" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "House" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "Poland" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
برشلونية‎
function: FilterConcept
dependencies: 1
inputs: port city
function: Find
inputs: Poland
function: Relate
dependencies: 3
inputs: country of origin
backward
function: Find
inputs: House
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: filming location
forward
function: FilterConcept
dependencies: 7
inputs: port city
function: And
dependencies: 2
8
function: Count
dependencies: 9