Question: What is the foundation time of a political party headquartered in Vancouver (the one whose Twitter username is CityofVancouver) ?
Choices:
1857-12-02
1836
1868-04-11
1854-03-20
1972-05-22
1826-01-07
1654
1903-01-01
1905-06-09
1976-07-02
Answer: 1903-01-01
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Vancouver" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "CityofVancouver" . ?e <inception> ?pv .  }
Program:
function: Find
inputs: Vancouver
function: FilterStr
dependencies: 0
inputs: Twitter username
CityofVancouver
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: political party
function: QueryAttr
dependencies: 3
inputs: inception