Question: What is the connection between Walter Scott (the one whose date of birth is 1771-08-15) to freemasonry?
Choices:
production company
sponsor
diplomatic relation
member of
exclave of
doctoral student
characters
color
office held by head of state
main food source
Answer: member of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Walter Scott" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1771-08-15"^^xsd:date . ?e_2 <pred:name> "freemasonry" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Walter Scott
function: FilterDate
dependencies: 0
inputs: date of birth
1771-08-15
=
function: Find
inputs: freemasonry
function: QueryRelation
dependencies: 1
2