Question: When was the founding of the record label headquartered in Durham, population 6679?
Choices:
1931-01-01
1964-02-01
780
1440
1997-05-15
1854-03-20
1989
1873-11-17
1894-11-20
1961-01-01
Answer: 1989
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Durham" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "6679"^^xsd:double . ?e <inception> ?pv .  }
Program:
function: Find
inputs: Durham
function: FilterNum
dependencies: 0
inputs: population
6679
=
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: record label
function: QueryAttr
dependencies: 3
inputs: inception