Question: What is the connection between Shrek (the one whose children number is 3) to Shrek (the one whose release region is Chile)?
Choices:
symptoms
heritage designation
award received
present in work
mascot
country of origin
feast day
given name
religious order
production company
Answer: present in work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shrek" . ?e_1 <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double . ?e_2 <pred:name> "Shrek" . ?e_2 <film_release_region> ?e_3 . ?e_3 <pred:name> "Chile" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shrek
function: FilterNum
dependencies: 0
inputs: number of children
3
=
function: Find
inputs: Chile
function: Relate
dependencies: 2
inputs: film release region
backward
function: Find
inputs: Shrek
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5