Document

Seminar
Introduction to Resource
Management Platform
张炜
13918430986
[email protected]
October 26, 2009
Information System Technology Lab
Agenda
1. Semantic WEB
2. RDF
3. Architecture of the Resource Management
Platform
4. Problem and Solution
5. Future Research Work
6. Recruitment
7. References
8. Q&A
Information System Technology Lab
Problems in Enterprise Applications
• The problem of N2 in N applications
• Data in DB is difficult for business Staff
• Data from traditional DB is hard to support BI
Information System Technology Lab
Solution
• Data from applications use XML strutted
• Metadata to organize the data by semantic
model
• Semantic Web
Information System Technology Lab
Semantic Web Vision
• Web information has the exact meaning
• Web information can be understand and
handled by computer
• Web information can be integrated by
computer
• But…
Information System Technology Lab
Semantic WEB
Information System Technology Lab
RDF/OWL and REST
• Resource
Rest's request URI aims at resource.
RDF/OWL models the data into resource by
semantic.
• Operation
Map HTTP REST operations to resource
by SPARQL (can run in Jena)
Information System Technology Lab
Agenda
1. Semantic WEB
2. RDF
3. Architecture of the Resource Management
Platform
4. Problem and Solution
5. Future Research Work
6. Recruitment
7. References
8. Q&A
Information System Technology Lab
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Introduction
• Why?
• What?
• How?
Information System Technology Lab
RDF Introduction
• achieve Semantic Web Vision
• describe web information for computer
• exchanged between applications
Information System Technology Lab
RDF Introduction
• Why?
• What?
• How?
Information System Technology Lab
RDF Introduction
•
•
•
•
•
RDF: Resource Description Framework
a language for computer to read
representing metadata about Web resources
using XML syntax
W3C recommendation
Information System Technology Lab
RDF Introduction
• Why?
• What?
• How?
Information System Technology Lab
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Rules and Regulations
• identifying things using Web identifiers
(called Uniform Resource Identifiers, or
URIs)
• describing resources in terms of simple
properties and property values
• making statements about resources
Information System Technology Lab
RDF Rules and Regulations
• the RDF terms for the various parts of the
statement are(triple )
• the subject is the URL
“http://www.example.org/index.html “
• the predicate is the word "creator"
• the object is the phrase "John Smith"
Information System Technology Lab
RDF Rules and Regulations
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cd="http://www.recshop.fake/cd#">
<rdf:Description rdf:about="http://www.recshop.fake/cd/Empire Burlesque">
<cd:artist>Bob Dylan</cd:artist>
<cd:country>USA</cd:country>
<cd:company>Columbia</cd:company>
<cd:price>10.90</cd:price>
<cd:year>1985</cd:year>
</rdf:Description> <rdf:Description
rdf:about="http://www.recshop.fake/cd/Hide your heart">
<cd:artist>Bonnie Tyler</cd:artist>
<cd:country>UK</cd:country>
<cd:company>CBS Records</cd:company>
<cd:price>9.90</cd:price>
<cd:year>1988</cd:year>
</rdf:Description>
</rdf:RDF>
Information System Technology Lab
RDF Rules and Regulations
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Elements
• <RDF>
• <Description>
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cd="http://www.recshop.fake/cd#">
<rdf:Description rdf:about="http://www.recshop.fake/cd/Empire
Burlesque"> <cd:artist>Bob Dylan</cd:artist>
<cd:country>USA</cd:country>
<cd:company>Columbia</cd:company>
<cd:price>10.90</cd:price>
<cd:year>1985</cd:year>
</rdf:Description>
</rdf:RDF>
Information System Technology Lab
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Capabilities
• members
• <rdf:Bag>
• <rdf:Seq>
Information System Technology Lab
RDF Capabilities
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cd="http://www.recshop.fake/cd#">
<rdf:Description rdf:about="http://www.recshop.fake/cd/Beatles">
<cd:artist>
<rdf:Bag> /<rdf:Seq>
<rdf:li>George</rdf:li>
<rdf:li>John</rdf:li>
<rdf:li>Paul</rdf:li>
<rdf:li>Ringo</rdf:li>
</rdf:Bag>/</rdf:Seq>
</cd:artist>
</rdf:Description>
Information System Technology Lab
</rdf:RDF>
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Collection
• rdf:parseType="Collection"
Information System Technology Lab
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Schema (RDFS)
Information System Technology Lab
RDF
1.
2.
3.
4.
5.
6.
7.
RDF Introduction
RDF rules and regulations
RDF elements
RDF capabilities
RDF collection
RDF schema
RDF applications: RDF in the Field
Information System Technology Lab
RDF Applications: RDF in the Field
•
•
•
•
•
•
Dublin Core Metadata Initiative
PRISM
RSS 1.0: RDF Site Summary
CIM/XML
Gene Ontology Consortium
Describing Device Capabilities and User
Preferences
Information System Technology Lab
Agenda
1. Semantic WEB
2. RDF
3. Architecture of the Resource Management
Platform
4. Problem and Solution
5. Future Research Work
6. Recruitment
7. References
8. Q&A
Information System Technology Lab
Review
Business Process Model
(Goal\Task\Rule)
Legacy
systems
Java
programs
Applications
.NET
applications
Service
Encapsulation
Service
Encapsulation
RESTful
Web service
RESTful
Web service
Service
Encapsulation
Service
Encapsulation
RESTful
Web service
RESTful
Web service
Resource
Array
Resource
Array
Resource
Array
Resource-based Run-time Supported Environment
Resources Supported Platform
Domain Ontology
Distributed
Resources
People
Resources
Data
Resources
Process
Resources
Tool
Resources
...
Information System Technology Lab
Architecture of the RMP (Resource Managemen
Platform )
• Layered Architecture
Model Management Layer
Data Model Layer
Data Transform Layer
Data Access Layer
Heterogeneous Database
Information System Technology Lab
Architecture of the RMP
Resource
Model
RDF&OWL Rules Engine Resource Controller
Data Schema Data Structure
Object to XML
Resource
URI and Method
Message
Transfer
module
XML to SQL
Data Access API
MS SQL SERVER
Sybase
Oracle
XML
Architecture of the RMP
Data Access API
• Database: Heterogeneous, Relational,
External constraint
• Program :Object-Oriented
• Data objects: Flexible
• Need: Transaction , Data Access , High
Efficiency
Decision : not O/R mapping , but JDBC
Information System Technology Lab
Architecture of the RMP
Object to XML
• Input: Data objects
• Output: Structure XML or individual of RDF&OWL
• Need: transform the information of Database to
XML ( Data source, Table, Property, Relations…)
Decision : use open-source framework
(JDOM or ….)
Information System Technology Lab
Architecture of the RMP
Data Structure XML to Business XML
Need: Data Schema; Extraction Properties ; Keep
node Elements ( XPath ; DataType …)
Decision : JDOM
Information System Technology Lab
Architecture of the RMP
Business XML to RDF&OWL XML
• Need: Document format of XML must follow the
rules of RDF&OWL
• Cost: Develop though RDF&OWL rules engine
would be costly
Decision : Use open source tool——Protégé
Develop the plug-in of Protégé
Information System Technology Lab
Architecture of the RMP
Resource Management
• Need: Manage operations for RDF&OWL XML
( eg: infer the additional information;…. )
• Cost: Develop RDF&OWL resource
management tool would be costly
Decision : Use open source plug-in——Jena
Add Jena as plug-in into Protégé
Information System Technology Lab
Architecture of the RMP
Resource Controller
• Need: Receive requests (parse the URL of
HTTP into URI and method); Response to the
request (results of operations and resources )
• Constraints : Response operation results of
request based on HTTP ( eg:200 OK;… )
Decision : Collaboration with the message module
Handel the exception and transaction
process of resources
Information System Technology Lab
Architecture of the RMP
XML to SQL
• Input: Data structure XML of resource
(XPath; …) and method ;
• Output: SQL or Stored Procedures
Decision : Get SQL information from XPath
method( Post-Update; Put-Create; Get-Select;
Delete-Delete)
Information System Technology Lab
Agenda
1. Semantic WEB
2. RDF
3. Architecture of the Resource Management
Platform
4. Problem and Solution
5. Future Research Work
6. Recruitment
7. References
8. Q&A
Information System Technology Lab
Problem and Solution
1. Problem: Same meaning different field
Solution: Data Schema (n-1)
2. Problem: Data Integrity (post method)
Solution: Mandatory constraints
3. Problem: Dynamic or Static Resource
Solution: Resource Pool in XML Database
……
more in architecture design
more and more with the project
goes on
Information System Technology
Lab
Agenda
1. Semantic WEB
2. RDF
3. Architecture of the Resource Management
Platform
4. Problem and Solution
5. Future Research Work
6. Recruitment
7. References
8. Q&A
Information System Technology Lab
Future Research Work
1. Problem: XML query efficiency
Solution: …
2. Problem: Concurrent Transaction of Resource
Solution: …
3. Problem: Computer learning
Solution: …
4. Relationship between Relational Database
and Semantic Model
……
Information System Technology Lab
Recruitment
• Attitude
• Good self-study ability
Information System Technology Lab
References
1.
2.
3.
4.
5.
6.
RDF教程http://www.w3school.com.cn/rdf/rdf_intro.asp
RDF Primer http://www.w3.org/TR/rdf-primer/
Open-Source http://www.open-open.com/
《RESTful Web Service 》by Sam Ruby
Robert Battle, Edward Benson: Bridging the semantic
Web and Web 2.0 with Representational State
Transfer(REST)
Business Model for the Semantic Web
Information System Technology Lab
Q&A
Information System Technology Lab