Question: How is Edmonton Oilers related to John Hughes (whose mass is 200 pound)?
Choices:
child
member of sports team
producer
director/manager
kit supplier
narrative role
chairperson
composer
sibling
partner
Program:
function: Find
inputs: John Hughes
function: FilterNum
dependencies: 0
inputs: mass
200 pound
=
function: Find
inputs: Edmonton Oilers
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <mass> ?pv . ?pv <pred:unit> "pound" . ?pv <pred:value> "200"^^xsd:double . ?e_2 <pred:name> "Edmonton Oilers" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team