Question: Tell me the one with the smallest mass within the person who inspires Pocahontas (the one who Naomi Campbell inspires)
Choices:
David Byrne
Sylvester Stallone
Kate Moss
William Henry Harrison
Naomi Campbell
Richard Gere
Max Fleischer
Simon Cowell
Rahul Dev Burman
James E. Reilly
Program:
function: Find
inputs: Naomi Campbell
function: Relate
dependencies: 0
inputs: inspired by
backward
function: Find
inputs: Pocahontas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: inspired by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: SelectAmong
dependencies: 5
inputs: mass
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <inspired_by> ?e . ?e_1 <pred:name> "Pocahontas" . ?e_1 <inspired_by> ?e_2 . ?e_2 <pred:name> "Naomi Campbell" .  ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kate Moss