Skip to content

SWI-Prolog and the Web

by Jan Wielemaker, Zhisheng Huang, Lourens Van Der Meij
Theory and Practice of Logic Programming ()
Get full text at journal


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)

Author-supplied keywords

Cite this document (BETA)

Authors on Mendeley

Readership Statistics

29 Readers on Mendeley
by Discipline
83% Computer Science
7% Agricultural and Biological Sciences
3% Pharmacology, Toxicology and Pharmaceutical Science
by Academic Status
34% Student > Ph. D. Student
21% Researcher
10% Other
by Country
17% Netherlands
7% United States
3% Germany

Sign up today - FREE

Mendeley saves you time finding and organizing research. Learn more

  • All your research in one place
  • Add and import papers easily
  • Access it anywhere, anytime

Start using Mendeley in seconds!

Sign up & Download

Already have an account? Sign in