Question: Is the number of annual weddings greater for Limburg (the one whose country is Belgium) or Antwerp (the one that is the twinned administrative body of Oslo)?
Choices:
Kent County
Delaware County
African Union
Washoe County
Limburg
Lee County
San Juan County
Cass County
Antwerp
Orange County
Answer: Limburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limburg" . ?e <country> ?e_1 . ?e_1 <pred:name> "Belgium" .   } UNION { ?e <pred:name> "Antwerp" . ?e <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Oslo" .  } ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Find
inputs: Oslo
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Antwerp
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: annual number of weddings
greater