Question: What is the connection between John Adams (the one whose date of birth is 1920-05-24) to Surrey (the one that shares border with Berkshire)?
Choices:
works in collection
mountain range
organizer
place of birth
parent organization
indigenous to
has dialect (DEPRECATED)
student
coextensive with
award received
Program:
function: Find
inputs: John Adams
function: FilterDate
dependencies: 0
inputs: date of birth
1920-05-24
=
function: Find
inputs: Berkshire
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Surrey
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1920-05-24"^^xsd:date . ?e_2 <pred:name> "Surrey" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Berkshire" . ?e_1 ?p ?e_2 .  }
Answer: place of birth