Question: How is Tom Brady born on 1892-05-01 related to Australia which is headed by a monarch?
Choices:
use
enclave within
famous people
commander of
located in the administrative territorial entity
nominated for
industry
terminus
country of citizenship
twinned administrative body
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Brady" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1892-05-01"^^xsd:date . ?e_2 <pred:name> "Australia" . ?e_2 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "monarch" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tom Brady
function: FilterDate
dependencies: 0
inputs: date of birth
1892-05-01
=
function: Find
inputs: monarch
function: Relate
dependencies: 2
inputs: office held by head of government
backward
function: Find
inputs: Australia
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5