Handling markup overlaps using OWL