Question: How does Augustine of Hippo have a relation to St. Augustine, with a local 904 dialing code?
Choices:
mascot
main food source
named after
distributor
tributary
illustrator
capital of
cast member
legislative body
parent organization
Program:
function: Find
inputs: St. Augustine
function: FilterStr
dependencies: 0
inputs: local dialing code
904
function: Find
inputs: Augustine of Hippo
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St. Augustine" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "904" . ?e_2 <pred:name> "Augustine of Hippo" . ?e_1 ?p ?e_2 .  }
Answer: named after