Question: How is John Bailey, who was born on 1931-01-01, related to the category of guitarist?
Choices:
given name
cause of death
coextensive with
occupation
sports season of league or competition
sex or gender
Wikidata property
interested in
commissioned by
is a list of
Program:
function: Find
inputs: John Bailey
function: FilterDate
dependencies: 0
inputs: date of birth
1931-01-01
=
function: Find
inputs: guitarist
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Bailey" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1931-01-01"^^xsd:date . ?e_2 <pred:name> "guitarist" . ?e_1 ?p ?e_2 .  }
Answer: occupation