The consistency problem of content-based pictorial description in pictorial database systems