Question: What is the relationship between Gary Summers and Gary (the given name of Gary Summers)?
Choices:
replaces
relative
given name
voice type
contributor(s) to the creative work
has edition
maintained by
main food source
narrative location
chairperson
Program:
function: Find
inputs: Gary Summers
function: Find
inputs: Gary Summers
function: Relate
dependencies: 1
inputs: given name
forward
function: Find
inputs: Gary
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gary Summers" . ?e_2 <pred:name> "Gary" . ?e_3 <given_name> ?e_2 . ?e_3 <pred:name> "Gary Summers" . ?e_1 ?p ?e_2 .  }
Answer: given name