Question: What is the relationship between Lincoln (the one that is headed by mayor) and Abraham Lincoln (the one whose Regensburg Classification identifier is HT 5960)?
Choices:
significant event
named after
hair color
set in period
programming language
developer
manufacturer
field of work
does not have part
residence
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Lincoln
function: And
dependencies: 1
2
function: Find
inputs: Abraham Lincoln
function: FilterStr
dependencies: 4
inputs: Regensburg Classification
HT 5960
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lincoln" . ?e_1 <office_held_by_head_of_government> ?e_3 . ?e_3 <pred:name> "mayor" . ?e_2 <pred:name> "Abraham Lincoln" . ?e_2 <Regensburg_Classification> ?pv . ?pv <pred:value> "HT 5960" . ?e_1 ?p ?e_2 .  }
Answer: named after