Question: Which has greater orbital inclination, Earth whose demonym is Terrien or Mars whose video is Mars.ogv?
Choices:
Westminster School
Venus
bishop
Mars
East Tennessee State University
CBS
Celtic rock
City, University of London
Earth
Belarus
Program:
function: Find
inputs: Earth
function: FilterStr
dependencies: 0
inputs: demonym
Terrien
function: Find
inputs: Mars
function: FilterStr
dependencies: 2
inputs: video
Mars.ogv
function: SelectBetween
dependencies: 1
3
inputs: orbital inclination
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Terrien" . } UNION { ?e <pred:name> "Mars" . ?e <video> ?pv_2 . ?pv_2 <pred:value> "Mars.ogv" . } ?e <orbital_inclination> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Earth