Schema Navigation using RQL
Iterate over the subclasses of class Artist
select $X from Artist{:$X} or
select X from subclassof(Artist){X}
Find the ranges of the property exhibited which can be reached from a class in the range of property creates
select $Y, $Z from creates{:$Y}.exhibited{:$Z}
Find the properties that can be reached from a range class of property creates, as well as, their respective ranges
select * from creates{:$Y}.@P{:$$Z} or
from Class{Y}, (Class union Literal){Z}, creates{:Y}.@P{:Z}