Question: What is the relation from Antarctica to Earth?
Choices:
update method
commander of
interested in
parent club
enclave within
cast member
shares border with
part of
family
location of formation
Answer: part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Antarctica" . ?e_3 <continent> ?e_1 . ?e_3 <pred:name> "British Empire" . ?e_2 <pred:name> "Earth" . ?e_2 <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "291000000"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: British Empire
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Antarctica
function: And
dependencies: 1
2
function: Find
inputs: Earth
function: FilterNum
dependencies: 4
inputs: number of out-of-school children
291000000
=
function: QueryRelation
dependencies: 3
5