<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_alias(graph, ns, mappings):
 """ Register Alias endpoints for a resource object. """

    convention = AliasConvention(graph)
    convention.configure(ns, mappings)