A semantic approach to driving behavior analysis