Workshop: Logic Programming and the Web
Anton Eliëns, eliens@cs.vu.nl, Vrije Universiteit. Amsterdam
Workshop Proceedings
Abstract
Logic programming has proven its merits in a variety of
application areas including diagnostic expert systems, natural language
processing and agent-based control systems. The goal of the workshop is to
assess whether, and in what way logic programming language constructs and
programming techniques may be applied to profit from a knowledge-based
approach to developing applications for the Web. Potential advantages of
such an approach include knowledge-level reasoning about resources and user
models and the application of logic-based inference techniques to
information filtering.
Recently several implementations of Prolog in Java have been announced.
Another goal of the workshop is to discuss the merits of the various
implementations of Prolog for the Web, and to assess the criteria that must
be met to adopt a logic programming language as a mature vehicle for the
development of Web applications.
In particular, agent applications may benefit from a high level
formalism as offered by logic-based programming languages.
Currently there seems to be a gap between the primarily logic-based
models of cooperating agents and the realization of agents in a variety
of primarily imperative programming languages, a gap that
may be bridged by applying declarative logic-based programming
languages for the realization of software agents.
Issues include:
- Language constructs -- failure, backtracking, concurrency
- APIs and Utilities -- Web access, document type support
- Applications -- search, agents, intelligent interfaces
Related Material
Position paper: Web Agent Support Program
Anton Eliëns, Paul de Bra, Jan Treur, Francis Brazier, Hans van Vliet
Abstract
The WASP project concerns the development
of Web Agent Support to enable average users
to keep track of relevant information on the Web.
In a relatively short time, the Web has become
a de facto standard for the dissemination
and retrieval of information.
Due to the exponential growth of the Web
and the information that it provides,
finding relevant information has become more and more
difficult.
In particular, browsing is in most cases no longer
appropriate for the user who is searching
for particular pieces of information.
It is our view that, in the near future,
access to the Web will increasingly be mediated
by intelligent helper applications,
software agents,
that assist the user in finding relevant
and interesting information.
The goal of our project WASP is to provide support
for developing such agents.
By combining our joint expertise,
we plan to develop a framework that encompasses
modeling aspects as well as the realization of
software assistants for intelligent Web access.
As testified by the references, our expertise
covers
- the realization of Web-aware applications,
- client- and server-side support
for information retrieval and information
maintenance, and
- modeling and specification of cooperative agents in
a multi-agent framework.
Combining our experience and the technology that resulted
from our previous research activities
enables us to develop a practical framework for
designing and implementing
intelligent Web agents and to tackle the research
issues involved in the definition and realization
of personal software assistents that help
the average user to disentangle the complexities of the Web.
The project is envisaged to result in a framework
providing support for:
- intelligent navigation and information retrieval,
- information and document maintenance,
- user interfaces for Web-aware applications,
- dynamic documents with user-defined applets,
- declarative descriptions of agent-behavior based
on user-preferences,
- declarative modeling of coordinated and cooperative
behavior of software agents, and
- programming single and multi-agent systems.
As a target product for the WASP project, which allows
us to demonstrate our results to the scientific community
and other interested parties, we envisage to develop
Pamela (Personal Assistant for Maintaining
Electronic Archives),
an application combining the functional and
architectural features mentioned above.
Agents
The notion of agents has become a powerful metaphor
for designating autonomous intelligent processes
that aid the user in managing the complexity
of a variety of tasks, including information retrieval,
activity scheduling and process monitoring.
Our project aims at providing insight in and solutions
for
- modeling the behavior of cooperating agents
- generic means for realizing actual agents in a Web-aware context
- architectural support for programming agent-based systems
In effect, agents have been characterized
as the dominant human-computer interface of the future.
The aspects of our research, as indicated above,
address the problems involved in defining and realizing
the potential of the agent metaphor as a
human-computer interface in the distributed information
system domain, in particular the Web.
Modeling agent behavior
The ability to model the behavior of solipsistic
and cooperative agents is a prerequisite for
(a) managing the complexity of defining agent behavior,
and (b) for adapting the behavior of agents to
user preferences or circumstantial conditions.
Realizing agents
We choose for aiming our project at realizing
agents in a Web-aware context
(a) because the Web provides a rich reservoir
of information,
and (b) the Web offers a suitable infrastructure
for defining an actual graphical user interface
for employing agents.
In particular, agents may be integrated with
standard means for accessing the Web by means
of applets.
Further we wish to supply a language that allows
us to program the behavior of agents in a straightforward
way, adequate with respect to the models described
at a more abstract level.
Architectural support
The architectural requirements for realizing agents
in a Web-aware context consists of
(a) high-level support for distribution
to allow for notification and the communication between
agents,
(b) access to the Web both in terms
of server-side and client-side computation,
and (c) support for information retrieval and
data management.
Discussion
Currently agents are in the focus of interest
of numerous research groups.
However, one may observe a divergence between
purely formal approaches and purely pragmatical
approaches, that provide an operational realization
of agents lacking a solid foundation.
Although many of the ideas and concepts
underlying agents have been a topic of
research for decades, notably issues
concerning distributed systems and
programming language design, the notion of agents
itself has become a major research topic
only recently.
A survey of agent theories, architectures
and languages is given in [Survey].
As concerns agent theories, the main focus of
attention lies on a logical analysis
of intentional notions underlying the behavior
of single agents, whereas for agent architectures
issues of communication and cooperation between agents
have been addressed in more detail.
In [Survey], concurrent logic programming languages
are considered to be the ancestors of agent languages.
Of immediate relevance for our own work is the
Oasis programming language described in [Oasis],
which bears a close resemblance to the
distributed logic programming language DLP [DLP].
Recently, commercial agent systems have been developed for the Web.
For example, General Magic has launched its
Telescript Agent System, a system that employs
mobile agents defined in General Magic's Telescript language.
Also in [Internet], a number of agent-like programs
are described.
We are reluctant to qualify these systems as 'agents',
however, since they are defined in a purely operational way.
We find, for complex agents anyway, a more explicit
representation of the intentional aspects desirable.
In a recent issue of the CACM( 37(7), July 1994),
some current trends and applications of agent research
are presented.
From our perspective we consider as important representatives
of ongoing research:
[Software],
that describes the agent communication language
KQML (Knowledge Query and Manipulation Language);
[Architecture], which describes the complexity of of integrating
collections of agents;
and [Softbots], which describes a number of simple agents
for facilitating access to the Web.
Realization
For each of the levels or facets indicated,
that is modeling, realization
and architecture, we will briefly describe
the way we plan to tackle the problems involved.
Modeling the behavior of cooperative agents
Our approach will be based on the work already done in the context of
DESIRE [Desire,KAW95,Multiagents,Compositional]. In effect, DESIRE
provides a compositional modeling framework
in which the cooperation between multiple components can be expressed in
a declarative manner (with temporal semantics
[KAW96,JELIA94,ECAI94,META94]). In particular, DESIRE has been
employed for describing cooperative multi-agent systems for project
coordination, negotiation and monitoring processes
[Modeling,ModelAge96,ModelAge97,ATAL96,ICMAS96,Cooperation].
Research in this area
will be focussed on defining cooperation in information-retrieval tasks
and on expressing user-preferences and information-needs in an adequate
way. Other topics of interest include modeling users as agents and the
verification of agent specifications.
Realizing Web-aware agents
The development of Web-aware applications
has been addressed in the DejaVu project [Applications,Music].
The approach taken there was to employ
object-oriented design technology
for realizing a component-based approach
to integrating multimedia in
Web-based hypermedia applications.
The development of generic components
for realizing agent-based systems will
be addressed in the same fashion,
in order to allow for the integration
of adequate multimedia and graphical
user interface support.
It is our intention to employ the distributed
logic programming language DLP [DLP] as a high-level
vehicle for programming the behavior of agents.
We strive, on the one hand, for a close integration
of the DESIRE framework and DLP, and on the
other hand, to extend DLP with the primitives needed
to access the Web and to create adequate graphical
and multimedia user interfaces.
Architectural support
To support cooperating agents over a network
we need to provide
point-to-point communication as well
as event-based notification.
We intend to use the Orbix/CORBA Object Request Broker
as an object-level mediator for the communication between agents
and the communication of agents with Web server and client
applications.
Currently, we are actively employing Orbix/CORBA
to develop an workbench for groupware task analysis and
a distributed architecture for visualisation (DIVA).
To allow for managing the information retrieval and management tasks involved
in dealing with the Web, helper applications must be developed which
employ the native HTTP protocol of the Web, and which perform automatic
Web navigation. Such tools are often called robots or spiders.
An information retrieval tool [Bra,Fish,Search] has been developed at the
TUE. Two implementations of this tool exist: one which is integrated in
a WWW browser, and one which is a CGI-script for use on servers.
The latter implementation now exists in a multi-threaded version,
using multiple search-agents operating in parallel. Current Web developments
make it possible to integrate such agents into browsers in a flexible way
by means of applets or plug-ins. For server-based applications servlets
or server plug-ins can be used to avoid the overhead generated by the
CGI protocol and by invoking individual instantiations of CGI-scripts.
A method for improving the use of the internal structure of documents has been
defined and implemented by means of object-oriented databases.
An intelligent retrieval helper application needs to be aware of the internal
structure of documents, and needs to be able to store the information it
finds using a similar structure. Also, it needs to have direct access to the
links between documents; this information is embedded within the text of the
documents. A Web-server based on the object-oriented database Ode has been
developed for this purpose [OODB]
Pamela
First of all, it must be remarked that the target
system Pamela is explicitly intended to stimulate and
regulate the cooperation between the participating
research groups.
As concerns its functionality,
the final version of Pamela should include
- autonomous and on-demand search capabilities
- (user- and system) modifiable user preferences, and
- (multimedia) presentation facilities
A more detailed specification of its functionality, however,
must be considered as one of the tasks of the project.
Discussion
As concerns technology, the realization of WASP
(and in particular Pamela) is based on the programming
language DLP (extended with Internet capability),
and the facilities provided by the hush library
and its extensions (both developed by SE/VU,
see refs [17,19,20]).
In addition, at the level of design, we exploit
DESIRE (developed by AI/VU, see refs [1,2,16,22] of the proposal).
In effect, the integration of these technologies (DESIRE and DLP)
contributes to the originality of our approach.
From an architectural point of view our approach
is basically a client-server architecture, with agents
as user-dedicated clients.
For the communication and Internet capabilities
we exploit existing technology (TCP/IP, HTTP, CORBA).
Needless to say that we wish to maintain
a close integration between the efforts involved
in the research concerning the aspects mentioned.
In particular, we intend to develop a prototype agent
application Pamela (Personal Assistent for Managing
Electronic Archives) as a point of reference
and as a means of coordinating the research done
by the parties involved.
In addition, the Pamela application will serve as means
to demonstrate the power of our approach to the scientific
community and the rest of the world.
A framework for Web-aware agents
The WASP project is aimed to result in
a framework (in its extended meaning) for the
development of agent-based Web-aware applications.
Such a framework includes:
- a methodology for developing agent-based applications, as well as
- a logical foundation for modeling agent behavior; and in addition
- guidelines for realizing actual agent applications, and
- software components that can be used as building blocks, including
- a language for programming agent behavior.
In addition we wish our work to result in a generic
agent application, Pamela , that demonstrates the
capabilities of our approach.
The intended results, divided over the various aspects
of our project, are summarized below.
Modeling the behavior of cooperative agents
- a formalism for modeling cooperative agents
- logical foundations of agent behavior
- modeling user preferences in information retrieval
- modeling circumstantial awareness and negotiation
Realizing Web-aware agents
- generic agent software components
- user interface components for managing agents
- communication primitives for agent communication
- guidelines for developing agent systems
Architectural support
- an agent-based programming language
- a high-level API for Web-aware applications
- an object-based framework for distributed agent applications
- tools for agent-based information retrieval and management
Pamela
The Pamela application is intended as a vehicle
to demonstrate the various aspects of our project.
For a selected domain, which will be chosen in the
course of the project, we will produce
a Personal Agent for Maintaining an Electronic Archives
that assists the human user in gathering material for
which a preference has been indicated.
Gathering information will be done in cooperation
with personal assistants defined for other human
users. Pamela will be able to notify the human
user about the discovery of any relevant material
and will provide for multimedia facilities to
present the material and to browse related information.
References
- Support
- A.T.M. Aerts, P.M.E. De Bra and J.T. De Munk,
Supporting Hyperdocuments on World Wide Web, Proceedings of the Interdisciplinary
Conference on "Informatiewetenschap", Delft, 1996.
- Tasks
- Brazier, F.M.T., Treur, J., Wijngaards, N.J.E., and Willems, M.
Formal specification of hierarchically (de)composed tasks. In: Gaines, B.R.
and Musen, M. (eds.), Proc. of the 9th Banff Knowledge Acquisition
for Knowledge-Based Systems Workshop, University of Calgary,
1995.
- Multiagents
- Brazier, F.M.T., Dunin Keplicz, B., Jennings, N. and Treur, J.,
Formal specification of multi-agent systems: a real world case. In: Lesser, V.
(ed.). Proc. 1st International Conference on Multi-Agent Systems
ICMAS 95. pp. 25-32. AAAI Press, Menlo Park, 1995.
- Modeling
- F.M.T. Brazier, B. Dunin-Keplicz, N. Jennings and J. Treur,
Modelling distributed industrial processes in a multi-agent framework, In: G.
O' Hare and S. Kirn (eds.), Towards the Intelligent Organisation - The
Coordination Perspective, Springer Verlag, 1996
- Compositional
- Brazier, F.M.T., Dunin Keplicz, B., Jennings, N. and Treur, J.,
DESIRE: Modelling Multi-Agent Systems in a Compositional Formal Framework. International Journal of Cooperative Information Systems vol. 6,
M. Huhns, M. Singh (eds.), Special Issue on Formal Methods in
Cooperative Information Systems: Multi-Agent Systems, 1997.
- ModelAge96
- F.M.T. Brazier, P.A.T. van Eck, J. Treur,
Modelling cooperative behaviour for resource access in a compositional multi-agent environment, Proc. MODELAGE'96 Workshop, Portugal
- ModelAge97
- F.M.T. Brazier, B. Dunin Keplicz, J. Treur, R. Verbrugge,
Modelling internal dynamic behaviour of BDI agents. Proc. MODELAGE'97 Workshop, Italy
- ATAL96
- Brazier, F.M.T., Jonker, C.M., Treur, J.,
Formalisation of a cooperation model based on joint intentions, In: J. Muller, M. Wooldridge, N.R. Jennings (eds.),
Intelligent Agents III, (Proc. Third Int. Workshop on
Agent Theories, Architectures and Languages,
ATAL'96), Lecture Notes in AI, Springer Verlag, 1997, to appear
- KAW96
- Brazier, F.M.T., Treur, J., Wijngaards, N.J.E.,Willems, M.,
Temporal Semantics of Complex Reasoning Tasks. In: B. Gaines, M.
Musen (eds.), Proc. 10th Banff Knowledge Acquisition Workshop,
KAW'96, University of Calgary, 1996
- User
- F.M.T. Brazier, J. Treur, N.J.E. Wijngaards,
Modelling Interaction with Experts: the Role of a Shared Task Model, In: W. Wahlster (ed.),
Proc. European Conference on AI, ECAI'96, John Wiley and Sons,
1996
- Cooperation
- F.M.T. Brazier, C.M. Jonker, J. Treur,
Modelling Project Coordination in a Multi-Agent Framework. Proc. Fifth Workshops on Enabling
Technologies: Infrastructure for Collaborative Enterprises (WET
ICE'96), IEEE Computer Society Press, 1996
- Tower
- P. De Bra, G.J. Houben, Y. Kornatzky,
An Extensible Data Model for Hyperdocuments, Proc. 4-th ACM Conf. on Hypertext, pp. 222-231, 1992.
Also at: http://www.win.tue.nl/~debra/echt92/final.ps
- Browsing
- P. De Bra, G.J. Houben, Y. Kornatzky,
A Formal Approach to Analyzing the Browsing Semantics of Hypertext, Proc. CSN-94 Conference, pp. 78-89, 1994.
Also at: http://www.win.tue.nl/~debra/csn94/csn94.ps
- Bra
- P. De Bra, G.J. Houben, Y. Kornatzky, R. Post,
Information Retrieval in Distributed Hypertexts, Proc. RIAO-94 Conference, pp. 481-492, New York, 1994.
Also at:
http://www.win.tue.nl/~debra/riao94/explore.ps
- Dress
- P.M.E. de Bra and A. Aerts,
Multi-user publishing in the Web: DreSS, a document repository service station, Proc. NLUUG Autumn Conference "Publishing on the World Wide Web", pp. 13-26,
1995.
Also at:
http://www.win.tue.nl/~debra/dress/dress-paper.html
- Fish
- P.M.E. de Bra and R.D.J. Post,
Searching for arbitrary information in the WWW: the Fish-search for Mosaic, (on-line) Proc. 2nd Int. World Wide Web Conf., 1994.
Available at:
http://www.ncsa.uiuc.edu/SDG/IT94/Proceedings/Searching/debra/article.html
- Search
- P.M.E. de Bra and R.D.J. Post,
Information retrieval in the World-Wide Web: making client-based searching feasible Proc. of the 1st Int. World Wide Web Conf., Journal on Computer Networks and
ISDN Systems, No 27, pp. 183-192, Elsevier, 1994.
Also at
http://www.cern.ch/PapersWWW94/reinpost.ps
- Applications
- M. van Doorn and A. Eliëns,
Integrating WWW and Applications, Proc. of the 3th Int. World Wide Web Conf. --
Technology, Tools and Applications,
Computer Networks and ISDN systems,
Vol 27. No 6, Elsevier, 1995, pp. 1105-1110,
Also at
http://www.igd.fhg.de/www/www95/proceedings/papers/48/main.html
- Compositional
- Dunin-Keplicz, B. and Treur, J.,
Compositional formal specification of multi-agent systems. In: Wooldridge, M. and Jennings, N.R. (eds.)
Intelligent Agents. Lecture Notes in Artificial Intelligence, Vol. 890,
Springer-Verlag, pp. 102-117, 1995.
Return to Top of Page
Return to Workshops Index