Question: How much metropolitan area is the terrain feature of New York City or is partially contained by Indiana?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" .  { ?e_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> "New York City" .  } UNION { ?e_1 <partially_contains> ?e . ?e_1 <pred:name> "Indiana" .  } }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 1
inputs: metropolitan area
function: Find
inputs: Indiana
function: Relate
dependencies: 3
inputs: partially contains
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: Or
dependencies: 2
5
function: Count
dependencies: 6