An approach for the discovery and validation of urban mobility patterns