Theory and Practice of Logic Programming · 2008 · 21 citations · 21 references
ComputingComputer ScienceInformation TechnologyKnowledge RepresentationNatural Language ProcessingProgramming LanguagesData ModelingLogic ProgrammingQuery ProcessingRule-based RepresentationElectronic PublishingMain Memory OrganizationXml Data ModelsXml IndexingXml Query LanguagesXml Query ProcessingXpath
Abstract Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML. Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere. XPath language is the result of an effort to provide address parts of an XML document. In support of this primary purpose, it becomes in a query language against an XML document. In this paper we present a proposal for the implementation of the XPath language in logic programming. With this aim we will describe the representation of XML documents by means of a logic program . Rules and facts can be used for representing the document schema and the XML document itself. In particular, we will present how to index XML documents in logic programs: rules are supposed to be stored in main memory , however facts are stored in secondary memory by using two kind of indexes: one for each XML tag, and other for each group of terminal items. In addition, we will study how to query by means of the XPath language against a logic program representing an XML document. It evolves the specialization of the logic program with regard to the XPath expression. Finally, we will also explain how to combine the indexing and the top-down evaluation of the logic program.
21
Tim Berners‐Lee, James Hendler, Ora Lassila · Scientific American · 2001 · 8.5K citations
Storing and querying ordered XML using a relational database system
Igor Tatarinov, Stratis D. Viglas, Kevin Beyer et al. · 2002 · 2.3K citations
The Semantic Web: the roles of XML and RDF
Stefan Decker, Sergey Melnik, Frank van Harmelen et al. · IEEE Internet Computing · 2000 · 743 citations · Full text