Relation analysis