Question: How many geographic regions are located on Earth (whose argument of periapsis is 114.20783 degrees) or are located in or next to Pacific Ocean?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" .  { ?e <located_on_astronomical_location> ?e_1 . ?e_1 <pred:name> "Earth" . ?e_1 <argument_of_periapsis> ?pv . ?pv <pred:unit> "degree" . ?pv <pred:value> "114.20783"^^xsd:double .  } UNION { ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Pacific Ocean" .  } }
Program:
function: Find
inputs: Earth
function: FilterNum
dependencies: 0
inputs: argument of periapsis
114.20783 degree
=
function: Relate
dependencies: 1
inputs: located on astronomical location
backward
function: FilterConcept
dependencies: 2
inputs: geographic region
function: Find
inputs: Pacific Ocean
function: Relate
dependencies: 4
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 5
inputs: geographic region
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 7