Question: Does the inner planet that is the narrative location of John Carter (the one whose cost is 250000000 United States dollar), have a mass less than 190 grams per mole?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "inner planet" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "John Carter" . ?e_1 <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "250000000"^^xsd:double . ?e <mass> ?pv . ?pv <pred:unit> "gram per mole" . ?pv <pred:value> ?v . FILTER ( ?v < "190"^^xsd:double ) .  }
Program:
function: Find
inputs: John Carter
function: FilterNum
dependencies: 0
inputs: cost
250000000 United States dollar
=
function: Relate
dependencies: 1
inputs: narrative location
forward
function: FilterConcept
dependencies: 2
inputs: inner planet
function: QueryAttr
dependencies: 3
inputs: mass
function: VerifyNum
dependencies: 4
inputs: 190 gram per mole
<