Question: What is the association between Shrek (who has 3 children) and Shrek the Third (under the title Shrek the Third)?
Choices:
general manager
present in work
main subject
item operated
producer
professional or sports partner
presenter
fabrication method
native language
medical condition
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 the Third" . ?e_2 <title> ?pv_1 . ?pv_1 <pred:value> "Shrek the Third" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shrek
function: FilterNum
dependencies: 0
inputs: number of children
3
=
function: Find
inputs: Shrek the Third
function: FilterStr
dependencies: 2
inputs: title
Shrek the Third
function: QueryRelation
dependencies: 1
3