Question: How many capitals include Lower Hutt and were the location for the 1968 Summer Olympics?
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> "capital" . ?e_1 <part_of> ?e . ?e_1 <pred:name> "Lower Hutt" .  ?e_2 <location> ?e . ?e_2 <pred:name> "1968 Summer Olympics" .  }
Program:
function: Find
inputs: Lower Hutt
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: capital
function: Find
inputs: 1968 Summer Olympics
function: Relate
dependencies: 3
inputs: location
forward
function: FilterConcept
dependencies: 4
inputs: capital
function: And
dependencies: 2
5
function: Count
dependencies: 6