Question: What is the association between John Powell (whose date of birth is 1947-06-25) and San Francisco (whose population is 1000)?
Choices:
works in collection
material used
after a work by
place of birth
inspired by
affiliation
film release region
native language
highest judicial authority
occupant
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Powell" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1947-06-25"^^xsd:date . ?e_2 <pred:name> "San Francisco" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1000"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Powell
function: FilterDate
dependencies: 0
inputs: date of birth
1947-06-25
=
function: Find
inputs: San Francisco
function: FilterNum
dependencies: 2
inputs: population
1000
=
function: QueryRelation
dependencies: 1
3