Question: How is the Bradley Cooper born on 1957-06-30 connected to the Bahamas that belongs to the Commonwealth of Nations?
Choices:
partially contains
lyrics by
manufacturer
candidacy in election
film crew member
source of income
airline alliance
country of citizenship
office held by head of state
notable work
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bradley Cooper" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1957-06-30"^^xsd:date . ?e_2 <pred:name> "Bahamas" . ?e_2 <member_of> ?e_3 . ?e_3 <pred:name> "Commonwealth of Nations" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bradley Cooper
function: FilterDate
dependencies: 0
inputs: date of birth
1957-06-30
=
function: Find
inputs: Commonwealth of Nations
function: Relate
dependencies: 2
inputs: member of
backward
function: Find
inputs: Bahamas
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5