Question: How many regions of Italy include Invercargill or Vienna (whose population is 1616125)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Invercargill
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: Find
inputs: Vienna
function: FilterNum
dependencies: 3
inputs: population
1616125
=
function: Relate
dependencies: 4
inputs: part of
forward
function: FilterConcept
dependencies: 5
inputs: region of Italy
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> "Invercargill" .  } UNION { ?e_1 <part_of> ?e . ?e_1 <pred:name> "Vienna" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1616125"^^xsd:double .  } }
Answer: 0