state of the rta applications the infomix project infomix ...polleres/teaching/lma2006/unit3.pdfa...

58

Upload: others

Post on 11-Oct-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Answer Set Programming for the Semantic Web

Tutorial

Thomas Eiter, Roman Schindlauer (TU Wien)Giovambattista Ianni (TU Wien, Univ. della Calabria)

Axel Polleres (Univ. Rey Juan Carlos, Madrid)

Supported by IST REWERSE, FWF Project P17212-N04, CICyT project TIC-2003-9001-C02.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 2: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Unit 3 � ASP: State of the Art and Applications

G. Ianni

Dipartimento di Matematica - Università della Calabria

European Semantic Web Conference 2006

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 3: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Unit Outline

1 State of the art

2 Applications

3 The INFOMIX Project

4 INFOMIX Live Demo

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 4: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

A very active �eld

Major Scienti�c Events have ASP as hot topic

• Intl. Workshop on ASP ('01, '03 and '05)

• LPNMR, NMR, JELIA

• Special Issue on Answer Set Programming (ASP) in AMAI

• Working group on Answer Set Programming (WASP, 15+nodes)

Mature Solvers

• DLV [35], Smodels [68]

• ASSAT, Cmodels, dcs, DeRes, DisLog, DisLop, NoMoRe,aspps, SLG

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 5: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

A very active �eld

Major Scienti�c Events have ASP as hot topic

• Intl. Workshop on ASP ('01, '03 and '05)

• LPNMR, NMR, JELIA

• Special Issue on Answer Set Programming (ASP) in AMAI

• Working group on Answer Set Programming (WASP, 15+nodes)

Mature Solvers

• DLV [35], Smodels [68]

• ASSAT, Cmodels, dcs, DeRes, DisLog, DisLop, NoMoRe,aspps, SLG

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 6: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength

Totally declarative

Order of rules and atoms do not matter. You can ignore how the solveroperates

Decidable

Prototypes started from Datalog without function symbols. Extensions keepdecidability.

Monotonic and nonmonotonic

Negation as failure, as well as classic (�with strong semantics�) negation

Nondeterministic

You can specify a set of possible worlds (�guesses�) you want. Dealing withuncertainty is thus enabled.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 7: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength

Totally declarative

Order of rules and atoms do not matter. You can ignore how the solveroperates

Decidable

Prototypes started from Datalog without function symbols. Extensions keepdecidability.

Monotonic and nonmonotonic

Negation as failure, as well as classic (�with strong semantics�) negation

Nondeterministic

You can specify a set of possible worlds (�guesses�) you want. Dealing withuncertainty is thus enabled.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 8: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength

Totally declarative

Order of rules and atoms do not matter. You can ignore how the solveroperates

Decidable

Prototypes started from Datalog without function symbols. Extensions keepdecidability.

Monotonic and nonmonotonic

Negation as failure, as well as classic (�with strong semantics�) negation

Nondeterministic

You can specify a set of possible worlds (�guesses�) you want. Dealing withuncertainty is thus enabled.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 9: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength

Totally declarative

Order of rules and atoms do not matter. You can ignore how the solveroperates

Decidable

Prototypes started from Datalog without function symbols. Extensions keepdecidability.

Monotonic and nonmonotonic

Negation as failure, as well as classic (�with strong semantics�) negation

Nondeterministic

You can specify a set of possible worlds (�guesses�) you want. Dealing withuncertainty is thus enabled.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 10: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength - 2

Versatile

Weak and Soft constraints, useful special constructs with well-de�ned formalsemantics

Scalable

Can compete with top-down solvers now

Interoperable

• External built-ins, External predicates

• DLV Java API and ODBC Interface

• RuleML schema for program exchange

Note that the price of each achievement in terms of research work is high in

the context of ASP (full declarativity is a big design constraint), but it pays o�

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 11: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength - 2

Versatile

Weak and Soft constraints, useful special constructs with well-de�ned formalsemantics

Scalable

Can compete with top-down solvers now

Interoperable

• External built-ins, External predicates

• DLV Java API and ODBC Interface

• RuleML schema for program exchange

Note that the price of each achievement in terms of research work is high in

the context of ASP (full declarativity is a big design constraint), but it pays o�

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 12: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength - 2

Versatile

Weak and Soft constraints, useful special constructs with well-de�ned formalsemantics

Scalable

Can compete with top-down solvers now

Interoperable

• External built-ins, External predicates

• DLV Java API and ODBC Interface

• RuleML schema for program exchange

Note that the price of each achievement in terms of research work is high in

the context of ASP (full declarativity is a big design constraint), but it pays o�

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 13: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

ASP Points of strength - 2

Versatile

Weak and Soft constraints, useful special constructs with well-de�ned formalsemantics

Scalable

Can compete with top-down solvers now

Interoperable

• External built-ins, External predicates

• DLV Java API and ODBC Interface

• RuleML schema for program exchange

Note that the price of each achievement in terms of research work is high in

the context of ASP (full declarativity is a big design constraint), but it pays o�

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 14: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Current state-of-the-art

Semantics

• Introduction of Function Symbols [71, 14, 7]

• Introduction of various forms of Generalized Quanti�ers (e.g.Aggregates [32, 55, 63, 26])

• Study of equivalence [25], and debuggers [30, 8]

Scalability

• Intelligent grounders, magic sets [51, 18]

• New heuristics for model generation [33, 31]

• Parallel execution [38]

• Intelligent reductions to SAT [37]

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 15: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Applications

Hot Areas (non-complete list)

• Con�guration/composition,

• Information integration,

• Security analysis,

• Agent systems,

• Semantic Web (see Units 4�6),

• Planning.

ASP is very well tailored at modelling problems that �ts the G-C-Oapproach and need fast prototyping. In an increasing number ofcases, ASP technologies can be kept in release versions of softwaresthey are embedded in.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 16: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Applications

Hot Areas (non-complete list)

• Con�guration/composition,

• Information integration,

• Security analysis,

• Agent systems,

• Semantic Web (see Units 4�6),

• Planning.

ASP is very well tailored at modelling problems that �ts the G-C-Oapproach and need fast prototyping. In an increasing number ofcases, ASP technologies can be kept in release versions of softwaresthey are embedded in.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 17: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Applications

Hot Areas (non-complete list)

• Con�guration/composition,

• Information integration,

• Security analysis,

• Agent systems,

• Semantic Web (see Units 4�6),

• Planning.

ASP is very well tailored at modelling problems that �ts the G-C-Oapproach and need fast prototyping. In an increasing number ofcases, ASP technologies can be kept in release versions of softwaresthey are embedded in.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 18: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Applications

Hot Areas (non-complete list)

• Con�guration/composition,

• Information integration,

• Security analysis,

• Agent systems,

• Semantic Web (see Units 4�6),

• Planning.

ASP is very well tailored at modelling problems that �ts the G-C-Oapproach and need fast prototyping. In an increasing number ofcases, ASP technologies can be kept in release versions of softwaresthey are embedded in.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 19: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

A Web Service Composition problem

Legenda

• Frame = Web Service

• Boxed White Frame = Final Goal

• a→ b = Output of a ful�lls input preconditions for b

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 20: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

A Web Service Composition problem - 2

Some assumption

• Arrows are statically given.

• But they can come from any chosen semantic entailment.

• Also conjunctive conditions are possible (not shown).

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 21: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

A Web Service Composition problem - 3

ASP role

• To design whatever strategy for execution plan generation.

• One can use Guess, Check, and Optimize methodology.

• [64] won the EEE-Web'05 WS contest.

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 22: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Data Integration Systems

• O�er uniform access to a set of heterogeneous sources

• The representation provided to the user is called global schema

• The user is freed from the knowledge about data location andformat

When the user issues a query overthe global schema, the system:

• determines which sources toquery and how

• issues suitable queries to thesources

• assembles the results andprovides the answer

ApplicationApplication

Global SchemaGlobal Schema

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 23: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Data Integration Systems

• O�er uniform access to a set of heterogeneous sources

• The representation provided to the user is called global schema

• The user is freed from the knowledge about data location andformat

When the user issues a query overthe global schema, the system:

• determines which sources toquery and how

• issues suitable queries to thesources

• assembles the results andprovides the answer

ApplicationApplication

Global SchemaGlobal Schema

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 24: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Data Integration Systems

• O�er uniform access to a set of heterogeneous sources

• The representation provided to the user is called global schema

• The user is freed from the knowledge about data location andformat

When the user issues a query overthe global schema, the system:

• determines which sources toquery and how

• issues suitable queries to thesources

• assembles the results andprovides the answer

ApplicationApplication

Global SchemaGlobal Schema

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 25: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Data Integration Systems

• O�er uniform access to a set of heterogeneous sources

• The representation provided to the user is called global schema

• The user is freed from the knowledge about data location andformat

When the user issues a query overthe global schema, the system:

• determines which sources toquery and how

• issues suitable queries to thesources

• assembles the results andprovides the answer

ApplicationApplication

Global SchemaGlobal Schema

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 26: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Data Integration Systems

• O�er uniform access to a set of heterogeneous sources

• The representation provided to the user is called global schema

• The user is freed from the knowledge about data location andformat

When the user issues a query overthe global schema, the system:

• determines which sources toquery and how

• issues suitable queries to thesources

• assembles the results andprovides the answer

ApplicationApplication

Global SchemaGlobal Schema

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 27: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

The INFOMIX architecture

DesignerUser

InformationService Level

InternalIntegration Level

Data Acquisition andTransformation Level

Data Sources

DB HTMLXML

. . ...............................

..........

..........

..........

. . .

INFOMIX

Query Formulation

Query Rewriter Query OptimizerComputationalLogic System

Information Model Manager

Data Acquisition and Transformation

InternalData Store

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 28: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

The INFOMIX architecture

Three Layers:

DesignerUser

InformationService Level

InternalIntegration Level

Data Acquisition andTransformation Level

Data Sources

DB HTMLXML

. . ...............................

..........

..........

..........

. . .

INFOMIX

Query Formulation

Query Rewriter Query OptimizerComputationalLogic System

Information Model Manager

Data Acquisition and Transformation

InternalData Store

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 29: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

The INFOMIX architecture

Three Layers:

Extraction:

Data Acquisition and Transformation

DesignerUser

InformationService Level

InternalIntegration Level

Data Acquisition andTransformation Level

Data Sources

DB HTMLXML

. . ...............................

..........

..........

..........

. . .

INFOMIX

Query Formulation

Query Rewriter Query OptimizerComputationalLogic System

Information Model Manager

Data Acquisition and Transformation

InternalData Store

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 30: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

The INFOMIX architecture

Three Layers:

Processing:

Internal Integration Level

DesignerUser

InformationService Level

InternalIntegration Level

Data Acquisition andTransformation Level

Data Sources

DB HTMLXML

. . ...............................

..........

..........

..........

. . .

INFOMIX

Query Formulation

Query Rewriter Query OptimizerComputationalLogic System

Information Model Manager

Data Acquisition and Transformation

InternalData Store

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 31: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

The INFOMIX architecture

Three Layers:

Frontend:

Information Service Level

DesignerUser

InformationService Level

InternalIntegration Level

Data Acquisition andTransformation Level

Data Sources

DB HTMLXML

. . ...............................

..........

..........

..........

. . .

INFOMIX

Query Formulation

Query Rewriter Query OptimizerComputationalLogic System

Information Model Manager

Data Acquisition and Transformation

InternalData Store

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 32: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time

A designer speci�es sources and mappings from sources to theglobal schema

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5

GAV = Global as view

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 33: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time

A designer speci�es sources and mappings from sources to theglobal schema

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5

GAV = Global as view

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 34: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time

A designer speci�es sources and mappings from sources to theglobal schema

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5

GAV = Global as view

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 35: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time - 2

The designer can specify also constraints on the global schema, e.g.KeyConstraint(g,1)

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5Con�ict!!

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 36: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time - 2

The designer can specify also constraints on the global schema, e.g.KeyConstraint(g,1)

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5Con�ict!!

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 37: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time - 2

The designer can specify also constraints on the global schema, e.g.KeyConstraint(g,1)

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5Con�ict!!

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 38: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Design Time - 2

The designer can specify also constraints on the global schema, e.g.KeyConstraint(g,1)

Data Sources

Ps1:

X Y

1 2

2 3

Ps2:

X Y

1 3

4 5

⇒ GAV Mapping

g(X,Y) :- ps1(X,Y).

g(X,Y) :- ps2(X,Y).

⇒Global Schema

g:

X Y

1 3

1 2

2 3

4 5Con�ict!!

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 39: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Run Time

When a query is submitted, this has to be unfolded to the sourcesand a merging program has to be processed. But query answeringunder constraints is a NP-hard problem also in the simpler settings.

Two possible repairs

g:

X Y

1 3

1 2

2 3

4 5

⇒De�nite answers(cautious reasoning)

g:

X Y

2 3

4 5

Idea: The query answering and con�ict repair strategy can beprogrammed with ASP

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 40: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Run Time

When a query is submitted, this has to be unfolded to the sourcesand a merging program has to be processed. But query answeringunder constraints is a NP-hard problem also in the simpler settings.

Two possible repairs

g:

X Y

1 3

1 2

2 3

4 5

⇒De�nite answers(cautious reasoning)

g:

X Y

2 3

4 5

Idea: The query answering and con�ict repair strategy can beprogrammed with ASP

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 41: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Run Time

When a query is submitted, this has to be unfolded to the sourcesand a merging program has to be processed. But query answeringunder constraints is a NP-hard problem also in the simpler settings.

Two possible repairs

g:

X Y

1 3

1 2

2 3

4 5

⇒De�nite answers(cautious reasoning)

g:

X Y

2 3

4 5

Idea: The query answering and con�ict repair strategy can beprogrammed with ASP

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 42: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Run Time

When a query is submitted, this has to be unfolded to the sourcesand a merging program has to be processed. But query answeringunder constraints is a NP-hard problem also in the simpler settings.

Two possible repairs

g:

X Y

1 3

1 2

2 3

4 5

⇒De�nite answers(cautious reasoning)

g:

X Y

2 3

4 5

Idea: The query answering and con�ict repair strategy can beprogrammed with ASP

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 43: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

How ASP comes into play

Bad News:

• Sources contain a huge amount of data

• Evaluating a co-NP hard problem is unfeasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

A brute force approach would consider k rules and n = 2k minimal models

Ground program

p(1) v q(1) :- a(1).

...

p(k) v q(k) :- a(k).

⇒Stable Models

M1 : {p(1), p(2), . . . , p(k − 1), p(k)} ∪ DM2 : {p(1), p(2), . . . , p(k − 1), q(k)} ∪ D. . .Mn : {q(1), q(2), . . . , q(k − 1), q(k)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 44: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

How ASP comes into play

Bad News:

• Sources contain a huge amount of data

• Evaluating a co-NP hard problem is unfeasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

A brute force approach would consider k rules and n = 2k minimal models

Ground program

p(1) v q(1) :- a(1).

...

p(k) v q(k) :- a(k).

⇒Stable Models

M1 : {p(1), p(2), . . . , p(k − 1), p(k)} ∪ DM2 : {p(1), p(2), . . . , p(k − 1), q(k)} ∪ D. . .Mn : {q(1), q(2), . . . , q(k − 1), q(k)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 45: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

How ASP comes into play

Bad News:

• Sources contain a huge amount of data

• Evaluating a co-NP hard problem is unfeasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

A brute force approach would consider k rules and n = 2k minimal models

Ground program

p(1) v q(1) :- a(1).

...

p(k) v q(k) :- a(k).

⇒Stable Models

M1 : {p(1), p(2), . . . , p(k − 1), p(k)} ∪ DM2 : {p(1), p(2), . . . , p(k − 1), q(k)} ∪ D. . .Mn : {q(1), q(2), . . . , q(k − 1), q(k)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 46: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

How ASP comes into play

Bad News:

• Sources contain a huge amount of data

• Evaluating a co-NP hard problem is unfeasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

A brute force approach would consider k rules and n = 2k minimal models

Ground program

p(1) v q(1) :- a(1).

...

p(k) v q(k) :- a(k).

⇒Stable Models

M1 : {p(1), p(2), . . . , p(k − 1), p(k)} ∪ DM2 : {p(1), p(2), . . . , p(k − 1), q(k)} ∪ D. . .Mn : {q(1), q(2), . . . , q(k − 1), q(k)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 47: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets

Given

Program P ,Query Q

⇒ Magic Sets

Program rewriting⇒ Rewritten Program

MS(Q,P)

Magic sets:

• focus on the subset of P which is relevant for Q

• push down the query constants, to eliminate rule instances which cannotcontribute to the derivation of Q

• simulate the top-down evaluation of Q

Applicability:

• Positive Programs (in the literature)

• Disjunctive programs (INFOMIX achievement)

• Programs with un-strati�ed negation (INFOMIX achievement)

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 48: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets

Given

Program P ,Query Q

⇒ Magic Sets

Program rewriting⇒ Rewritten Program

MS(Q,P)

Magic sets:

• focus on the subset of P which is relevant for Q

• push down the query constants, to eliminate rule instances which cannotcontribute to the derivation of Q

• simulate the top-down evaluation of Q

Applicability:

• Positive Programs (in the literature)

• Disjunctive programs (INFOMIX achievement)

• Programs with un-strati�ed negation (INFOMIX achievement)

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 49: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets

Given

Program P ,Query Q

⇒ Magic Sets

Program rewriting⇒ Rewritten Program

MS(Q,P)

Magic sets:

• focus on the subset of P which is relevant for Q

• push down the query constants, to eliminate rule instances which cannotcontribute to the derivation of Q

• simulate the top-down evaluation of Q

Applicability:

• Positive Programs (in the literature)

• Disjunctive programs (INFOMIX achievement)

• Programs with un-strati�ed negation (INFOMIX achievement)

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 50: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets

Given

Program P ,Query Q

⇒ Magic Sets

Program rewriting⇒ Rewritten Program

MS(Q,P)

Magic sets:

• focus on the subset of P which is relevant for Q

• push down the query constants, to eliminate rule instances which cannotcontribute to the derivation of Q

• simulate the top-down evaluation of Q

Applicability:

• Positive Programs (in the literature)

• Disjunctive programs (INFOMIX achievement)

• Programs with un-strati�ed negation (INFOMIX achievement)

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 51: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets

Given

Program P ,Query Q

⇒ Magic Sets

Program rewriting⇒ Rewritten Program

MS(Q,P)

Magic sets:

• focus on the subset of P which is relevant for Q

• push down the query constants, to eliminate rule instances which cannotcontribute to the derivation of Q

• simulate the top-down evaluation of Q

Applicability:

• Positive Programs (in the literature)

• Disjunctive programs (INFOMIX achievement)

• Programs with un-strati�ed negation (INFOMIX achievement)

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 52: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets

Given

Program P ,Query Q

⇒ Magic Sets

Program rewriting⇒ Rewritten Program

MS(Q,P)

Magic sets:

• focus on the subset of P which is relevant for Q

• push down the query constants, to eliminate rule instances which cannotcontribute to the derivation of Q

• simulate the top-down evaluation of Q

Applicability:

• Positive Programs (in the literature)

• Disjunctive programs (INFOMIX achievement)

• Programs with un-strati�ed negation (INFOMIX achievement)

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 53: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets approach has been extended to the ASP

Good News:

• Not all the data is necessary for answering user queries

• Magic sets can focus on relevant data

• Problems theoretically untractable become feasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

An intelligent approach could consider only one ground rule and 2 models

Ground program

p(1) v q(1) :- a(1).

⇒ Stable Models

M1 : {p(1)} ∪ DM2 : {q(1)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 54: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets approach has been extended to the ASP

Good News:

• Not all the data is necessary for answering user queries

• Magic sets can focus on relevant data

• Problems theoretically untractable become feasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

An intelligent approach could consider only one ground rule and 2 models

Ground program

p(1) v q(1) :- a(1).

⇒ Stable Models

M1 : {p(1)} ∪ DM2 : {q(1)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 55: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets approach has been extended to the ASP

Good News:

• Not all the data is necessary for answering user queries

• Magic sets can focus on relevant data

• Problems theoretically untractable become feasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

An intelligent approach could consider only one ground rule and 2 models

Ground program

p(1) v q(1) :- a(1).

⇒ Stable Models

M1 : {p(1)} ∪ DM2 : {q(1)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 56: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Magic Sets approach has been extended to the ASP

Good News:

• Not all the data is necessary for answering user queries

• Magic sets can focus on relevant data

• Problems theoretically untractable become feasible

A simple program

p(X) v q(X) :- a(X).

Database and Query

Database:D = { a(1),a(2), ...,a(k) }

Query: p(1)?

An intelligent approach could consider only one ground rule and 2 models

Ground program

p(1) v q(1) :- a(1).

⇒ Stable Models

M1 : {p(1)} ∪ DM2 : {q(1)} ∪ D

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 57: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

The lesson of INFOMIX

• The INFOMIX prototype is the most expressive current systemfor consistent query answering under incompleteness

• Expresses the full range of queries (not only fragments), withdi�erent sorts of constraints (KDs, IDs, EDs)

• Rich Data Acquisition and Transformation Layer

• Fruitful use of computational logic (proof of concept)

• Experimental results are encouraging, scalability feasible

• Further e�orts for optimizing data access (cf. constantpushing)

• Tighter coupling between CL system and relational engine

G. Ianni Unit 3 � ASP: State of the Art and Applications

Page 58: State of the rta Applications The INFOMIX Project INFOMIX ...polleres/teaching/lma2006/unit3.pdfA Web Service Composition problem - 2 Some assumption • Arrows are statically given

State of the artApplications

The INFOMIX ProjectINFOMIX Live Demo

Live Demo

Now, let's play with the Live Demo

http://www.mat.unical.it/infomix

[1] G. Alsaç and C. Baral.Reasoning in description logics using declarative logicprogramming.Technical Report ASU 2001-02, Arizona State University,2002.

[2] J. Angele, H. Boley, J. de Bruijn, D. Fensel, P. Hitzler,M. Kifer, R. Krummenacher, H. Lausen, A. Polleres, andR. Studer.Web rule language (WRL), Sept. 2005.W3C Member Submission,http://www.w3.org/Submission/WRL/.

[3] Christian Anger, Kathrin Konczak, and Thomas Linke.NoMoRe: A System for Non-Monotonic Reasoning.In LPNMR'01, pp. 406�410. 2001.

[4] Chandrabose Aravindan, J. Dix, and I. Niemelä.DisLoP: A Research Project on Disjunctive LogicProgramming.AI Communications, 10(3/4):151�165, 1997.

[5] C. Bell, A. Nerode, R.T. Ng, and V.S. Subrahmanian.Mixed Integer Programming Methods for ComputingNonmonotonic Deductive Databases.JACM, 41:1178�1215, 1994.

[6] T. Berners-Lee.Web for real people, April 2005.Keynote Speech at the 14th World Wide Web Conference(WWW2005), slides available athttp://www.w3.org/2005/Talks/0511-keynote-tbl/.

[7] P. A. Bonatti.Reasoning with In�nite Stable Models.In Proceedings of the Seventeenth International JointConference on Arti�cial Intelligence (IJCAI) 2001, pages603�610, Seattle, WA, USA, Aug. 2001. Morgan KaufmannPublishers.

[8] M. Brain and M. D. Vos.Debugging logic programs under the answer set semantics.In Answer Set Programming, 2005.

[9] F. Buccafurri, N. Leone, and P. Rullo.Enhancing Disjunctive Datalog by Constraints.IEEE TKDE, 12(5):845�860, 2000.

[10] J. D. Bruijn, A. Polleres, R. Lara, and D. Fensel.OWL DL vs. OWL Flight: Conceptual modeling and reasoningfor the semantic web.In Proceedings of the 14th World Wide Web Conference(WWW2005), Chiba, Japan, May 2005.

[11] F. Buccafurri, N. Leone, and P. Rullo.Strong and Weak Constraints in Disjunctive Datalog.In J. Dix, U. Furbach, and A. Nerode, editors, Proceedings ofthe 4th International Conference on Logic Programming andNon-Monotonic Reasoning (LPNMR'97), number 1265 inLNAI, pages 2�17, Dagstuhl, Germany, July 1997. Springer.

[12] P. Burek and R. Grabos.Dually structured concepts in the semantic web: Answer setprogramming approach.In Proceedings of the Second European Semantic WebConference, ESWC 2005, Heraklion, Crete, Greece, May 29 -June 1, 2005, LNCS 3532, pages 377�391, 2005.

[13] F. Calimeri, G. Ianni, G. Ielpa, A. Pietramala, and M. C.Santoro.A system with template answer set programs.In JELIA, pages 693�697, 2004.

[14] F. Calimeri and G. Ianni.External sources of computation for Answer Set Solvers.In C. Baral, G. Greco, N. Leone, and G. Terracina, editors,Logic Programming and Nonmonotonic Reasoning � 8thInternational Conference, LPNMR'05, Diamante, Italy,September 2005, Proceedings, volume 3662 of LNCS, pages105�118. Springer, Sept. 2005.

[15] Weidong Chen and David Scott Warren.Computation of Stable Models and Its Integration with LogicalQuery Processing.IEEE TKDE, 8(5):742�757, 1996.

[16] Paweª Cholewi«ski, V. Wiktor Marek, and M. Truszczy«ski.Default Reasoning System DeReS.In Proceedings of International Conference on Principles ofKnowledge Representation and Reasoning (KR '96), pp.518�528, Cambridge, Massachusetts, USA, 1996.

[17] Paweª Cholewi«ski, V.W. Marek, Artur Mikitiuk, andM. Truszczy«ski.Computing with Default Logic.Arti�cial Intelligence, 112(2�3):105�147, 1999.

[18] C. Cumbo, W. Faber, and G. Greco.Enhancing the magic-set method for disjunctive datalogprograms.In Proceedings of the the 20th International Conference onLogic Programming � ICLP'04, volume 3132 of LNCS, pages371�385, 2004.

[19] S. Decker, M. Sintek, and W. Nejdl.The model-theoretic semantics of TRIPLE, Nov. 2002.

[20] F. M. Donini, M. Lenzerini, D. Nardi, and A. Schaerf.AL-log: Integrating datalog and description logics.Journal of Intelligent Information Systems (JIIS),10(3):227�252, 1998.

[21] D. East and M. Truszczy«ski.Propositional Satis�ability in Answer-set Programming.In Proceedings of Joint German/Austrian Conference onArti�cial Intelligence, KI'2001, pp. 138�153. LNAI 2174, 2001.

[22] D. East and M. Truszczy«ski.dcs: An Implementation of DATALOG with Constraints.In NMR'2000, 2000.

[23] U. Egly, T. Eiter, H. Tompits, and S. Woltran.Solving Advanced Reasoning Tasks using Quanti�ed BooleanFormulas.In AAAI'00, pp. 417�422. AAAI Press / MIT Press, 2000.

[24] T. Eiter, W. Faber, N. Leone, G. Pfeifer, and A. Polleres.A Logic Programming Approach to Knowledge-State Planning,II: the DLVK System.Arti�cial Intelligence, 144(1�2):157�211, 2003.

[25] T. Eiter, M. Fink, H. Tompits, and S. Woltran.Strong and uniform equivalence in answer-set programming:Characterizations and complexity results for the non-groundcase.In AAAI, pages 695�700, 2005.

[26] T. Eiter, G. Ianni, R. Schindlauer, and H. Tompits.A Uniform Integration of Higher-Order Reasoning and ExternalEvaluations in Answer Set Programming.In International Joint Conference on Arti�cial Intelligence(IJCAI) 2005, pages 90�96, Edinburgh, UK, Aug. 2005.

[27] T. Eiter, T. Lukasiewicz, R. Schindlauer, and H. Tompits.Combining Answer Set Programming with Description Logicsfor the Semantic Web.In Principles of Knowledge Representation and Reasoning:Proceedings of the Ninth International Conference (KR2004),Whistler, Canada, pages 141�151, 2004.Extended Report RR-1843-03-13, Institut fürInformationssysteme, TU Wien, 2003.

[28] Eiter, T.; Ianni, G.; Schindlauer, R.; and Tompits, H.2006.E�ective Integration of Declarative Rules with externalEvaluations for Semantic Web Reasoning.In European Semantic Web Conference 2006, Proceedings.To appear.

[29] Thomas Eiter, Giovambattista Ianni, Roman Schindlauer, andHans Tompits.Towards e�cient evaluation of HEX programs.In Proceedings 11th International Workshop on NonmonotonicReasoning (NMR-2006), Answer Set Programming Track,June 2006.To appear.

[30] O. El-Khatib, E. Pontelli, and T. C. Son.Justi�cation and debugging of answer set programs in asp.In AADEBUG, pages 49�58, 2005.

[31] W. Faber, N. Leone, and G. Pfeifer.A Comparison of Heuristics for Answer Set Programming.In Proceedings of the 5th Dutch-German Workshop onNonmonotonic Reasoning Techniques and their Applications(DGNMR 2001), pages 64�75, Apr. 2001.

[32] W. Faber, N. Leone, and G. Pfeifer.Recursive aggregates in disjunctive logic programs: Semanticsand complexity.In J. J. Alferes and J. Leite, editors, Proceedings of the 9thEuropean Conference on Arti�cial Intelligence (JELIA 2004),number 3229 in LNAI, pages 200�212. Springer, Sept. 2004.

[33] W. Faber, N. Leone, and F. Ricca.Heuristics for Hard ASP Programs.In Nineteenth International Joint Conference on Arti�cialIntelligence (IJCAI-05), pages 1562�1563, Aug. 2005.

[34] P. Ferraris and V. Lifschitz.Weight constraints as nested expressions.TPLP, 5(1�2):45�74, 2005.

[35] W. Faber and G. Pfeifer.DLV homepage, since 1996.http://www.dlvsystem.com/.

[36] M. Gelfond and V. Lifschitz.Classical Negation in Logic Programs and DisjunctiveDatabases.NGC, 9:365�385, 1991.

[37] E. Giunchiglia and M. Maratea.On the relation between answer set and sat procedures (or,between cmodels and smodels).In ICLP, pages 37�51, 2005.

[38] J. Gressmann, T. Janhunen, R. E. Mercer, T. Schaub,S. Thiele, and R. Tichy.Platypus: A platform for distributed answer set solving.In LPNMR, pages 227�239, 2005.

[39] B. N. Grosof, I. Horrocks, R. Volz, and S. Decker.Description logic programs: Combining logic programs withdescription logics.In Proceedings of the Twelfth International World Wide WebConference, WWW2003, Budapest, Hungary, pages 48�57,2003.

[40] S. Heymans.Decidable Open Answer Set Programming.PhD thesis, Theoretical Computer Science Lab (TINF),Department of Computer Science, Vrije Universiteit Brussel,Feb. 2006.

[41] S. Heymans, D. V. Nieuwenborgh, and D. Vermeir.Semantic web reasoning with conceptual logic programs.In Rules and Rule Markup Languages for the Semantic Web:Third International Workshop (RuleML 2004), pages 113�127,Hiroshima, Japan, Nov. 2004.

[42] S. Heymans, D. V. Nieuwenborgh, and D. Vermeir.Nonmonotonic ontological and rule-based reasoning withextended conceptual logic programs.In Proceedings of the Second European Semantic WebConference, ESWC 2005. LNCS 3532, pages 392�407, 2005.

[43] I. Horrocks, B. Parsia, P. Patel-Schneider, and J. Hendler.Semantic web architecture: Stack or two towers?In F. Fages and S. Soliman, editors, Principles and Practice ofSemantic Web Reasoning (PPSWR 2005), number 3703 inLNCS, pages 37�41. SV, 2005.

[44] I. Horrocks, P. F. Patel-Schneider, H. Boley, S. Tabet,B. Grosof, and M. Dean.Swrl: A semantic web rule language combining owl and ruleml,May 2004.W3C Member Submission.http://www.w3.org/Submission/SWRL/.

[45] U. Hustadt, B. Motik, and U. Sattler.Reducing shiq-description logic to disjunctive datalogprograms.In Principles of Knowledge Representation and Reasoning:Proceedings of the Ninth International Conference (KR2004),Whistler, Canada, pages 152�162, 2004.

[46] ICONS homepage, since 2001.http://www.icons.rodan.pl/.

[47] T. Janhunen, I. Niemelä, D. Seipel, P. Simons, and J.-H. You.Unfolding Partiality and Disjunctions in Stable ModelSemantics.ACM TOCL, 2005.To appear.

[48] M. Kifer, G. Lausen, and J. Wu.Logical foundations of object-oriented and frame-basedlanguages.Journal of the ACM, 42(4):741�843, 1995.

[49] N. Leone, G. Gottlob, R. Rosati, T. Eiter, W. Faber, MichaelFink, Gianluigi Greco, G. Ianni, Edyta Kaªka, DomenicoLembo, Maurizio Lenzerini, Vincenzino Lio, Bartosz Nowicki,Marco Ruzzi, Witold Staniszkis, and Giorgio Terracina.The INFOMIX System for Advanced Integration of Incompleteand Inconsistent Data.In Proceedings of the 24th ACM SIGMOD InternationalConference on Management of Data (SIGMOD 2005), pp.915�917, Baltimore, Maryland, USA, 2005. ACM Press.

[50] N. Leone, G. Pfeifer, W. Faber, T. Eiter, G. Gottlob, S. Perri,and F. Scarcello.The DLV System for Knowledge Representation andReasoning.ACM TOCL, 2005.To appear.

[51] N. Leone, S. Perri, and F. Scarcello.Backjumping techniques for rules instantiation in the dlvsystem.In NMR, pages 258�266, 2004.

[52] A. Y. Levy and M.-C. Rousset.Combining horn rules and description logics in CARIN.Arti�cial Intelligence, 104:165 � 209, 1998.

[53] Yuliya Lierler.Disjunctive Answer Set Programming via Satis�ability.In Logic Programming and Nonmonotonic Reasoning � 8thInternational Conference, LPNMR'05, Diamante, Italy, 2005,Proceedings, LNCS 3662

[54] F. Lin and Y. Zhao.ASSAT: computing answer sets of a logic program by SATsolvers.Arti�cial Intelligence, 157(1-2):115�137, 2004.

[55] V. Marek, I. Niemelä, and M. Truszczy±ki.Logic programs with monotone cardinality atoms.In Proceedings LPNMR-2004, volume 2923 of LNCS, pages154�166, 2004.

[56] V.W. Marek and J.B. Remmel.On Logic Programs with Cardinality Constraints.In NMR'2002, pp. 219�228, 2002.

[57] N. McCain and H. Turner.Satis�ability Planning with Causal Theories.In KR'98, pp. 212�223. 1998.

[58] J. Mei, S. Liu, A. Yue, and Z. Lin.An extension to OWL with general rules.In Rules and Rule Markup Languages for the Semantic Web:Third International Workshop (RuleML 2004), pages 155�169,Hiroshima, Japan, Nov. 2004.

[59] B. Motik, U. Sattler, and R. Studer.Query answering for owl-dl with rules.Journal of Web Semantics: Science, Services and Agents onthe World Wide Web, 3(1):41�60, JUL 2005.

[60] B. Motik and R. Volz.Optimizing query answering in description logics usingdisjunctive deductive databases.In F. Bry, C. Lutz, U. Sattler, and M. Schoop, editors,Proceedings of the 10th International Workshop on KnowledgeRepresentation meets Databases (KRDB 2003), volume 79 ofCEUR Workshop Proceedings. CEUR-WS.org, Sept. 2003.

[61] I. Niemelä.The implementation of answer set solvers, 2004.Tutorial at ICLP 2004. Available at http://www.tcs.hut.fi/~init/papers/niemela-iclp04-tutorial.ps.gz/.

[62] I. Niemelä, P. Simons, and T. Soininen.Stable Model Semantics of Weight Constraint Rules.In LPNMR'99, pp. 107�116.

[63] N. Pelov.Non-monotone Semantics for Logic Programs withAggregates.Available at http://www.cs.kuleuven.ac.be/~pelov/papers/nma.ps.gz.,Oct. 2002.

[64] A. Rainer.Web Service Composition under Answer Set Programming.In KI-Workshop "Planen, Scheduling und Kon�gurieren,Entwerfenl" (PuK), 2005.

[65] R. Rosati.On the decidability and complexity of integrating ontologiesand rules.Journal of Web Semantics, 3(1):61�73, 2005.

[66] R. Rosati.DL+log : Tight integration of description logics anddisjunctive datalog.In KR2006, 2006.To appear.

[67] D. Seipel and Helmut Thöne.DisLog � A System for Reasoning in Disjunctive DeductiveDatabases.In Proceedings International Workshop on the DeductiveApproach to Information Systems and Databases (DAISD'94),pp. 325�343. Universitat Politecnica de Catalunya (UPC),1994.

[68] P. Simons.Smodels Homepage, since 1996.http://www.tcs.hut.fi/Software/smodels/.

[69] V.S. Subrahmanian, D. Nau, and C. Vago.WFS + Branch and Bound = Stable Models.IEEE TKDE, 7(3):362�377, 1995.

[70] T. Swift.Deduction in Ontologies via ASP.In V. Lifschitz and I. Niemelä, editors, Proc. of the SeventhInt.l Conf. on Logic Programming and NonmonotonicReasoning (LPNMR-7), LNCS, pages 275�288, FortLauderdale, Florida, USA, Jan. 2004. Springer.

[71] T. Syrjänen.Omega-restricted logic programs.In Proceedings of the 6th International Conference on LogicProgramming and Nonmonotonic Reasoning, Vienna, Austria,September 2001. Springer.

[72] WASP report (IST-2001-37004). Model applications andproofs-of-concept.http:

//www.kr.tuwien.ac.at/projects/WASP/report.html.

[73] WASP showcase.http:

//www.kr.tuwien.ac.at/projects/WASP/showcase.html.

[74] G. Yang and M. Kifer.On the semantics of anonymous identity and rei�cation.In CoopIS/DOA/ODBASE, pages 1047�1066, 2002.

[75] G. Yang, M. Kifer, and C. Zhao."�ora-2: A rule-based knowledge representation and inferenceinfrastructure for the semantic web.".In R. Meersman, Z. Tari, and D. C. Schmidt, editors,CoopIS/DOA/ODBASE, pages 671�688, 2003.

G. Ianni Unit 3 � ASP: State of the Art and Applications