Turn values of owl:unionOf and owl:intersectionOf into sets