attributed key detection from examples