Question: What is the number of landforms that share a border with Green Bay (the one that is the origin of the name Green Bay Packers) or that is Russians country
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" .  { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Green Bay" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "Green Bay Packers" .  } UNION { ?e_1 <country> ?e . ?e_1 <pred:name> "Russians" .  } }
Program:
function: Find
inputs: Green Bay Packers
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Green Bay
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: landform
function: Find
inputs: Russians
function: Relate
dependencies: 6
inputs: country
forward
function: FilterConcept
dependencies: 7
inputs: landform
function: Or
dependencies: 5
8
function: Count
dependencies: 9