Refactor (DRY up) Concept#process_inline_relations using array semantics of relations association

Also, implement relation ranking in Relation#build_from_parsed_triples;
Allow passing an object and subject instance instead of the origin
in Relation#build_from_parsed_triples.