Question: Which has a greater height, Gertrude Stein (whose inception time is 1906-01-01) or Mona Lisa (that is owned by France)?
Choices:
sailing
Canadian dollar
Tunisia
Mona Lisa
Melancholia
I.R.S. Records
Gertrude Stein
Democratic Republic of the Congo
Roger Moore
Heather Graham
Program:
function: Find
inputs: Gertrude Stein
function: FilterDate
dependencies: 0
inputs: inception
1906-01-01
=
function: Find
inputs: France
function: Relate
dependencies: 2
inputs: owner of
forward
function: Find
inputs: Mona Lisa
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gertrude Stein" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1906-01-01"^^xsd:date . } UNION { ?e <pred:name> "Mona Lisa" . ?e_1 <owner_of> ?e . ?e_1 <pred:name> "France" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Gertrude Stein