Pengines: Web Logic Programming Made Easy
From MaRDI portal
Abstract: When developing a (web) interface for a deductive database, functionality required by the client is provided by means of HTTP handlers that wrap the logical data access predicates. These handlers are responsible for converting between client and server data representations and typically include options for paginating results. Designing the web accessible API is difficult because it is hard to predict the exact requirements of clients. Pengines changes this picture. The client provides a Prolog program that selects the required data by accessing the logical API of the server. The pengine infrastructure provides general mechanisms for converting Prolog data and handling Prolog non-determinism. The Pengines library is small (2000 lines Prolog, 150 lines JavaScript). It greatly simplifies defining an AJAX based client for a Prolog program and provides non-deterministic RPC between Prolog processes as well as interaction with Prolog engines similar to Paul Tarau's engines. Pengines are available as a standard package for SWI-Prolog 7.
Recommendations
Cited in
(8)- Using SWISH to realize interactive web-based tutorials for logic-based languages
- SWI-Prolog and the web
- Tableau reasoning for description logics and its extension to probabilities
- Lightweight compilation of (C)LP to JavaScript
- Logic programming as a service
- Pengines
- scientific article; zbMATH DE number 7453126 (Why is no real title available?)
- Advances in integrative statistics for logic programming
This page was built for publication: Pengines: Web Logic Programming Made Easy
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2931263)