If terms in a relation contain URIs, use the outermost URI instead of the term as relation values.
Added relation match task.
Sort index entries in analysis debug views as well.