Question: What is the Snapchat username for the person who is the partner of Selena Gomez until the ending date in 2008?
Choices:
thenytimes
cityoftampa
usouthflorida
patriots
ryanseacrest
rihanna
shirazlb
jicknonas
ffksnap
henrychurches
Answer: jicknonas
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <partner> ?e . ?e_1 <pred:name> "Selena Gomez" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <partner> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2008 . ?e <Snapchat_username> ?pv .  }
Program:
function: Find
inputs: Selena Gomez
function: Relate
dependencies: 0
inputs: partner
forward
function: QFilterYear
dependencies: 1
inputs: end time
2008
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: Snapchat username