Question: What is the name of the province of China that shares border with Hebei and whose population is less than 5000000000 in 2014?
Choices:
Guangdong
Fujian
Henan
Shaanxi
Beijing
Shandong
Shanxi
Hubei
Jiangsu
Anhui
Answer: Shanxi
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Hebei" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5000000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2014 .  }
Program:
function: Find
inputs: Hebei
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: province of China
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
5000000000
<
function: QFilterYear
dependencies: 4
inputs: point in time
2014
=
function: FilterConcept
dependencies: 5
inputs: province of China
function: And
dependencies: 2
6
function: What
dependencies: 7