Question: Does John Carter (the one that is a member of San Jose Sharks) weigh less than 170 pounds?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "John Carter" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "San Jose Sharks" .  ?e <mass> ?pv . ?pv <pred:unit> "pound" . ?pv <pred:value> ?v . FILTER ( ?v != "170"^^xsd:double ) .  }
Program:
function: Find
inputs: San Jose Sharks
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Carter
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: mass
function: VerifyNum
dependencies: 4
inputs: 170 pound
!=
Answer: yes