Index relationships between ontology nodes.