Question: Which person born as Peter Dougan Capaldi is under 2.0 meters tall?
Choices:
Amy Adams
Jeff Gordon
Brad Pitt
Peter Capaldi
Sylvester Stallone
David Tennant
Richard Gere
Max Fleischer
William Henry Harrison
Toby Jones
Answer: Peter Capaldi
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv . ?pv <pred:value> "Peter Dougan Capaldi" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> ?v . FILTER ( ?v < "2.0"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Peter Dougan Capaldi
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterNum
dependencies: 3
inputs: height
2.0 metre
<
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6