Question: Regarding a person who wrote the lyrics for Boys Don't Cry (the one whose publication date is 1979-06-15, when did his or her career begin ?
Choices:
1913
1933
1932
1967
1930
1978
1927
1949
1976
1782
Answer: 1976
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <lyrics_by> ?e . ?e_1 <pred:name> "Boys Don't Cry" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1979-06-15"^^xsd:date . ?e <work_period_(start)> ?pv .  }
Program:
function: Find
inputs: Boys Don't Cry
function: FilterDate
dependencies: 0
inputs: publication date
1979-06-15
=
function: Relate
dependencies: 1
inputs: lyrics by
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: work period (start)