SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
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

Contenu connexe

En vedette

Jose rizo theme 4 part 2
Jose rizo theme 4 part 2Jose rizo theme 4 part 2
Jose rizo theme 4 part 2jrizo87
 
Jose rizo theme 4 part 1
Jose rizo theme 4 part 1Jose rizo theme 4 part 1
Jose rizo theme 4 part 1jrizo87
 
Edsel ayes-20-year-marketing-plan
Edsel ayes-20-year-marketing-planEdsel ayes-20-year-marketing-plan
Edsel ayes-20-year-marketing-planedsamac
 
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)Emi Voces
 
【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日志,并绘制系统性能走势图1maclean liu
 
Toxic buttons
Toxic buttonsToxic buttons
Toxic buttonsLove Line
 
Puntuaciones provisionales
Puntuaciones provisionalesPuntuaciones provisionales
Puntuaciones provisionalesEmi Voces
 
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 AcunzoJay Acunzo
 
Francisco Correa CV
Francisco Correa CVFrancisco Correa CV
Francisco Correa CVFcocorrea
 
Major research presentation EOI Good
Major research presentation EOI GoodMajor research presentation EOI Good
Major research presentation EOI GoodThe City of Toronto
 
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!Paul Rowold
 
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 ServerFendi Kurniawan
 
Miten toteutan informaation visualisoinnin?
Miten toteutan informaation visualisoinnin?Miten toteutan informaation visualisoinnin?
Miten toteutan informaation visualisoinnin?Jukka Huhtamäki
 

En vedette (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?
 

Similaire à Ontology templates

Semantic Recognition of Ontology Refactoring
Semantic Recognition of Ontology RefactoringSemantic Recognition of Ontology Refactoring
Semantic Recognition of Ontology RefactoringGerd Groener
 
Word Embeddings, why the hype ?
Word Embeddings, why the hype ? Word Embeddings, why the hype ?
Word Embeddings, why the hype ? Hady Elsahar
 
Evaluation Initiatives for Entity-oriented Search
Evaluation Initiatives for Entity-oriented SearchEvaluation Initiatives for Entity-oriented Search
Evaluation Initiatives for Entity-oriented Searchkrisztianbalog
 
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 SystemsEvgeniy Marinov
 
Real world gobbledygook
Real world gobbledygookReal world gobbledygook
Real world gobbledygookPawel Szulc
 
4Developers: Paweł Szulc- Real-World Gobbledygook
4Developers: Paweł Szulc- Real-World Gobbledygook 4Developers: Paweł Szulc- Real-World Gobbledygook
4Developers: Paweł Szulc- Real-World Gobbledygook PROIDEA
 
Ontologies and Similarity
Ontologies and SimilarityOntologies and Similarity
Ontologies and SimilaritySteffen Staab
 
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 DataThomas Gottron
 
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 HadoopPublicis Sapient Engineering
 
Clojure: Simple By Design
Clojure: Simple By DesignClojure: Simple By Design
Clojure: Simple By DesignAll Things Open
 
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 dimensionmatthewturk
 
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 DataVrije Universiteit Amsterdam
 
Semantic web assignment 2
Semantic web assignment 2Semantic web assignment 2
Semantic web assignment 2BarryK88
 
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 imagerySuneel Marthi
 
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 GoRodolfo Carvalho
 
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)Alexandre Monnin
 
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)Universitat Politècnica de Catalunya
 

Similaire à 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)
 

Dernier

Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Dernier (20)

Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

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