1. A method for generating a tuple of structured data files comprising: detecting an expression that describes a structure of a structured image; using an inference-rule based search strategy to identify a hierarchical arrangement of bounding boxes in the structured image that match the expression; and generating a first tuple of structured data files based on the identified hierarchical arrangement of bounding boxes in the structured image.