Skip to Main content Skip to Navigation
Conference papers

Learning Schemas for Unordered XML

Radu Ciucanu 1, 2, * Slawomir Staworko 1, 2 
* Corresponding author
1 LINKS - Linking Dynamic Data
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : We consider unordered XML, where the relative order among siblings is ignored, and we investigate the problem of learning schemas from examples given by the user. We focus on disjunctive multiplicity schemas (DMS) and its restriction, disjunction-free multiplicity schemas (MS). A learning algorithm takes as input a set of XML documents which must satisfy the schema (i.e., positive examples) and a set of XML documents which must not satisfy the schema (i.e., negative examples), and returns a schema consistent with the examples. We investigate a learning framework inspired by Gold, where a learning algorithm should be sound i.e., always return a schema consistent with the examples given by the user, and complete i.e., able to produce every schema with a sufficiently rich set of examples. Additionally, the algorithm should be efficient i.e., polynomial in the size of the input. We prove that the DMS are learnable from positive examples only, but they are not learnable when we also allow negative examples. Moreover, we show that the MS are learnable in the presence of positive examples only, and also in the presence of both positive and negative examples. Furthermore, for the learnable cases, the proposed learning algorithms return minimal schemas consistent with the examples.
Document type :
Conference papers
Complete list of metadata

Cited literature [26 references]  Display  Hide  Download
Contributor : Radu Ciucanu Connect in order to contact the contributor
Submitted on : Thursday, May 7, 2015 - 5:16:35 PM
Last modification on : Wednesday, April 6, 2022 - 3:48:40 PM
Long-term archiving on: : Wednesday, April 19, 2017 - 7:27:53 PM


Files produced by the author(s)


  • HAL Id : hal-00846809, version 1
  • ARXIV : 1307.6348


Radu Ciucanu, Slawomir Staworko. Learning Schemas for Unordered XML. 14th International Symposium on Database Programming Languages (DBPL), Aug 2013, Riva del Garda, Trento, Italy. ⟨hal-00846809⟩



Record views


Files downloads