Question: Is the population of Hollywood (the one that is the death place of D. W. Griffith) greater than 5100 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Hollywood" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "D. W. Griffith" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5100"^^xsd:double ) .  }
Program:
function: Find
inputs: D. W. Griffith
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Hollywood
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: population
function: VerifyNum
dependencies: 4
inputs: 5100
>