Question: How is Scottish American Andrew Jackson related to Jackson whose Caverphone is YKSN11?
Choices:
convicted of
archives at
territory overlaps
soundtrack album
programming language
mouth of the watercourse
territory claimed by
member of political party
chairperson
family name
Answer: family name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andrew Jackson" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Scottish American" . ?e_2 <pred:name> "Jackson" . ?e_2 <Caverphone> ?pv . ?pv <pred:value> "YKSN11" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Scottish American
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 1
2
function: Find
inputs: Jackson
function: FilterStr
dependencies: 4
inputs: Caverphone
YKSN11
function: QueryRelation
dependencies: 3
5