SlideShare a Scribd company logo
1 of 20
Download to read offline
Web Science & Technologies
                      University of Koblenz ▪ Landau, Germany




A Model-Driven Approach for Using
  Templates in OWL Ontologies
        Fernando Silva Parreiras
             Gerd Gröner
             Tobias Walter
             Steffen Staab
Ontology Design Pattern




WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   2 of 20
Ontology Design Pattern




       How t
                                       Which c
                                           e
                                                lasses
                                             xtend       ?
                                ?
             o us e
         patter     a
                n


WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   3 of 20
Too much Knowledge!




       135                          Ontology Patterns




       702                      Classes in the COMM Ontology




WeST       Gerd Gröner               EKAW 2010
           groener@uni-koblenz.de    4 of 20
Templates




            Documents
            Web Page
            Templates in C++
            Java Classes (Generics)




WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   5 of 20
Advantages


            encapsulate complexity



                                           improve productivity
                                           (reuse templates)

       reliability of templates



                                   Bind and unbind templates

WeST              Gerd Gröner              EKAW 2010
                  groener@uni-koblenz.de   6 of 20
Model-Driven Approach


   Model-Driven Development raises the level of
   abstraction


                      
                          Template metamodel:
                          extend different OWL metamodels


                      Templates:
                       OWL ontologies
                       Queries



WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   7 of 20
Semantics of Ontology Templates


       Declarative specification



       Templates as generators




       OWL complexity is composed (not added)




WeST           Gerd Gröner              EKAW 2010
               groener@uni-koblenz.de   8 of 20
