“…The presence of a schema for XML documents has many advantages, such as for query processing and optimization, development of database applications, data integration and exchange [15,42,34,18]. However, many XML documents in practice are not accompanied by a (valid) schema [3,37,36,6,41,25], making schema inference an attractive research problem [2,5,7,17,22,43,13,30,32]. Studying schema inference also has several practical motivations.…”