Question: What is the connection between Robert Smith (the one whose date of birth is 1858-12-07) to judge?
Choices:
edition or translation of
dialect of
kit supplier
instrument
film regional debut venue
model item
exported to
occupation
director
located in or next to body of water
Program:
function: Find
inputs: Robert Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1858-12-07
=
function: Find
inputs: judge
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1858-12-07"^^xsd:date . ?e_2 <pred:name> "judge" . ?e_1 ?p ?e_2 .  }
Answer: occupation