1 / 17

Consistency Checking of Semantic Web Ontologies

Consistency Checking of Semantic Web Ontologies. Kenneth Baclawski, Northeastern U. & VIS Mieczyslaw M. Kokar, Northeastern U. & VIS Richard Waldinger, SRI & Kestrel Paul A. Kogut, Lockheed Martin. Overview. Inconsistency UBOT Tools ConsVISor Snark Conclusions Future directions.

aiko
Download Presentation

Consistency Checking of Semantic Web Ontologies

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Consistency Checking of Semantic Web Ontologies Kenneth Baclawski, Northeastern U. & VIS Mieczyslaw M. Kokar, Northeastern U. & VIS Richard Waldinger, SRI & Kestrel Paul A. Kogut, Lockheed Martin

  2. Overview • Inconsistency • UBOT Tools • ConsVISor • Snark • Conclusions • Future directions

  3. Consistency con•sis•ten•cy agreement with what has already been done or expressed; conformity with previous practice [Webster] • An inconsistent ontology means one part of the • ontology does not agree with another • In logic: from P and not(P) can derive anything Inconsistency is a dangerous thing for autonomous agents!

  4. Logical Consistency • Definition: there exists a non-trivial model of the theory. • If a theory is inconsistent then every logical statement can be proven true. • Our Opinion: • One consistent ontology for Semantic Web – impossible • Consistent subsets of a set of ontologies – but need to know when a given set is inconsistent – need warnings • Every single ontology should be consistent – need checking

  5. Inconsistent Ontology: Example (UML syntax) • Recursive combination of expressions • Elementary – constants, variables • Operation – includes operators (e.g., +, *) • Example: (x + y + 5)*(z + 3)*(a + b) • Problem: • at least twice more Operations than Expressions (cardinality constraint) • more Expressions than Operations (subClass constraint) • #Expression  #Operation  2*#Expression – inconsistency? • Operation – either empty or infinite! • Mistake: cardinality restrictions inverted (not uncommon)

  6. What’s wrong with this ontology?

  7. [Enzyme]  [Protein]  [Chemical]  [Reaction]<[Enzyme] Thus Enzyme<Enzyme! […] – class cardinality

  8. UBOT - Ontology Engineering Tools DAML Ontology Engineer CRAVE XMI models UML DAML Translation UML GUI DAML ontologies Consistency checking results DAML ontologies Consistency Reasoning Agent DAML ontologies DAML ontologies ConsVISor BugVISor Consistency checking results Specware SNARK

  9. ConsVISor • Input: URI for DAML ontology or annotation • Processing: Prolog-based tool that checks ontologies against the DAML+OIL axiomatic semantic specification • Output: list of error and warning messages • Role: • help ontology engineers check ontologies • help website developers check DAML annotations • Cannot check consistency of the language (DAML)

  10. ConsVISor Architecture daml20.pl Prolog DAML file d2p Modified daml20.pl Final Messages p2d Messages

  11. SNARK/Specware • Specware (from Kestrel Institute) • Formal specifications • Based on category theory • SNARK (from SRI) • Theorem prover (resolution, paramodulation, special unification, sorts, procedural attachments, extensibility with Lisp) • But may not terminate (when ontology is consistent) • Can check consistency of the language specification!

  12. Example (SNARK) Checking Consistency of DAML Axiomatization Revised axiom Original axiom: (<=> (Type ?fp FunctionalProperty) (and (Type ?fp Property) (=> (and (PropertyValue ?fp ?s ?v1) (PropertyValue ?fp ?s ?v2)) (= ?v1 ?v2)))) (<=> (Type ?fp FunctionalProperty) (and (Type ?fp Property) (forall (?s ?v1 ?v2) (=> (and (PropertyValue ?fp ?s ?v1) (PropertyValue ?fp ?s ?v2)) (= ?v1 ?v2))))) • With the original axiom every property is functional • Consequently, since rdf:Bag is both rdfs:Class and rdf:Resource • rdfs:Class = rdf:Resource

  13. Checking Restriction w/SNARK • daml:Restriction was used to state that one can have only one father (see [1]) • SNARK was able to prove that there is at least one father for everybody • But could not prove that there are no more than one • The problem was in the DAML specification of cardinality restriction • Specification has been revised [1] www.daml.org/2001/03/daml+oil-walkthru.html

  14. Conclusion • Inconsistencies are not desirable although not easy to avoid • It’s better to identify them and then decide how to treat them rather than ignore • ConsVISor is available at http://vis.home.mindspring.com for checking consistency of your DAML ontologies • Can be used to find problems in an ontology, not necessarily inconsistencies and not necessarily all • SNARK can find more, but will quit after some time • SNARK can be used to check language specifications

  15. Current/Future Work Ontology Or Annotated Source DAML Axioms ConsVISor Errors BugVISor Bug Locations Explanations DAML Bug Ontology

  16. Current/Future Work (cont.) • Integrate ConsVISor with Snark • Investigate ways to address time complexity of consistency checking • Make the integrated tool available on the web • Analyze errors due to merging different ontologies • Provide quantitative evidence of problems related to inconsistencies

More Related