Question: What male given name equals the given name of the person who is the composer of Sherlock Holmes (the one whose publication date is 1932-01-01)?
Choices:
Frederick
Hugo
Lawrence
August
Ray
Gary
Bobby
Paul
Alexander
Christian
Answer: Hugo
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "male given name" . ?e_1 <given_name> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> "Sherlock Holmes" . ?e_2 <publication_date> ?pv . ?pv <pred:date> "1932-01-01"^^xsd:date .   }
Program:
function: Find
inputs: Sherlock Holmes
function: FilterDate
dependencies: 0
inputs: publication date
1932-01-01
=
function: Relate
dependencies: 1
inputs: composer
forward
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: given name
forward
function: FilterConcept
dependencies: 4
inputs: male given name
function: What
dependencies: 5