def configure_relation ( graph , ns , mappings ) : convention = RelationConvention ( graph ) convention . configure ( ns , mappings )
how to make python generate relations
Register relation endpoint ( s ) between two resources .
def configure_relation(graph, ns, mappings):
    """
    Register relation endpoint(s) between two resources.

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