...
【24h】

SWI-Prolog and the web

机译:SWI-Prolog和网络

获取原文
获取原文并翻译 | 示例
           

摘要

Prolog is an excellent tool for representing and manipulating data written in formal languages as well as natural language. Its safe semantics and automatic memory management make it a prime candidate for programming robust Web services. Although 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 article 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. The benefits of using Prolog for Web-related tasks are illustrated using three case studies.
机译:Prolog是用于表示和处理以正式语言以及自然语言编写的数据的出色工具。它的安全语义和自动内存管理使其成为编程强大的Web服务的主要选择。尽管通常将Prolog视为嵌入或使用专有协议进行通信的Web应用程序中的组件,但我们提出了一种体系结构,其中Prolog使用标准HTTP协议与Web应用程序中的其他组件进行通信。通过避免嵌入外部Web服务器,开发和部署变得更加容易。为了支持此体系结构,除了传输协议之外,我们还必须支持解析,表示和生成关键的Web文档类型,例如HTML,XML和RDF。本文激发了Prolog库和扩展中用于处理Web文档和协议的设计决策。该设计以有效处理大型文档的要求为指导。所描述的库支持从HTML和XML文档到语义Web RDF处理的各种Web应用程序。通过三个案例研究说明了将Prolog用于与Web相关的任务的好处。

著录项

  • 来源
    《Theory and Practice of Logic Programming》 |2008年第3期|363-392|共30页
  • 作者单位

    Human-Computer Studies Laboratory, University of Amsterdam, Matrix I, Kruislaan 419, 1098 VA, Amsterdam, The Netherlands;

    Computer Science Department, Vrije University Amsterdam, De Boelelaan 1081a, 1081 HV, Amsterdam, The Netherlands;

    Computer Science Department, Vrije University Amsterdam, De Boelelaan 1081a, 1081 HV, Amsterdam, The Netherlands;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    prolog; HTTP; HTML; XML; RDF; DOM; semantic web;

    机译:前言HTTP;HTML;XML;RDF;DOM;语义网;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号