Question: What is the relationship between Viola Davis and Hope Davis?
Choices:
had as last meal
has immediate cause
country of origin
twinned administrative body
head coach
risk factor
programming paradigm
located on astronomical location
family name
main subject
Program:
function: Find
inputs: Viola Davis
function: Find
inputs: Hope Davis
function: Relate
dependencies: 1
inputs: family name
forward
function: Find
inputs: Davis
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Viola Davis" . ?e_2 <pred:name> "Davis" . ?e_3 <family_name> ?e_2 . ?e_3 <pred:name> "Hope Davis" . ?e_1 ?p ?e_2 .  }
Answer: family name