Question: The television series that is shot in Wilmington (the one whose elevation above sea level is 9 meters) started before 2005?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Wilmington" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "9"^^xsd:double . ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }
Program:
function: Find
inputs: Wilmington
function: FilterNum
dependencies: 0
inputs: elevation above sea level
9 metre
=
function: Relate
dependencies: 1
inputs: filming location
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: start time
function: VerifyYear
dependencies: 4
inputs: 2005
<
Answer: yes