Question: Which is longer, Mean Girls or Alexander whose exploitation visa number is 108725?
Choices:
Training Day
Curse of the Golden Flower
A Prairie Home Companion
Alexander
The Fifth Element
Rebecca
Mean Girls
The Towering Inferno
Pleasantville
Talk to Her
Program:
function: Find
inputs: Mean Girls
function: Find
inputs: Alexander
function: FilterStr
dependencies: 1
inputs: exploitation visa number
108725
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mean Girls" . } UNION { ?e <pred:name> "Alexander" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "108725" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Alexander