Question: Is the population of the New Jersey city that is the capital of Union County (whose official website is http://www.ucnj.org) less than 50 on 2010-01-01?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Union County" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ucnj.org" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "50"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2010-01-01"^^xsd:date .  }
Program:
function: Find
inputs: Union County
function: FilterStr
dependencies: 0
inputs: official website
http://www.ucnj.org
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city in New Jersey
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2010-01-01
function: VerifyNum
dependencies: 4
inputs: 50
<