Question: Does the agent with a New Brunswick headquarter location (the one that is the birthplace of Heather O'Reilly), have its total equity less than 170000000000 United States dollars?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "New Brunswick" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Heather O'Reilly" .  ?e <total_equity> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v < "170000000000"^^xsd:double ) .  }
Program:
function: Find
inputs: Heather O'Reilly
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: New Brunswick
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: agent
function: QueryAttr
dependencies: 5
inputs: total equity
function: VerifyNum
dependencies: 6
inputs: 170000000000 United States dollar
<