Title: OCML Ontologies to XML Schema Lowering
1(No Transcript)
2OCML Ontologies to XML Schema Lowering
Ontology driven application development through
added transformation data
3The problem knowledge / software gap
Semantic Web services rely on ontologies. But too
often knowledge models are hard to connect to the
application context
Java interface
Ontology / knowledge model based web service
Web access
Database layer
DB
4Goal ontology driven development
The whole application should rely on the higher
level knowledge representation. This would allow
Type consistency
Automatic validation
Instance persistence
DB
Idea
Generate constraint or application code from the
ontology.
5SWS WSMO Standard
The Web Service Modelling Ontology (WSMO)
describes various aspects of Semantic Web
Services
Specify objectives that a client may have when
consulting a Web Service
Provide the formal semantics of the information
used by all other components
- Semantic description of Web Services
- Capability (functional)
- Interface (usage)
Connectors between components with mediation
facilities (decoupling)
6SWS IRS-III WSMO implementation architecture
Operational Conceptual Modelling Language
7Example goal web interface for IRS-III
IRS-III is a goal oriented Semantic Web Service
framework.
Input roles are defined according to an OCML
ontology.
Problem how to ensure the consistency of a (web)
interface?
XSLT
8Generation a pragmatic approach (1)
Why not simply add constraint information to the
ontology?
1. It could be already shared in other contexts
which require other information.
Base goal
Java context
XML context
generates
2. Constraint information is often irrelevant for
knowledge modelling (a date may be an important
aspect of a domain but various representations of
it are not).
9Generation a pragmatic approach (2)
We will therefore enhance the ontology with Added
Transformation Data (ATD).
An ATD system is
2. A naming convention to access ontology
elements
1. A repository to store information about
elements
3. An access interface to the repository to
provide access functions as well as commodity
ones required by the generation program.
10OCML2XSD mapping and generation
Ontology elements to XSD mapping
Generation algorithm
11Generation
ATD
XSD
ONTOLOGY
12Future work
The ATD ontology enhancement is applicable to
other contexts and other kind of generations
(with a new mapping and a different algorithm).
We already did it for other XML formats, but what
about Database schema generation for instance
persistence?
An ATD oriented language for code generation may
also be useful.
13Thank you!
Questions?