1. Trang chủ
  2. » Công Nghệ Thông Tin

Semantic Web Technologies phần 4 docx

33 398 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 33
Dung lượng 480,45 KB

Nội dung

5.7 SYNTACTIC RELEVANCE-BASED SELECTION FUNCTIONS As we have pointed out in Section 5.4, the definition of the selection function should be independent of the general procedure of the incon- sistency processing (i.e., strategy). Further research will focus on a formal development of selection functions. However, we would like to point out that there exist several alternatives which can be used for an inconsis- tency reasoner. Chopra et al. (2000) propose syntactic relevance to measure the relationship between two formulas in belief sets, so that the relevance can be used to guide the belief revision based on Schaerf and Cadoli’s method of approximate reasoning. We will exploit their relevance measure as selection function and illustrate them on two examples. Definition 9 (Direct Relevance and k-Relevance (Chopra et al. 2000)). Given a formula set Æ, two atoms p, q are directly relevant, denoted by R(p, q, Æ) if there is a formula a 2 Æ such that p, q appear in a. A pair of atoms p and q are k-relevant with respect to Æ if there exist p 1 ,p 2 ,ÁÁÁ,pk2Lsuch that:  p, p 1 are directly relevant;  p i ,p i+1 are directly relevant, i ¼ 1,ÁÁÁ, k À 1;  p k , q are directly relevant. The notions of relevance are based on propositional logics. However, ontology languages are usually written in some subset of first order logic. It would not be too difficult to extend the ideas of relevance to those first- order logic-based languages by considering an atomic formula in first- order logic as a primitive proposi tion in propositional logic. Given a formula f, we use I(f), C(f), R(f) to denote the sets of individual names, concept names, and relation names that appear in the formula f, respectively. Definition 10 (Direct Relevance). Two formula f and c are directly relevant if there is a common name which appears both in formula f and formula c, that is I(f) \ I(c) 6¼ Ø _ C (f) \ C(c) 6¼ Ø _ R(f) \ R(c) 6¼ Ø. Definition 11 (Direct Relevance to a Set). A formula f is relevant to a set of formula Æ if there exists a formula c 2 Æ such that f and c are directly relevant. We can similarly specialize the notion of k-relevance. Definition 12 (k-Relevance). Two formulas f, f’ are k-relevant with respect to a formula set Æ if there exist formulas c 0 ,ÁÁÁc k 2 Æ such that f and c 0 , c 0 and c 1 , ÁÁÁ, and ck and f’ are directly relevant. Definition 13 (k-Relevance to a set). A formula f is k-relevant to a formula set Æ if there exists formula c 2 Æ such that f and c are k-relevant with respect to Æ. In inconsistency reasoning we can use syntactic relevance to define a selection function s to extend the query ‘Æ j% f?’ as follows: We start with SYNTACTIC RELEVANCE-BASED SELECTION FUNCTIONS 85 the query formula f as a starting point for the selection based on syntactic relevance. Namely, we define: s(Æ, f,0)¼ Ø. Then the selection function selects the formulas c 2 Æ which are directly relevant to f as a working set (i.e., k ¼ 1) to see whether or not they are sufficient to give an answer to the query . Namely, we define: s(Æ, f,1)¼ {c 2 Æ j f and c are directly relevant}. If the reasoning process can obtain an answer to the query, it stops. otherwise the selection function increases the relevance degree by 1, thereby adding more formulas that are relevant to the current working set. Namely, we have: s(Æ, f, k) ¼ {c 2 Æ j c is directly relevant to s(Æ, f, k – 1)}, for k > 1. This leads to a ‘fan out’ behavior of the selection function: the first selection is the set of all formulae that are directly relevant to the query; then all formulae are selected that are directly relevant to that set, etc. This intuition is formalized in the following: Proposition 3. The syntactic relevance-based selection function s is mono- tonically increasing. Proposition 4. If k ! 1, then s(Æ, f, k) ¼ {fjf is (k-1)-relevant to Æ} The syntactic relevance-based selection functions defined above usually grows up to an inconsistent set rapidly. That may lead to too many undetermined answers. In order to improve it, we require that the selection function returns a consistent subset Æ 00 at the step k when s(Æ, f, k) is inconsistent such that s (Æ , f, k À 1) & Æ 00 & s(Æ, f, k). It is actually a kind of backtracking strategy which is used to reduce the number of undetermined answers to improve the linear extension strategy. We call the procedure an over-determined processing (ODP) of the selection function. Note that the over-determined processing does not need to exhaust the powerset of the set s(Æ, f, k) À s(Æ, f, k À 1) because of the fact that if a consistent set S cannot prove or disprove a query, then nor can any subset of S. Therefore, one approach of ODP is to return just a maximally consistent subset. Let n be jÆj and k be n – jSj, that is the cardinality difference between the ontology Æ and its maximal consistent subset S (note that k is usually very small), and let C be the complexity of the consistency checking. The complexity of the over-determined proces- sing is polynomial to the complexity of the consistency checking (Huang et al., 2005). 86 REASONING WITH INCONSISTENT ONTOLOGIES Note that ODP introduces a degree of non-determinism: selecting different maximal consistent subsets of s(Æ, f, k) may yield different answers to the query Æ j% f. The simplest example of this is Æ ={f, :f}. 5.8. PROTOTYPE OF PION 5.8.1. Implementation We are implementing the prototype of PION by using SWI-Prolog. 5 PION implements an inconsistency reasoner based on a linear extension strategy and the syntactic relevance-based selection function as discussed in Sections 5.6 and 5.7. PION is powered by XDIG, an extended DIG Description Logic interface for Prolog (Huang and Visse r, 2004). PION supports the TELL requests in DIG data format and in OWL, and the ASK requests in DIG data format. A prototype of PION is available for download at the website: http://wasp.cs.vu.nl/sekt/pion. The architecture of a PION is designed as an extension of the XDIG framework, and is shown in Figure 5.3. A PION consists of the following components:  DIG Server: The standard XDIG server acts as PION’s XDIG server, which deals with requests from other ontology applications. It not only supports standard DIG requests, like ‘tell’ and ‘ask,’ but also provides additional reasoning facilities, like the identification of the reasoner or change of the selected selection functions.  Main Control Component: The mai n control component performs the main processing, like query analysis, query pre-processing, and the extension strategy, by calling the selection function and interacting with the ontology repositories. 5 http://www.swi-prolog.org Figure 5.3 Architecture of PION. PROTOTYPE OF PION 87  Selection Functions: The selection function component is an enhanced component to XDIG, it defines the selection functions that may be used in the reasoning process.  DIG Client: PION’s DIG client is the standard DIG client, which calls external description Logic reasoners that support the DIG interface to obtain the standard Description Logic reasoning capabilities.  Ontology Repositories: The ontology repositories are used to store ontology statements, provided by external ontology applications. The current version of the PION implements a reasoner based on a linear extension strategy and a k-relevance selection function as discussed in Sections 5.2 and 5.5. A screenshot of the PION testbed, is shown in Figure 5.4. 5.8.2. Experiments and Evaluation We have tested the prototype of PION by applying it on several example ontologies. These example ontologies are the bird example, the brain example, the Married-Woman example, and the MadCow Ontology, which are discussed in Section 5.3. We compare PION’s answers with their intuitive answers which is supposed by a human to see to what extend PION can provide intended answers. For a query, there might exist the following difference between an answer by PION and its intuitive answer.  Intended Answer: PION’s answer is the same as the intuitive answer.  Counter-Intuitive Answer: PION’s answer is opposite to the intuitive answer. Namely, the intuitive answer is ‘accepted’ whereas PION’s answer is ‘rejected,’ or vice versa.  Cautious Answer: The intuitive answer is ‘accepted’ or ‘rejected,’ but PION’s answer is ‘undetermined.’  Reckless Answer: PION’s answer is ‘accepted’ or ‘rejected’ whereas the intuitive answer is ‘undetermined.’ We call it a reckless answer because under this situation PION returns just one of the possible answers without seeking other possibly opposite answers, which may lead to ‘undetermined.’ For each concept C in those ontologies, we create an instance ‘the_C’on them. We make both a positive instance query and a negative instance query of the instance ‘the_C’ for some concepts D in the ontologies, like a query is ‘the_C a D?’ PION test results are shown in Figure 5.5. Of the four test examples, PION can return at least 85.7 % intended answers. Of the 396 queries, PION returns 24 cautious answers or reckless answers, and 2 counter-intuitive answers. However, we would like to point out that the high rate of the intended answers includes many ‘undetermined’ answers. One interesting (and we believe realistic) property of the Mad 88 REASONING WITH INCONSISTENT ONTOLOGIES Figure 5.4 PION testbed. Cows ontology is that many concepts which are intuitively disjoint (such as cows and sheep) are not actually declared as being disjoint (keep in mind that OWL has an open world semantics, and does not make the unique name assumption). As a result, many queries such as ‘is the_cow a sheep’ are indeed undetermined on the basis of the ontology, and PION correctly reports them as undetermined. The average time cost of the tested queries is about 5 seconds even on a low-end PC (with 550 mHz CPU, 256 MB memory under Windows 2000). The counter-intuitive results occur in the MadCows Example. PION returns the ‘accepted’ answer to the query ‘is the_mad_cow a vege- tarian?’ This counter-intuitive answer results from the weakness of the syntactic relevance-based selection function because it always pre- fers a shorter relevance path when a conflict occurs. In the mad cow example, the path ‘mad cow – cow – vegetarian’ is shorter than the path ‘mad cow –.eat brain – eat bodypart – sheep are animals – eat animal – NOT vegetarian.’ Therefore, the syntactic relevance-based selection function finds a consistent subtheory by simply ignoring the fact ‘sheep are animals.’ The problem results from the unbalanced specifica- tion between Cow and MadCow, in which Cow is directly specified as a vegetarian whereas there is no direct statement ‘a MadCow is not a vegetarian.’ There are several alternative approaches to solve this kind of problems. One is to introduce the locality requirement. Namely, the selection function starts with a certain subtheory which must always be selected. For example, the statement ‘sheep are animals’ can be considered to be a knowledge statement which cannot be ignored. Another approach is to add a shortcut path, like the path ‘mad cow – eat animal – NOT vegetarian’ to achieve the relevance balance between the concepts ‘vegetarian’ and NOT vegetarian,’ as shown in the second mad cow example of PION testbe d. The latter approach can be achieved auto- matically by accommodation of the semantic relevance from the user queries. The hypothesis is that both concepts appear in a query more frequently, when they are semantically more relevant. Therefore, from a semantic point of view, we can add a relevance shortcut path between strongly relevant concepts. Example Queries IA CA RA CIA IA Rate(%) ICR Rate(%) Bird 50 50 0 0 0 100 100 Brain 42 36 4 2 0 85.7 100 MarriedWoman 50 48 0 2 0 96 100 MadCow 254 236 16 0 2 92.9 99 IA, intended answers; CA, cautious answers; RA, reckless answers; CIA, counter-intuitive answers; IA Rate, intended answers (%); ICR rate, IA+CA+RA (%). Figure 5.5 PION test results. 90 REASONING WITH INCONSISTENT ONTOLOGIES 5.8.3. Future Experiments As noted in many surveys of current Semantic Web work, most Semantic Web applications to date (including those included in this volume) use rather lightweight ontologies. These lightweight ontologies are often expressed in RDF Schema, which means that by definition they will not contain any inconsistencies. However, closer inspection by Schlobach (2005a) revealed that such lightweight ontologies contain many implicit assumptions (such as disjointness of siblings in the class hierarchy) that have not been modeled explicitly because of the limitations of the lightweight representation language Schlobach’s (2005a) study reveals that after making such implicit disjointness assumptions explicit (a process called semantic clarification ), many of the ontologies do reveal internal inconsistencies. In future experiments, we intend to determine to which extent it is still possible to locally reason in such semantically clarified inco nsistent ontologies using the heuri stics described in this chapter. 5.9. DISCUSSION AND CONCLUSIONS In this chapter, we have presented a framework for reasoning with inconsistent ontologies. We have introduced the formal definitions of the selection functions, and investigated the strategies of inconsistency reasoning processing based on a linear extension strategy. One of the novelties of our approach is that the selection functions depend on individual queries. Our approach differs from the traditional one in paraconsistent reasoning, nonmonotonic reasoning, and belief revision, in which a pre-defined preference ordering for all of the queries is required. This makes our approach more flexible, and less inefficient to obtain intended results. The selection functions can be viewed as ones creating query-specific preference orderings. We have implemented and presented a prototype of PION. In this chapter, we have provided the evaluation report of the prototype by applying it to the several inconsistent ontology examples. The tests show that our approach can obtain intuitive results in most cases for reasoning with inconsistent ontologies. Considering the fact that standard reason- ers always result in either meaningless answers or incoherence errors for queries on inconsistent ontologies, we can claim that PION can do much better because it can provide a lot of intuitive, thus meaningful answers. This is a surprising result given the simplicity of our selectio n function. We are also working on a framework for inconsistent ontology diagnosis and repair by defining a number of new nonstandard reason- ing services to explain inconsistencies through pinpointing (Schlobach and Huang, 2005). An informed bottom-up approach to calculate DISCUSSION AND CONCLUSIONS 91 minimally inconsistent sets by the support of an external Description Logic reasoner has been proposed in Schlobach and Huang (2005). That approach has been prototypically implemented as the DION (Debugger of Inconsistent Ontologies). DION uses the relevance relation which has been used in PION as its heuristic information to guide the selecting procedure for finding minimally inconsistent sets. That justifies to some extent that the notion of ‘concept relevance’ is useful for inconsistent ontology processing. In future work, we are going to test PION with more large-scale ontology examples. We are also going to inve stigate different approaches for selection functions (e.g., semantic-relevance based) and different extension strategies as alternatives to the linear extensio n strategy in combination with different selection functions, and test their perfor- mance. ACKNOWLEDGMENT We are indebted to Peter Haase for so carefully proofreading this chapter. REFERENCES Alchourron C, Gaerdenfors P, Makinson D. 1985. On the logic of theory change: partial meet contraction and revision functions. The Journal of Symbolic Logic 50: 510–530. Belnap N. 1977. A useful four-valued logic. In Modern Uses of Multiple-Valued Logic, Reidel, Dordrecht, pp 8–37. Benferhat S, Garcia L. 2002. Handling locally stratified inconsistent knowledge bases, Studio Logica, 77–104. Beziau J-Y. 2000. What is paraconsistent logic. In Frontiers of Paraconsistent Logic. Research Studies Press: Baldock, pp 95–111. Budanitsky A, Hirst G. 2001. Semantic distance in wordnet: An experimental, application-oriented evaluation of five measures. In Workshop on WordNet and Other Lexical Resources, Pittsburgh, PA. Chopra S, Parikh R, Wassermann R. 2000. Approximate belief revision-prelimi- ninary report. Journal of IGPL. Flouris G, Plexousakis D. Antoniou G. 2005. On applying the agm theory to dls and owl. In International Semantic Web Conference, LNCS, Springer verlag. Friedrich G, Shchekotykhin K. 2005. A general diagnosis method for ontologies. In International Semantic Web Conference, LNCS, Springer Verlag. Hameed A, Preece A. Sleeman D. 2003. Ontology reconciliation. In Handbook on Ontologies in Information Systems. Springer Verlag, pp 231–250. Huang Z, van Harmelen F, ten Teije A. 2005. Reasoning with inconsistent ontologies. In Proceedings of the International Joint Conference on Artificial Intelligence - IJCAI’05, pp 454-459. Huang Z, Visser C. 2004. Extended DIG description logic interface support for PROLOG, Deliverable D3.4.1.2, SEKT. 92 REASONING WITH INCONSISTENT ONTOLOGIES Lang J, Marquis P. 2001. Removing inconsistencies in assumption-based the-ories through knowledge-gathering actions. Studio, Logica, 179–214. Levesque HJ (1989). A Knowledge-level account of abduction. In Proceedings of IJCAI’89, pp 1061–1067. Marquis P, Porquet N. 2003. Resource-bounded paraconsistent inference. Annals of Mathematics and Artificial Intelligence, 349–384. McGuinness D, van Harmelen F. 2004. Owl web ontology language, Recommen- dation, W3C. http://www.w3.org/TR/owl-features/. Reiter R. 1987. A theory of diagnosis from first principles. Artificial Intelligence Journal 32:57–96. Schaerf M, Cadoli M. 1995. Tractable reasoning via approximation. Artificial Intelligence, 249–310. Schlobach S. 2005a. Debugging and semantic clarification by pinpointing. In Proceedings of the European Semantic Web Symposium, Vol. 3532 of LNCS, Springer Verlag, pp 226–240. Schlobach S. 2005b. Diagnosing terminologies. In Proceedings of the Twentieth National Conference on Artificial Intelligence, AAAI’05, AAAI, pp 670–675. Schlobach S, Cornet R. 2003. Non-standard reasoning services for the debugging of description logic terminologies. In Proceedings of IJCAI 2003’. Schlobach S, Huang Z. 2005 Inconsistent ontology diagnosis: Framework and prototype, Project Report D3.6.1, SEKT. REFERENCES 93 [...]... experience with semantic guides In 4th International Semantic Web Conference (ISWC2005), pp 1029–1 040 Shvaiko P, Euzenat J 2005 A survey of schema-based matching approaches Journal on Data Semantics 4: 146 –171 Uschold M 2000 Creating, integrating, and maintaining local and global ontologies In Proceedings of the First Workshop on Ontology Learning (OL-2000) in conjunction with the 14th European Conference... Predoiu L 2005 The web service modeling language WSML, W3C member submission 3 June 2005 URL: http:/ /www.w3.org/Submission/WSML/ de Bruijn J, Polleres A 20 04 Towards and ontology mapping specification language for the semantic web, Technical Report DERI-20 04- 06-30, DERI URL: http:/ /www.deri.at/publications/techpapers/documents/DERI-TR20 04- 06-30.pdf Dean M, Schreiber G 20 04 OWL web ontology language... Y 20 04 Ontology mapping—an integrated approach In Proceedings of the First European Semantic Web Symposium, ESWS 20 04, Vol 3053 of Lecture Notes in Computer Science, Springer-Verlag, Heraklion, Greece, pp 76–91 Giunchiglia F, Shvaiko P 20 04 Semantic matching The Knowledge Engineering Review 18(3):265–280 Giunchiglia F, Shvaiko P, Yatskevich M 20 04 S-match: An algorithm and an implementation of semantic. .. is available on the Semantic Web is currently very limited, and it is hard to validate the approaches using real ontologies REFERENCES Bouquet P, Giunchiglia F, van Harmelen F, Serafini L, Stuckenschmidt H 20 04 Contextualizing ontologies Journal of Web Semantics 1 (4) :325 Brickley D, Guha RV 20 04 RDF vocabulary description language 1.0: RDF schema, W3c recommendation 10 February 20 04, W3C URL: http:/... mediation enables reuse of data across applications on the Semantic Web and, in general, cooperation between different organizations In the context of semantic knowledge management, ontology mediation is especially important to enable sharing of data between heterogeneous knowledge bases and to allow applications to reuse data Semantic Web Technologies: Trends and Research in Ontology-based Systems... the 18th International Conference on Data Engineering (ICDE’02), IEEE Computer Society, 117 p Noy NF 20 04 Semantic integration: A survey of ontology-based approaches Sigmod Record, Special Issue on Semantic Integration 33 (4) :65–70 Noy NF, Musen MA 2000a Anchor-PROMPT: Using non-local context for semantic matching In Proceedings of the Workshop on Ontologies and Information Sharing at the Seventeenth... Studies 59(6): 983–10 24 Omelayenko B 2002 RDFT: A mapping meta-ontology for business integration In Proceedings of the Workshop on Knowledge Transformation for the Semantic Web (KTSW 2002) at the 15th European Conference on Artificial Intelligence, Lyon, France, pp 76–83 Rahm E, Bernstein PA 2001 A survey of approaches to automatic schema matching VLDB Journal: Very Large Data Bases 10 (4) :3 34 350 Scharffe... Staab S, Studer R (eds) Springer-Verlag, pp 397 41 6 Dou D, McDermott D, Qi P 2002 Ontology translation by ontology merging and automated reasoning, In ‘Proceedings EKAW2002 Workshop on Ontologies for Multi-Agent Systems’, pp 3–18 Ehrig M, Staab S 20 04 QOM—quick ontology mapping In Proceedings of the Third International SemanticWeb Conference (ISWC20 04) , van Harmelen F, McIlraith S, Plexousakis D (eds)... commented The remainder of the chapter presents the PROTON ontology, as an example for an ontology designed to support a number of KM and Semantic Web applications Some concrete ontology design examples and recommendations are given in this context Semantic Web Technologies: Trends and Research in Ontology-based Systems John Davies, Rudi Studer, Paul Warren # 2006 John Wiley & Sons, Ltd 116 ONTOLOGIES... 6 .4 SUMMARY Overlap and mismatches between ontologies are likely to occur when the vision of a Semantic Web with a multitude of ontologies becomes a reality There exist different approaches to ontology mediation These approaches can be broadly categorized as: (a) Ontology Mapping (Maedche et al., 2002; Scharffe and de Bruijn, 2005), (b) Ontology Alignment (Rahm and Bernstein, 2001; Doan et al., 20 04; . on Artificial Intelligence - IJCAI’05, pp 45 4 -45 9. Huang Z, Visser C. 20 04. Extended DIG description logic interface support for PROLOG, Deliverable D3 .4. 1.2, SEKT. 92 REASONING WITH INCONSISTENT. Artificial Intelligence, 249 –310. Schlobach S. 2005a. Debugging and semantic clarification by pinpointing. In Proceedings of the European Semantic Web Symposium, Vol. 3532 of LNCS, Springer Verlag, pp 226– 240 . Schlobach. owl. In International Semantic Web Conference, LNCS, Springer verlag. Friedrich G, Shchekotykhin K. 2005. A general diagnosis method for ontologies. In International Semantic Web Conference, LNCS,

Ngày đăng: 14/08/2014, 06:22