translating ontologies from predicate based to frame
play

Translating Ontologies from Predicate-based to Frame-based Languages - PowerPoint PPT Presentation

Translating Ontologies from Predicate-based to Frame-based Languages Jos de Bruijn and Stijn Heymans Digital Enterprise Research Institute (DERI) University of Innsbruck, Austria { jos.debruijn,stijn.heymans } @deri.org RuleML 2006 2006-11-10


  1. Translating Ontologies from Predicate-based to Frame-based Languages Jos de Bruijn and Stijn Heymans Digital Enterprise Research Institute (DERI) University of Innsbruck, Austria { jos.debruijn,stijn.heymans } @deri.org RuleML 2006 2006-11-10 1/18

  2. Outline The Semantic Web Languages Zoo Translating Predicate-based Ontologies to F-Logic The Translation Cardinal Formulas Equality-safe Formulas SHIQ Layering 2/18

  3. Description Logic Programs (DLP) ◮ Intersection of SHOIN (OWL DL) and Logic Programming ◮ Essentially, the Horn subset of SHOIN : DHL (Description Horn Logic) ◮ DHL descriptions: − → A | C ⊓ D | ∃ R . { o } C , D C L , D L − → C | C L ⊔ D L | ∃ R . C L | � 1 R L | { o 1 , . . . , o n } C R , D R − → C | ∀ R . C R ◮ DHL axioms: C L ⊑ D R | C ≡ D | R ⊑ S | R ≡ S | R ≡ S − | Trans( R ) | ⊤ ⊑ ∀ R − . C R | ⊤ ⊑ ∀ R . C R | a ∈ A | � a , b � ∈ R 4/18

  4. Layering on DLP ◮ A DHL ontology Φ and the corresponding logic program P Φ agree on ground entailment (Herbrand) Example Φ = { ( Male ⊔ Female ) ⊓ ∃ hasSpecies . { human } ⊑ Person ; Person ⊑ ∀ hasName . String ; john ∈ Person ; � john , “ John ′′ � ∈ hasName } { Person ( x ) ← Male ( x ) , hasSpecies ( x , human ); P Φ = Person ( x ) ← Female ( x ) , hasSpecies ( x , human ); String ( y ) ← Person ( x ) , hasName ( x , y ); Person ( john ); hasName ( john , “ John ′′ ) } Both Φ and P Φ have as only ground entailments: Person ( john ); hasName ( john , “ John ′′ ); String (“ John ′′ ) 5/18

  5. DLP and F-Logic Programs Example Φ = { ( Male ⊔ Female ) ⊓ ∃ hasSpecies . { human } ⊑ Person ; Person ⊑ ∀ hasName . String ; john ∈ Person ; � john , “ John ′′ � ∈ hasName } P Φ = { x : Person ← x : Male , x [ hasSpecies → → human ]; x : Person ← x : Female , x [ hasSpecies → → human ]; y : String ← x : Person , x [ hasName → → y ]; → “ John ′′ ] john : Person ; john [ hasName → } ◮ P Φ has as only ground entailments: → “ John ′′ ]; “ John ′′ : String john : Person ; john [ hasName → ◮ This corresponds to the ground entailments of Φ ◮ But, does this hold for all DHL ontologies? 6/18

  6. � The Semantic Web Languages Zoo F-Logic LP OWL DL (SWSL-Rule, WRL, WSML-Rule) � ������������������� � � � � � � � � � � � � � � � � � � � � � � � � � DHL / DLP 7/18

  7. � � The Semantic Web Languages Zoo (con’t.) WSML-Full (F-Logic FOL with nonmon) � ������������������� � � � � � � � � � � � � � � � � � � � WSML-DL WSML-Rule ( SHIQ ) (F-Logic LP) � ������������������� � � � � � � � � � � � � � � � � � � � WSML-Core ( DHL ) 8/18

  8. The Translation Entity Predicate style Frame style Class δ ( A ( X )) X : A Property δ ( R ( X , Y )) X [ R → → Y ] Equality δ ( X = Y ) X = Y δ ( P ( � P ( � n -ary predicate X )) X ) δ ( ∀ � ∀ � Universal x ( φ )) x ( δ ( φ )) Existential δ ( ∃ � x ( φ )) ∃ � x ( δ ( φ )) δ ( φ ∧ ψ ) ( δ ( φ ) ∧ δ ( ψ )) Conjunction Disjunction δ ( φ ∨ ψ ) ( δ ( φ ) ∨ δ ( ψ )) Implication δ ( φ ⊃ ψ ) ( δ ( φ ) ⊃ δ ( ψ )) Negation δ ( ¬ φ ) ¬ ( δ ( φ )) 10/18

  9. Translation Example φ = ( ∀ x , y ( x = y )) ⊃ ( q ( a ) ↔ r ( a )). “If every individual is equal to every other, then the interpretations of q and r coincide.” φ is not a theorem of first-order logic. δ ( φ ) = ( ∀ x , y ( x = y )) ⊃ ( a : q ↔ a : r ). “If every individual is equal to every other, then a is either a member of both q and r or of neither.” δ ( φ ) is a theorem of F-Logic, because class identifiers are interpreted as individuals. φ is not a cardinal formula. 11/18

  10. Cardinal Formulas Definition φ ∈ L is a formula and γ is the number of symbols in L . An interpretation w = � U , · I � is cardinal if | U | ≥ γ . φ is cardinal if the following holds: If φ is true in every cardinal interpretation of L , then φ is true in every interpretation of L . Theorem Let Φ ⊆ L be a set of formulas and φ ∈ L be a formula, if Φ | = φ then δ (Φ) | = f δ ( φ ) . If ¬ ( � Φ) ∨ φ is cardinal, then also Φ | = φ iff δ (Φ) | = f δ ( φ ) . 12/18

  11. Cardinal Formulas (con’t.) ◮ Definition of cardinal formulas is semantical ◮ Which classes of formulas are cardinal? Lemma (Chen, Kifer, and Warren, 93) The following classes of first-order formulas are cardinal. 1. Sets of equality-free sentences, and 2. formulas of the form ¬ S, where S is a conjunction of Horn clauses without equality in the head. Captures OWL DL without nominals, number restrictions, functional properties, and equality assertions. Is sufficient for layering F-Logic on top of DHL . Can we do better? Yes! 13/18

  12. E -safe Formulas Definition l ESF ::= A | ¬ A | φ 1 ∧ φ 2 | φ 1 ∨ φ 2 | ∀ � x ( χ ⊃ φ ) | ∃ � x ( χ ∧ φ ) A is an atom p ( � t ) or t 1 = t 2 with t 1 , t 2 either both ground or non-ground terms; φ, φ 1 , φ 2 are l E -safe formulas; χ is an atom p ( � t ) or a conjunction of atoms of the form p ( � t ) such that the variable graph of χ is connected; every free variable in φ must appear in χ . ESF ::= ϕ | ∀ x ( φ ) | ∃ x ( φ ) | ψ 1 ∧ ψ 2 | ψ 1 ∨ ψ 2 ψ 1 , ψ 2 are E -safe formulas; φ , ϕ are l E -safe formulas; x is the only free variable in φ . 14/18

  13. E -safe Formulas (con’t.) Example The following formulas are E -safe: ∀ x ( p ( x ) ⊃ q ( x )) ∀ x ( s ( x , y ) ⊃ p ( x )) ∃ x , y ( p ( x ) ∧ r ( x , y ) ∧ x = y ) ∀ x ( r ( x )) The following formulas are not E -safe: ∀ x , y ( x = y ) ∀ x , y ( a ( x ) ∧ a ( y ) ⊃ x = y ) ∀ x , y ( x = y ⊃ p ( x , y )) ∀ x ( x = a ) ∀ x ( x = a ) is equivalent to the SHOIQ axiom ⊤ ⊑ { a } , thus SHOIQ is not E -safe. 15/18

  14. E -safe formulas are cardinal Lemma The class of E -safe sentences is cardinal. 16/18

  15. SHIQ formulas are E -safe Theorem Any (negation of a) SHIQ axiom φ can be rewritten to an E -safe formula φ ′ such that φ and φ ′ are equivalent, i.e., share the same models. Corollary Let Φ be a set of SHIQ axioms and φ a SHIQ axiom, then Φ | δ (Φ) | = φ iff = f δ ( φ ) . Establishes layering of WSML-Full on top of WSML-DL. 17/18

  16. Questions? 18/18

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend