Question: Which has greater longitude of ascending node, Venus whose synodic period is 583.92 days or Earth whose demonym is Earthling?
Choices:
Auburn
Freddie Mercury
Venus
Since You Went Away
Fredericton
David Grisman
Mars
Sheila E.
Jack Nitzsche
Earth
Program:
function: Find
inputs: Venus
function: FilterNum
dependencies: 0
inputs: synodic period
583.92 day
=
function: Find
inputs: Earth
function: FilterStr
dependencies: 2
inputs: demonym
Earthling
function: SelectBetween
dependencies: 1
3
inputs: longitude of ascending node
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Venus" . ?e <synodic_period> ?pv_1 . ?pv_1 <pred:unit> "day" . ?pv_1 <pred:value> "583.92"^^xsd:double . } UNION { ?e <pred:name> "Earth" . ?e <demonym> ?pv_2 . ?pv_2 <pred:value> "Earthling" . } ?e <longitude_of_ascending_node> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Earth