Question: What is the link between Johnny Mercer (whose date of birth is 1981-08-17) and politician?
Choices:
vehicle normally used
nutrient
color
published in
based on
occupation
location of final assembly
located on terrain feature
original network
editor
Program:
function: Find
inputs: Johnny Mercer
function: FilterDate
dependencies: 0
inputs: date of birth
1981-08-17
=
function: Find
inputs: politician
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnny Mercer" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1981-08-17"^^xsd:date . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation