[providers] Fix issue when loading cardinality information for relations

The cardinality information is read from a cardinality string, e.g. "?*".
There are two methods, getFromCardinality and getToCardinality to read the
cardinality for the subject and range/target, respectively, of the relation.
However the two methods were the same, both reading the first character.

In cardinality strings the first character correspond to the range/target of the
relation and the second to the subject/origin. Therefore, this changeset fixes
the getFromCardinality method to read its data from the second character of the
cardinality string.
4 jobs for topic/default/cardinality in 2 minutes and 31 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Deps
passed Deps #21505

00:01:42

 
  Test
passed CanBuild #21508

00:00:49

passed Format #21507

00:00:42

passed Lint #21506

00:00:47