extracts a data model