Question: How many port cities have the WOEID 1132447 or are the headquarters location of RCD Espanyol B?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" .  { ?e <WOEID> ?pv . ?pv <pred:value> "1132447" .  } UNION { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "RCD Espanyol B" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
1132447
function: FilterConcept
dependencies: 1
inputs: port city
function: Find
inputs: RCD Espanyol B
function: Relate
dependencies: 3
inputs: headquarters location
forward
function: FilterConcept
dependencies: 4
inputs: port city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2