Optimize compaction by not using value compaction in term rank calculation anymore
Optimize compaction by not using value compaction in term rank calculation anymore

Instead of checking the return type of value compaction in term rank calculation (object or not?), it is now just checked whether the type and language definitions match. Furthermore, terms with a mismatching type or language definition are not chosen anymore.

conjecto/JsonLD,cKlee/JsonLD,lanthaler/JsonLD