Question: What is the relation between Peter Weir who born on 21.11.1968 to barrister?
Choices: make-up artist
country of citizenship
occupation
librettist
replaced by
chief executive officer
film release region
architect
lifestyle
sports season of league or competition
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Weir" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1968-11-21"^^xsd:date . ?e_2 <pred:name> "barrister" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peter Weir
function: FilterDate
dependencies: 0
inputs: date of birth
1968-11-21
=
function: Find
inputs: barrister
function: QueryRelation
dependencies: 1
2
Answer: occupation