蔡益坤臺灣大學:資訊管理學研究所楊德威Yang, Te-WeiTe-WeiYang2010-05-052018-06-292010-05-052018-06-292008U0001-1807200818343500http://ntur.lib.ntu.edu.tw//handle/246246/179861網路服務(Web Service)在近幾年蓬勃發展使得網路服務的數量與種類變得複雜龐大,然而由UDDI所提供的服務搜尋機制並無法有效找到使用者所需要的網路服務,如何精確地搜尋出合適的網路服務成了一大困難與挑戰。近年來,許多研究致力於結合語意網技術來實現自動化的服務搜尋與自動化的服務組裝。而以目前語意網為基礎的搜尋機制下,敘述邏輯(Description Logics)扮演了很重要的腳色,敘述邏輯廣泛地被應用在網路服務的描述,及以知識本體語言OWL之定義。但是對於一般的使用者來說,敘述邏輯過於複雜而不易理解,而造成系統使用上的門檻障礙。另外知識本體的維護也是一個重要的議題,傳統由小部分管理者負責的維護方式有兩個缺點: (1)知識本體的更新所需時間過長而且欠缺完整性,(2)管理者與一般使用者對於知識本體的解讀有所落差,造成更新的知識本體可能並不是使用者所需要。本論文中,我們的目的為三: (1)改進先前以語意網為基礎的服務組合架構服務搜尋與組裝系統,降低語意網應用系統的使用門檻 (2)提出一個具體的方法論有效地維護知識本體 (3)運用所提出的系統架構,我們以旅遊業為例,實作出一個客製化的旅遊行程規劃系統;動態組合現有網路服務,滿足使用者的需求。們使用現有的語意網與網路服務技術:WSDL、SWRL、OWL、BPEL4WS,結合Web2.0技術作為系統架構的基礎,我們希望可以提供使用者一套易於使用,共同維護的服務搜尋與組裝系統。我們相信,透過結合語意網與Web2.0技術,本論文能改進現階段地語意網應用系統架構,對於語意網技術未來的發展走向提供了一個實質上的參考。Web Services which are specific functionalities and can be combined to meet a particular user''s needs have become a mature technology in the past few years. However, theiscovery and search mechanism provided by UDDI based on keyword matching may leado an ambiguous answer. It is a challenge to target the suiting Web services precisely.emantic Web technology provides another option for service matching. It enables aervice profile to be described according to its functionalities in OWL, which is based on Description Logics. Recently, researchers are dedicated on studying Semantic Web technology as a primary tool for ontology-based Web Services searching and invocation. With help of precise semantics description, Web Services are able to be utilized automatically.nder such a Semantic Web search mechanism, Web Services profile and domainntology are both described by Description Logics. However, potential users often doot have any knowledge about Description Logics. That creates a huge gap and critically imposes high entrance barriers for the user. Besides, ontology maintenance is another important issue for Semantic Web applications. Ontology maintenance is a time-consuming job. ntology maintenance is usually controlled by a small group of people. But it haseveral drawbacks: (1) the addition can be time-consuming and lack of completion and (2) the ontology maintainer read the concept in the different manner from how potential user does. ccordingly, sometimes concepts become obsolete by the time they enter thentology.n the long run, ontology maintenance cannot be ignored especially in such a Semantic Web application.n this thesis, we proposed: (1) an open system architecture to lower the entrancearriers of Semantic Web applications, (2) a practical approach to ontology maintenance, and (3) a new prototype system. The Traveller was implemented based on our ontology-ased architecture and related methodologies. With the service composition and execution architecture, the user is able to find suiting Web Services, invoke services by defining BPEL4WS, and participate in collaborative ontology maintenance without knowing any Semantic languages.1 Introduction . . . . . 1.1 Background . . . . . 1.2 Motivation and Objectives . . . . . 2.3 Thesis Outline . . . . . 4 Related Work . . . . . 5.1 Web Services . . . . . . 5.1.1 Web Service Description Language(WSDL) . . . . . 6.1.2 UDDI . . . . . . 8.1.3 SOAP . . . . . . 9.2 Semantic Web . . .10.2.1 Resource Description Framework(RDF) . . . . 10.2.2 Web Service Modeling Ontology(WSMO) . . . . 11.2.3 OWL-S . . . . . . . . . . . . . . . . . . . 12.2.4 Modeling Ontology of Time and Value . . . . 14.3 Service Matching and Ranking . . . . . . . . .16.3.1 Service Matching . . . . . . . . . . . . . .16.3.2 Service Ranking . . . . . . . . . . . . . . 18.4 Web Services Composition . . . . . . . . . . .20.5 Related Projects . . . . . . . . . . . . . . .20.5.1 SATINE Project . . . . . . . . . . . . . . .20.5.2 European Semantic Systems Initiative (ESSI).. 21.5.3 EON Architecture . . . . . . . . . . . . . 23 Preliminaries . . . . . 25.1 Description Logics . . . . . . . . . . . . 25.1.1 Description Logics Syntax and Semantics . 27.2 OWL . . . . . . . . . . . . . . . . . . . . 30.3 Semantic Web Rule Language: SWRL . . . . . 31.3.1 SWRL Editor . . . . . . . . . . . . . . . 31.4 Quantitative Relations . . . . . . . . . . 32.5 Web Service Description Language(WSDL) . . 36.6 Web Services Business Process Executionanguage(WS-BPEL) . . . . . . . . . . . . . . . 38.7 Web 2.0 Technology . . . . . . . . . . . . .39 Service Composition and Execution Based on Semantic Technology . . . . . 41.1 Overview of Web Services Composition Architecture Based on Semantic Technology . . . . . . . 41.1.1 Web Services Composition . . . 42.1.2 Design ofWeb Services Composition Architecture Based on Semantic Technology . . . . . . . . . 46.2 Service Composer . . . . . . . . .52.2.1 Design of the Service Composer . 52.2.2 Architecture of the Service Composer . 54.3 Knowledge Base Management System . . 58.3.1 Design of the Knowledge Base Management System . . 58.3.2 Architecture of the Knowledge Base System . . . . 58.4 Ontology Modeling . . . . . . . . . . 62.4.1 Service Composition Mechanism . . . .67.4.2 Service Execution Based on Semantic Technology . . 69.5 Constraint Handling . . . . . . . . . . . . . . . . . 69.5.1 Constraints . . . . . . . . . . . . . . . . . . . . 70.5.2 Time Constraint . . . . . . . . . . . . . . . . . . 71.5.3 Value Partition . . . . . . . . . . . . . . . . . . 72.6 Ontology Maintenance . . . . . . . . . . . . . . . . 73.6.1 Wiki-supported Ontology Engineering . . . . . . . . 73.6.2 The Model of Ontology Maturing . . . . . . . . . . 75.6.3 Wiki Community Component and Ontology Maintain Procedure . . . . . 76.7 Service Execution . . . . . . . . . . . . . . . . . . 79.7.1 Design of the Service Execution Module . . . . . . 79.7.2 Architecture of the Service Execution Module . . . 79.7.3 Development of the Business Process Execution Language . . . . 81 Implementation - The Traveller . . . . . 85.1 The System Design . . . . . . . . . . .85.2 Service Description . . . . . . . . . 87.2.1 Trip Requirement Description . . . . 88.2.2 Service Advertisement Description . 89.3 Implementation of the Traveller . . . 90.3.1 Implementation of the Service Composer . 92.3.2 Implementation of the Knowledge Base Management System . . . 94.4 Ontology Design . . . . . . . . . . . 97.4.1 The Tourism Domain Ontologies . . . 97.4.2 The Spot Ontology . . . . . . . . . 97.4.3 The Requirement Ontology . . . . . . 100.4.4 The Advertisement Ontology . . . . . 103.5 Constraint Checking . . . . . . . . . 106.5.1 Time Constraints . . . . . . . . . . 108.5.2 Budget Constraints . . . . . . . . . 110.6 Constraint Rules . . . . . . . . . . . 112.6.1 PAL Rules . . . . . . . . . . . . . .112.6.2 SWRL Rules . . . . . . . . . . . . . 113.7 The Traveller Demonstration . . . . . .115.7.1 Matching Service Process . . . . . . 115 Conclusion 118.1 Contributions . . . . . . . . . . . . .118.2 Future Work . . . . . . . . . . . . . 119application/pdf3414866 bytesapplication/pdfen-USAJAXBPELBPEL4WSProtegeWeb2.0描述邏輯知識本體語言規則語意網語意網應用服務組合服務執行網路服務Description LogicsOntologyOWLSemantic WebSemantic Web applicationSemantic Web ServiceService ExecutionSWRLWeb ServicesWeb 2.0一套結合語意網與Web 2.0技術的服務搜尋與組裝系統Web Services Search and Composition byombining Web 2.0 and Semantic Web Technologyhttp://ntur.lib.ntu.edu.tw/bitstream/246246/179861/1/ntu-97-R95725047-1.pdf