A Semantic Framework for Adaptive Hypermedia Systems