Question: Which has a greater argument of periapsis, Venus (whose longitude of ascending node is 76.67984255 degrees) or Mars (whose argument of periapsis is 336.05637041 degrees)?
Choices:
Dave Navarro
Venus
Michael Imperioli
Mars
National School of Drama
Almost Famous
Cologne
Lund
Earth
Apache County
Answer: Mars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Venus" . ?e <longitude_of_ascending_node> ?pv_1 . ?pv_1 <pred:unit> "degree" . ?pv_1 <pred:value> "76.67984255"^^xsd:double . } UNION { ?e <pred:name> "Mars" . ?e <argument_of_periapsis> ?pv_2 . ?pv_2 <pred:unit> "degree" . ?pv_2 <pred:value> "336.05637041"^^xsd:double . } ?e <argument_of_periapsis> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Venus
function: FilterNum
dependencies: 0
inputs: longitude of ascending node
76.67984255 degree
=
function: Find
inputs: Mars
function: FilterNum
dependencies: 2
inputs: argument of periapsis
336.05637041 degree
=
function: SelectBetween
dependencies: 1
3
inputs: argument of periapsis
greater