Methodology



        Ontology                                                    Effective
        Template                       Binding                      Ontology
                                                    Declaration(Class(:Genre))
                                                    Declaration(Class(:Group))
                                                    Declaration(Class(:Performer))
                                                    Declaration(Class(:Record))
                                                    Declaration(Class(:Object))
                                                    Declaration(Class(:Position))
                                                    DisjointClasses(:Position :Performer)
                                                    Declaration(ObjectProperty(:creatorOf))
                                                    SubObjectPropertyOf(:creatorOf owl:topObjectProperty)
                                                    Declaration(ObjectProperty(:hasStyle))
                                                    SubObjectPropertyOf(:hasStyle owl:topObjectProperty)
                                                    Declaration(ObjectProperty(:stylePeriod))
                                                    SubObjectPropertyOf(:stylePeriod owl:topObjectProperty)
                                                    Declaration(NamedIndividual(:Blues))
                                                    ClassAssertion(:Genre :Blues)
                                                    Declaration(NamedIndividual(:Country))
                                                    ClassAssertion(:Genre :Country)
                                                    Declaration(NamedIndividual(:Mick))
                                                    ClassAssertion(:Performer :Mick)
                                                    Declaration(NamedIndividual(:Rock))
                                                    ClassAssertion(:Genre :Rock)
                                                    Declaration(NamedIndividual(:Samba)
                                                    ClassAssertion(:Genre :Samba)




WeST          Gerd Gröner               EKAW 2010
              groener@uni-koblenz.de    9 of 20
Ontology Template




WeST        Gerd Gröner              EKAW 2010
            groener@uni-koblenz.de   10 of 20
Encapsulate Ontology Patterns




WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   11 of 20
Reuse Existing SWRL Rules




WeST        Gerd Gröner              EKAW 2010
            groener@uni-koblenz.de   12 of 20
Many Versions of Ontologies




WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   13 of 20
Binding


        Transformation of the implicit ontology
          document to the effective ontology




       Replace parameters with the actual values
              from the domain ontology




WeST          Gerd Gröner              EKAW 2010
              groener@uni-koblenz.de   14 of 20
Binding Example



Agent role
template




WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   15 of 20
Effective Ontology
  Declaration(Class(:Record))
  Declaration(Class(:Object))
  Declaration(Class(:Position))
  DisjointClasses(:Position :Performer)
  Declaration(ObjectProperty(:creatorOf))
  SubObjectPropertyOf(:creatorOf owl:topObjectProperty)
  Declaration(ObjectProperty(:hasStyle))
  SubObjectPropertyOf(:hasStyle owl:topObjectProperty)
  Declaration(ObjectProperty(:stylePeriod))
  SubObjectPropertyOf(:stylePeriod owl:topObjectProperty)
  Declaration(NamedIndividual(:Blues))
  ClassAssertion(:Genre :Blues)
  Declaration(NamedIndividual(:Country))
  ClassAssertion(:Genre :Country)
  Declaration(NamedIndividual(:Mick))
  ClassAssertion(:Performer :Mick)
  Declaration(NamedIndividual(:Rock))
  ClassAssertion(:Genre :Rock)
  Declaration(NamedIndividual(:Samba)
  ClassAssertion(:Genre :Samba)

WeST             Gerd Gröner              EKAW 2010
                 groener@uni-koblenz.de   16 of 20
Artists of a given style



  Prefix: owl = <http://www.w3.org/2002/07/owl#>
  IRI <http://ArtistsStyle#>
  Parameters: ?artist type owl:Class,
                   ?style type owl:oneOf
  Select ?x
  Where (
       ?x type (?artist and (hasStyle some ?style))
  )
WeST           Gerd Gröner              EKAW 2010
               groener@uni-koblenz.de   17 of 20
Groups and Styles popular in the USA




Prefix:   = <http://Ontology1261152793434.owl#>
Prefix: q = <http://ArtistsStyle#>
Bind: (q:artist Group) (q:style                   {Rock Blues Country})




WeST         Gerd Gröner              EKAW 2010
             groener@uni-koblenz.de   18 of 20
Effective Query


 Prefix:   = <http://Ontology1261152793434.owl#>
 Select ?x
 Where (
       ?x type (Group and
           (hasStyle some {Rock Blues Country} ))
 )




WeST          Gerd Gröner              EKAW 2010
              groener@uni-koblenz.de   19 of 20
Conclusion


              Saves Time


                                              Multiple Languages


 Multiple Syntaxes




       Download it and try yourself!           http://twouse.googlecode.com/



WeST              Gerd Gröner              EKAW 2010
                  groener@uni-koblenz.de   20 of 20

More Related Content

Viewers also liked

Jose rizo theme 4 part 2
Jose rizo theme 4 part 2Jose rizo theme 4 part 2
Jose rizo theme 4 part 2
jrizo87
 
Jose rizo theme 4 part 1
Jose rizo theme 4 part 1Jose rizo theme 4 part 1
Jose rizo theme 4 part 1
jrizo87
 
【Maclean liu技术分享】深入了解oracle asm(一)基础概念
【Maclean liu技术分享】深入了解oracle asm(一)基础概念【Maclean liu技术分享】深入了解oracle asm(一)基础概念
【Maclean liu技术分享】深入了解oracle asm(一)基础概念
maclean liu
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
maclean liu
 
Toxic buttons
Toxic buttonsToxic buttons
Toxic buttons
Love Line
 
Francisco Correa CV
Francisco Correa CVFrancisco Correa CV
Francisco Correa CV
Fcocorrea
 
Major research presentation EOI Good
Major research presentation EOI GoodMajor research presentation EOI Good
Major research presentation EOI Good
The City of Toronto
 

Viewers also liked (18)

Jose rizo theme 4 part 2
Jose rizo theme 4 part 2Jose rizo theme 4 part 2
Jose rizo theme 4 part 2
 
Jose rizo theme 4 part 1
Jose rizo theme 4 part 1Jose rizo theme 4 part 1
Jose rizo theme 4 part 1
 
Edsel ayes-20-year-marketing-plan
Edsel ayes-20-year-marketing-planEdsel ayes-20-year-marketing-plan
Edsel ayes-20-year-marketing-plan
 
Puntuaciones provisionales (martes 25 a las 12h)
Puntuaciones provisionales (martes 25 a las 12h)Puntuaciones provisionales (martes 25 a las 12h)
Puntuaciones provisionales (martes 25 a las 12h)
 
【Maclean liu技术分享】深入了解oracle asm(一)基础概念
【Maclean liu技术分享】深入了解oracle asm(一)基础概念【Maclean liu技术分享】深入了解oracle asm(一)基础概念
【Maclean liu技术分享】深入了解oracle asm(一)基础概念
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
 
180 westcare
180 westcare180 westcare
180 westcare
 
Toxic buttons
Toxic buttonsToxic buttons
Toxic buttons
 
Puntuaciones provisionales
Puntuaciones provisionalesPuntuaciones provisionales
Puntuaciones provisionales
 
Content Marketing World 2014 talk - Jay Acunzo
Content Marketing World 2014 talk - Jay AcunzoContent Marketing World 2014 talk - Jay Acunzo
Content Marketing World 2014 talk - Jay Acunzo
 
Francisco Correa CV
Francisco Correa CVFrancisco Correa CV
Francisco Correa CV
 
Major research presentation EOI Good
Major research presentation EOI GoodMajor research presentation EOI Good
Major research presentation EOI Good
 
Z-krant: wordt vriend van de Z-krant!
Z-krant: wordt vriend van de Z-krant!Z-krant: wordt vriend van de Z-krant!
Z-krant: wordt vriend van de Z-krant!
 
Implementasi TLS dan SRTP pada VoIP Server
Implementasi TLS dan SRTP pada VoIP ServerImplementasi TLS dan SRTP pada VoIP Server
Implementasi TLS dan SRTP pada VoIP Server
 
BPM & KM: They Converge Quite Nicely
BPM & KM: They Converge Quite NicelyBPM & KM: They Converge Quite Nicely
BPM & KM: They Converge Quite Nicely
 
botox London
botox Londonbotox London
botox London
 
Ads
AdsAds
Ads
 
Miten toteutan informaation visualisoinnin?
Miten toteutan informaation visualisoinnin?Miten toteutan informaation visualisoinnin?
Miten toteutan informaation visualisoinnin?
 

Similar to Ontology templates

Semantic Recognition of Ontology Refactoring
Semantic Recognition of Ontology RefactoringSemantic Recognition of Ontology Refactoring
Semantic Recognition of Ontology Refactoring
Gerd Groener
 

Similar to Ontology templates (20)

Semantic Recognition of Ontology Refactoring
Semantic Recognition of Ontology RefactoringSemantic Recognition of Ontology Refactoring
Semantic Recognition of Ontology Refactoring
 
Introduction to Prolog
Introduction to PrologIntroduction to Prolog
Introduction to Prolog
 
Word Embeddings, why the hype ?
Word Embeddings, why the hype ? Word Embeddings, why the hype ?
Word Embeddings, why the hype ?
 
Evaluation Initiatives for Entity-oriented Search
Evaluation Initiatives for Entity-oriented SearchEvaluation Initiatives for Entity-oriented Search
Evaluation Initiatives for Entity-oriented Search
 
Factorization Machines and Applications in Recommender Systems
Factorization Machines and Applications in Recommender SystemsFactorization Machines and Applications in Recommender Systems
Factorization Machines and Applications in Recommender Systems
 
Real world gobbledygook
Real world gobbledygookReal world gobbledygook
Real world gobbledygook
 
4Developers: Paweł Szulc- Real-World Gobbledygook
4Developers: Paweł Szulc- Real-World Gobbledygook 4Developers: Paweł Szulc- Real-World Gobbledygook
4Developers: Paweł Szulc- Real-World Gobbledygook
 
Generative adversarial text to image synthesis
Generative adversarial text to image synthesisGenerative adversarial text to image synthesis
Generative adversarial text to image synthesis
 
Ontologies and Similarity
Ontologies and SimilarityOntologies and Similarity
Ontologies and Similarity
 
Of Sampling and Smoothing: Approximating Distributions over Linked Open Data
Of Sampling and Smoothing: Approximating Distributions over Linked Open DataOf Sampling and Smoothing: Approximating Distributions over Linked Open Data
Of Sampling and Smoothing: Approximating Distributions over Linked Open Data
 
OSDC.fr 2012 :: Cascalog : progammation logique pour Hadoop
OSDC.fr 2012 :: Cascalog : progammation logique pour HadoopOSDC.fr 2012 :: Cascalog : progammation logique pour Hadoop
OSDC.fr 2012 :: Cascalog : progammation logique pour Hadoop
 
Clojure: Simple By Design
Clojure: Simple By DesignClojure: Simple By Design
Clojure: Simple By Design
 
UMich CI Days: Scaling a code in the human dimension
UMich CI Days: Scaling a code in the human dimensionUMich CI Days: Scaling a code in the human dimension
UMich CI Days: Scaling a code in the human dimension
 
Dedalo, looking for Cluster Explanations in a labyrinth of Linked Data
Dedalo, looking for Cluster Explanations in a labyrinth of Linked DataDedalo, looking for Cluster Explanations in a labyrinth of Linked Data
Dedalo, looking for Cluster Explanations in a labyrinth of Linked Data
 
Semantic web assignment 2
Semantic web assignment 2Semantic web assignment 2
Semantic web assignment 2
 
Large scale landuse classification of satellite imagery
Large scale landuse classification of satellite imageryLarge scale landuse classification of satellite imagery
Large scale landuse classification of satellite imagery
 
Go 1.10 Release Party - PDX Go
Go 1.10 Release Party - PDX GoGo 1.10 Release Party - PDX Go
Go 1.10 Release Party - PDX Go
 
Object-oriented Basics
Object-oriented BasicsObject-oriented Basics
Object-oriented Basics
 
Speech acts meet tagging: NiceTag ontology (Pragmatic Web)
Speech acts meet tagging: NiceTag ontology (Pragmatic Web)Speech acts meet tagging: NiceTag ontology (Pragmatic Web)
Speech acts meet tagging: NiceTag ontology (Pragmatic Web)
 
Word Embeddings (D2L4 Deep Learning for Speech and Language UPC 2017)
Word Embeddings (D2L4 Deep Learning for Speech and Language UPC 2017)Word Embeddings (D2L4 Deep Learning for Speech and Language UPC 2017)
Word Embeddings (D2L4 Deep Learning for Speech and Language UPC 2017)
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Ontology templates

  • 1. Web Science & Technologies University of Koblenz ▪ Landau, Germany A Model-Driven Approach for Using Templates in OWL Ontologies Fernando Silva Parreiras Gerd Gröner Tobias Walter Steffen Staab
  • 2. Ontology Design Pattern WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 2 of 20
  • 3. Ontology Design Pattern How t Which c e lasses xtend ? ? o us e patter a n WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 3 of 20
  • 4. Too much Knowledge! 135 Ontology Patterns 702 Classes in the COMM Ontology WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 4 of 20
  • 5. Templates Documents Web Page Templates in C++ Java Classes (Generics) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 5 of 20
  • 6. Advantages encapsulate complexity improve productivity (reuse templates) reliability of templates Bind and unbind templates WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 6 of 20
  • 7. Model-Driven Approach Model-Driven Development raises the level of abstraction  Template metamodel: extend different OWL metamodels Templates: OWL ontologies Queries WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 7 of 20
  • 8. Semantics of Ontology Templates Declarative specification Templates as generators OWL complexity is composed (not added) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 8 of 20
  • 9. Methodology Ontology Effective Template Binding Ontology Declaration(Class(:Genre)) Declaration(Class(:Group)) Declaration(Class(:Performer)) Declaration(Class(:Record)) Declaration(Class(:Object)) Declaration(Class(:Position)) DisjointClasses(:Position :Performer) Declaration(ObjectProperty(:creatorOf)) SubObjectPropertyOf(:creatorOf owl:topObjectProperty) Declaration(ObjectProperty(:hasStyle)) SubObjectPropertyOf(:hasStyle owl:topObjectProperty) Declaration(ObjectProperty(:stylePeriod)) SubObjectPropertyOf(:stylePeriod owl:topObjectProperty) Declaration(NamedIndividual(:Blues)) ClassAssertion(:Genre :Blues) Declaration(NamedIndividual(:Country)) ClassAssertion(:Genre :Country) Declaration(NamedIndividual(:Mick)) ClassAssertion(:Performer :Mick) Declaration(NamedIndividual(:Rock)) ClassAssertion(:Genre :Rock) Declaration(NamedIndividual(:Samba) ClassAssertion(:Genre :Samba) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 9 of 20
  • 10. Ontology Template WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 10 of 20
  • 11. Encapsulate Ontology Patterns WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 11 of 20
  • 12. Reuse Existing SWRL Rules WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 12 of 20
  • 13. Many Versions of Ontologies WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 13 of 20
  • 14. Binding Transformation of the implicit ontology document to the effective ontology Replace parameters with the actual values from the domain ontology WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 14 of 20
  • 15. Binding Example Agent role template WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 15 of 20
  • 16. Effective Ontology Declaration(Class(:Record)) Declaration(Class(:Object)) Declaration(Class(:Position)) DisjointClasses(:Position :Performer) Declaration(ObjectProperty(:creatorOf)) SubObjectPropertyOf(:creatorOf owl:topObjectProperty) Declaration(ObjectProperty(:hasStyle)) SubObjectPropertyOf(:hasStyle owl:topObjectProperty) Declaration(ObjectProperty(:stylePeriod)) SubObjectPropertyOf(:stylePeriod owl:topObjectProperty) Declaration(NamedIndividual(:Blues)) ClassAssertion(:Genre :Blues) Declaration(NamedIndividual(:Country)) ClassAssertion(:Genre :Country) Declaration(NamedIndividual(:Mick)) ClassAssertion(:Performer :Mick) Declaration(NamedIndividual(:Rock)) ClassAssertion(:Genre :Rock) Declaration(NamedIndividual(:Samba) ClassAssertion(:Genre :Samba) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 16 of 20
  • 17. Artists of a given style Prefix: owl = <http://www.w3.org/2002/07/owl#> IRI <http://ArtistsStyle#> Parameters: ?artist type owl:Class, ?style type owl:oneOf Select ?x Where ( ?x type (?artist and (hasStyle some ?style)) ) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 17 of 20
  • 18. Groups and Styles popular in the USA Prefix: = <http://Ontology1261152793434.owl#> Prefix: q = <http://ArtistsStyle#> Bind: (q:artist Group) (q:style {Rock Blues Country}) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 18 of 20
  • 19. Effective Query Prefix: = <http://Ontology1261152793434.owl#> Select ?x Where ( ?x type (Group and (hasStyle some {Rock Blues Country} )) ) WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 19 of 20
  • 20. Conclusion Saves Time Multiple Languages Multiple Syntaxes Download it and try yourself! http://twouse.googlecode.com/ WeST Gerd Gröner EKAW 2010 groener@uni-koblenz.de 20 of 20