Question: Is the person distinct from the Richard Thompson born on 1949-04-03 shorter than 75 inches ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Richard Thompson" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1949-04-03"^^xsd:date . ?e <height> ?pv . ?pv <pred:unit> "inch" . ?pv <pred:value> ?v . FILTER ( ?v < "75"^^xsd:double ) .  }
Program:
function: Find
inputs: Richard Thompson
function: FilterDate
dependencies: 0
inputs: date of birth
1949-04-03
=
function: Relate
dependencies: 1
inputs: different from
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: height
function: VerifyNum
dependencies: 4
inputs: 75 inch
<