fix query selecting resources related via inheritedBy
adding owl test
inheritance of target value also works in sub mappings
Merge branch 'feature_inheritedBy'