2007/11/06 by Jan Wielemaker, Wielemaker, Jan, Zhisheng Huang +3
Computer Science · #FOS: Computer and information sciences #Logic, Reasoning, and Knowledge #Programming Languages (cs.PL) #Semantic Web and Ontologies #Service-Oriented Architecture and Web Services #Symbolic Computation (cs.SC) #cs.PL #cs.SC
paper · pdf · doi:10.48550/arxiv.0711.0917
31 pages, 24 figures and 2 tables. To appear in Theory and Practice of Logic Programming (TPLP)
arxiv created 2007/11/06 · openalex publication_date 2007/11/06 · arxiv updated 2009/12/01 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
Where Prolog is commonly seen as a component in a Web application that is either embedded or communicates using a proprietary protocol, we propose an architecture where Prolog communicates to other components in a Web application using the standard HTTP protocol. By avoiding embedding in external Web servers development and deployment become much easier. To support this architecture, in addition to the transfer protocol, we must also support parsing, representing and generating the key Web document types such as HTML, XML and RDF. This paper motivates the design decisions in the libraries and extensions to Prolog for handling Web documents and protocols. The design has been guided by the requirement to handle large documents efficiently. The described libraries support a wide range of Web applications ranging from HTML and XML documents to Semantic Web RDF processing. To appear in Theory and Practice of Logic Programming (TPLP)