Question: How is the James Brown born on 1868-01-01 related to Birmingham, headquarters of U.S. Gold?
Choices:
studied by
present in work
interested in
draft pick from school
located on terrain feature
political ideology
rector
place of birth
set in period
cites
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1868-01-01"^^xsd:date . ?e_2 <pred:name> "Birmingham" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "U.S. Gold" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: James Brown
function: FilterDate
dependencies: 0
inputs: date of birth
1868-01-01
=
function: Find
inputs: U.S. Gold
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: Find
inputs: Birmingham
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5