def configure_relation(graph, ns, mappings):
    """
    Register relation endpoint(s) between two resources.

    """
    convention = RelationConvention(graph)
    convention.configure(ns, mappings)