SlideShare a Scribd company logo
In The Name Of Allah
Instructor: Dr.Ghasem-Aghaie
Presentation: Mohammad Sadegh Salehi
Ontology Development in
Protégé
Protégé – Winter 2014
 Session 1: Ontology And OWL Basics,
 Syntatic Web,
 Problem of Syntatic Web,
 Semantic Web,
 Ontology and Pizza Example,
 OWL,
 Session 2: Protégé & Protégé-OWL,
 What is Protégé?
 Protégé and OWL,
 Pizza in Protégé ,
Agenda
Ontology and OWL
Protégé – Winter 2014
Hard Work using the Syntactic Web…
Find images of Tim Bray and Alan Rector…
Tim Bray
Sun
Microsystems
Rev. Alan M.
Gates,
Associate
Rector of the
Church of the
Holy Spirit,
Lake Forest,
Illinois
Prof Alan
Rector,
University of
Manchester,
Medical
Informatics
Group
Protégé – Winter 2014
Impossible (?) using the Syntactic Web…
Complex queries involving background knowledge
 Find information about “animals that use sonar but are not either bats
or dolphins”, e.g., Barn owl
Locating information in data repositories
 Travel enquiries
 Prices of goods and services
Finding and using “web services”
 Book me a holiday next weekend somewhere warm, not too far
away, and where they speak French or English
Protégé – Winter 2014
What is the Problem?
Consider a typical web page:
Markup consists of:
Rendering information
(e.g., font size and colour)
Hyper-links to related content
Semantic content is accessible
to humans but not (easily) to
computers…
Protégé – Winter 2014
What is the Problem?
WWW2002
The eleventh international world wide web conference
Sheraton waikiki hotel
Honolulu, hawaii, USA
7-11 may 2002
1 location 5 days learn interact
Registered participants coming from
australia, canada, chile denmark, france, germany, ghana, hong kong, india, ireland, italy, japan, malta, new zealand,
the netherlands, norway, singapore, switzerland, the united kingdom, the united states, vietnam, zaire
Register now
On the 7 May Honolulu will provide the backdrop of the eleventh international
world wide web conference. This prestigious event …
Speakers confirmed
Tim berners-lee
Tim is the well known inventor of the Web, …
Ian Foster
Ian is the pioneer of the Grid, the next generation internet …
What information can we see…
Protégé – Winter 2014
What is the Problem?

      
  
  
  
     
   
    

      

     

       …
What information can a machine see…
Protégé – Winter 2014
What is the Problem?
Solution: XML markup with “meaningful” tags?
<name>    
</name>
<location>    
</location>
<date>  </date>
<slogan>     </slogan>
<participants>   
      </participants>
<introduction>       
 
 … </introduction>
<speaker> </speaker>
<bio>       </bio>…
Protégé – Winter 2014
What is the Problem?
But What About… Machine sees…
<>
     </>
<>  
  </>
<>  </>
<>     </>
<>   
      
       
</>
<> 
       
  …
 </>
<> </>
<>        </>
<> </>
<>        </>
Protégé – Winter 2014
Need to Add “Semantics”
Use Ontologies to specify meaning of
annotations
 Ontologies provide a vocabulary of terms
 New terms can be formed by combining existing ones
 Meaning (semantics) of such terms is formall specified
 Can also specify relationships between terms in
Protégé – Winter 2014
Our Domain
Pizzas have been used in Manchester
tutorials for years,
Tutorial developed by BioHealth Informatics
Group in Manchester,
Protégé – Winter 2014
Pizzas…
are fun
are internationally known
are highly compositional
are limited in scope
are fairly uncontroversial
Protégé – Winter 2014
Pizzas Ontology …
Pizza
Pizza Topping Pizza_base
Vegetarian
Pizza Vegetable
Topping
Margareta
Pizza
Tomato
Topping
Cheese
Topping
Spicy Beef
Pizza
Mozzarella
Topping
Deep
Dish base
Regular
base
Protégé – Winter 2014
 Is the Web Ontology Language…
 is a standard – Web Ontology Language
 comes in 3 flavours (lite, DL and full)
 we are using OWL DL (Description Logic)
 DL = decidable fragment of First Order Logic (FOL)
 Is used for capturing knowledge in a machine
understandable way
Review of OWL
Protégé – Winter 2014
OWL helps us …
 Describe something, rather than just name it.
 Class (BlueThing) does not mean anything
 Class (BlueThing complete
owl:Thing
restriction (hasColour someValuesFrom (Blue)))
Protégé – Winter 2014
OWL is a syntax independent language that has
several common representations
 – Abstract Syntax
 – N3
 – RDF/XML
OWL Syntax
Protégé – Winter 2014
One of the clearer human-readable syntaxes
OWL Syntax: Abstract Syntax
Class(SpicyPizza complete
annotation(rdfs:label "PizzaTemperada"@pt)
annotation(rdfs:comment "Any pizza that has a spicy topping
is a SpicyPizza"@en)
Pizza
restriction(hasTopping someValuesFrom(SpicyTopping))
)
Protégé – Winter 2014
OWL Constructs
Person Country
= class (concept)
Animal
= individual (instance)
Belgium
Paraguay
China
Latvia
Elvis
Hai
Holger
Kylie
S.Claus
Rudolph
Flipper
= property (relationship)
Protégé & Protégé-OWL
Protégé – Winter 2014
 Developed by Stanford Medical Informatics,
 Has a large user community (approx 300k),
 Free, open source ontology editor and knowledge-base
framework.
What is Protégé?
Protégé – Winter 2014
 Based on Java, is extensible,
 Provides a plug-and-play environment
 Supported by a strong community of developers and
academic, government and corporate users
What is Protégé?(Cont.)
Protégé – Winter 2014
Keep in mind that Protégé is...
 ...not a programming language.
 ...only a tool. It will not prevent you from making mistakes.
 Notice that we will be referring to Protégé 4.3 in this and
the following hands-on exercise.
What is Protégé?(Cont.)
Protégé – Winter 2014
 Create a new ontology from scratch
 Download and extend an existing ontology
 Export ontologies in a variety of formats
 OWL
 RDF
 XML Schema
What can you do with Protégé?
Protégé – Winter 2014
 Homepage
 http://protege.stanford.edu/
 Download
 http://protege.stanford.edu/download/protege/4.3/installanywh
ere/
 Documentation
 http://protegewiki.stanford.edu/index.php/Protege4UserDocs
 Plugins
 http://code.google.com/p/co-ode-owl-
plugins/downloads/list?can=3
Get Protégé
Protégé – Winter 2014
Protégé Overview
Protégé – Winter 2014
Classes in OWL
Classes: ‟OWL classes are interpreted as sets.”
Primitive Classes: ‟Classes that only have necessary
conditions”; Example: Animal, Cat…
Defined Classes: ‟A class that has at least one necessary
and sufficient condition”; Example: All things that are biped
and lack feathers.
Protégé – Winter 2014
Classes in Protégé
 All classes are subclasses of Thing
 Classes overlap by default!
 Can use tools menu to create class hierarchies
Protégé – Winter 2014
Properties in OWL
 Object Properties
 Relationships between two individuals
 Correspond to relationships in UML
 Examples: is_part_of, is_kissing
 Datatype Properties
 Relationships between an individual and data values
 Correspond to attributes in UML
 Examples: has_DateValue, has StringValue
Protégé – Winter 2014
Properties in Protégé
Object or data type
Properties can have
Subproperties
Inverse properties
Protégé – Winter 2014
Protégé Tabs
Protégé tabs
Protégé – Winter 2014
Protégé OWL plugin: Tabs
Used in this tutorial
Changing the GUI
Populating the
model
Top-level
functionality
Extensions
(visualisation)
Protégé – Winter 2014
Classes Tab
Protégé – Winter 2014
ClassesTab: Asserted Class Hierarchy
Subsumption hierarchy (superclass/subclass)
Structure as asserted by the ontology engineer
Create and Delete classes (actually subclasses!!)
Everything is a subclass of owl:Thing
Search for class
Protégé – Winter 2014
ClassesTab: Class Editor
Protégé – Winter 2014
ClassesTab: Class Editor
Class annotations (for class metadata)
Class name and documentation
Properties
“available”
to Class
Disjoints
widget
Conditions Widget
Class-specific tools (find usage etc)
Protégé – Winter 2014
Create Classes
1. Click the “Create Class” button
(this is above the class hierarchy)
A new class will be created as a subclass of owl:Thing
2. Type in a new name “DomainConcept” over the default
(return updates the hierarchy)
3. Req. for later labs: document your class using the rdfs:comment field
4. Create another class called “Pizza” using the same method
You will notice that Pizza has been created as a subclass of
DomainConcept as this was the class selected when the button was
pressed. You can also right-click any class and select “Create Class”
5. Create two more subclasses of DomainConcept called “PizzaTopping”
and “PizzaBase”.
Any mistakes, use the “Delete Class” button next to “Create Class”
Start with your empty ontology
Protégé – Winter 2014
Concept: Disjointness
All classes could potentially overlap
Pizza Ice Cream
= individual
This means an individual could be both a Pizza and a
IceCream at the same time.
Protégé – Winter 2014
Concept: Disjointness
If we state that classes are disjoint
This means an individual cannot be both a Pizza and a Ice
Cream at the same time
We must do this explicitly in the interface
Pizza Ice Cream
= individual
Protégé – Winter 2014
Concept: Disjointness
Add siblings as disjoint
Add new disjoint Remove disjoint siblings
List of disjoint classes
Protégé – Winter 2014
Classes
Create Pizza Ontology classes
 Pizza
 PizzaBase
 PizzaTopping
Protégé – Winter 2014
Classes
Pizza Toppings classes
Using the Tools->“Create class Hierarchy…”
 CheeseTopping
◦ MozzarellaTopping
◦ ParmezanTopping
 MeatTopping
◦ HamTopping
◦ PepperoniTopping
◦ SalamiTopping
◦ SpicyBeefTopping
 SeafoodTopping
◦ AnchovyTopping
◦ TunaTopping
 VegetableTopping
◦ OliveTopping
◦ OnionTopping
◦ PepperTopping
◦ TomatoTopping
Meaning: All individuals that are members of the class TomatoTopping
are members of the class VegetableTopping and members of the class
PizzaTopping…
Protégé – Winter 2014
Creating Properties
Properties can be in a hierarchy
Search for property
Create property
Protégé – Winter 2014
Creating Properties
There can be at most one individual (range)
that is related to the domain individual
via the property: “hasMother”
The inverse property is functional:
“hasMother → hasChild”
P(A,B) and P(B,C) -> P(A,C)
If a property P is transitive, and the property
relates individual A to individual B, and also
individual B to individual C: “hasAncestor”
P(A,B) -> P(B,A)
If a property P is symmetric, and the property
relates individual A to individual B : “hasSibling”
Protégé – Winter 2014
Properties in Protégé
Protégé – Winter 2014
Restrictions
Definition
 A restriction describes an anonymous
(unnamed) class
◦ The set of subclasses and individuals that satisfy
the given restriction
 Applies to
◦ Classes
◦ Object Properties
◦ Datatype Properties
Protégé – Winter 2014
Restrictions
Add restrictions
 Specify that Pizza only has one PizzaBase
◦ Add a cardinality restriction to Pizza on hasBase to exactly one
PizzaBase
◦ Add to the superclasses section “hasBase exactly 1 PizzaBase”
 Specify that Pizza has at least one PizzaTopping
◦ Add an existencial restriction to Pizza on hasTopping to
PizzaToppings
◦ Add to the superclasses section “hasTopping some PizzaTopping”
 Create a value restriction to specify that MozzarellaTopping
has Italy as its country of origin
◦ Create hasCountryOfOrigin object property with Country as range
◦ Add to the superclass section “hasCountryOfOrigin value Italy”
With Protégé 4.3
Using a Reasoner
Protégé – Winter 2014
Reasoner - Definition
 A piece of software able to infer logical
consequences from a set of asserted facts or
axioms
Protégé – Winter 2014
Reasoner -Used for
 Consistency checking
◦ Test whether a class could have instances
 Classification
◦ A classifier takes a class hierarchy and places a class in the class
hierarchy
◦ Task of turning implicit definitions already present in the
hierarchy as explicit
Protégé – Winter 2014
Reasoner- Protégé 4.3 support
 Built-in support
◦ Pellet (http://clarkparsia.com/pellet)
◦ FaCT ++(http://owl.man.ac.uk/factplusplus/)
 Connection to external reasoners through a DIG
interface
Protégé – Winter 2014
Reasoner - Pellet vs FaCT++
FaCT++Pellet
 Open-source Java OWL DL
reasoner
 Support expressivity of
SROIQ(D)
 Supports SWRL rules
 Available through AGPL
version 3 licence
 Latest version is 2.0.0 rc5
 Support in Protégé for 1.5
version
 New generation and C++
implementation of FaCT
 Support expressivity of
SROIQ(D)
 No support for Rules
 Available through GNU
public license
 Latest version is 1.2.3
 Support in Protégé for
1.2.3 version
Protégé – Winter 2014
 http://protegewiki.stanford.edu/index.php/Protege4UserDocs
 Pizzas and other ontologies are available from:
 www.co-ode.org/ontologies/
 W3C Documentation
 http://www.w3.org/2001/sw/BestPractices/
 Ian Horrocks, Sean Bechhofer:
 http://www.cs.man.ac.uk/~horrocks/Slides/Innsbruck-tutorial/
 Practical Guide To Building OWL Ontologies Using Prot´eg´e
4 and CO-ODE Tools, Mathew Horridge, Edition 1.2,
2009,university of manchester
Refrences
Protégé – Winter 2014
Pizzas…
Most often it is not the domain expert that formalises
their knowledge
Because of the complexity of the modelling task it is
normally a specialist “knowledge engineer”
 Hopefully, as tools get easier to use, this will change
Having access to experts is critical for most domains
Luckily, we are all experts in Pizzas, so we just need
some material to verify our knowledge…
Protégé – Winter 2014
Ontology in Linguistics
Concept
Form
/ Symbol
Referent
“semiotic
triangle”
activates Relates to
“Tank“
[Ogden, Richards, 1923]
Stands for
“a concept, is the
mediator that relates
the symbol to its
object” John F Sowa
Protégé – Winter 2014
Datatype Properties
Add datatype properties
 Create a hasCalorificContentValue datatype property with
integer as range
 Create a hasBaseProperty for PizzaBase (domain)
◦ Create a hasWidth datatype sub-property of hasBaseProperty with
integer as range
◦ Create a hasThickness datatype sub-property of hasBaseProperty
with float as range
 Change characteristics to Functional of the datatype
properties
◦ hasCalorificContentValue
◦ hasWidth
◦ hasThickness
Protégé – Winter 2014
Datatype Properties
Protégé – Winter 2014
Object Properties
Protégé – Winter 2014
Object Properties
Create some Object Properties
 isIngredientOf
◦ isToppingOf
◦ isBaseOf
 hasIngredient
◦ hasTopping
◦ hasBase
Pizza Ingredients
Ingredients that make up
the Pizza
Protégé – Winter 2014
Structure of an Ontology
Ontologies typically have two distinct components: Terminology
Names for important concepts in the domain
 Elephant is a concept whose members are a kind of animal
 Herbivore is a concept whose members are exactly those animals who
eat only plants or parts of plants
 Adult_Elephant is a concept whose members are exactly those
elephants whose age is > 20 years
Background knowledge/constraints on the domain: Axioms
 Adult_Elephants weigh at least 2,000 kg
 All Elephants are either African_Elephants or Indian_Elephants
 No individual can be both a Herbivore and a Carnivore

More Related Content

What's hot

Ontology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondOntology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyond
Peter Geil
 
Ontology learning
Ontology learningOntology learning
Ontology learning
Ehsan Asgarian
 
Common Crawl: An Open Repository of Web Data
Common Crawl: An Open Repository of Web DataCommon Crawl: An Open Repository of Web Data
Common Crawl: An Open Repository of Web Data
huguk
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
Jose Emilio Labra Gayo
 
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Jeff Z. Pan
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
Narni Rajesh
 
LDAP at Lightning Speed
 LDAP at Lightning Speed LDAP at Lightning Speed
LDAP at Lightning Speed
C4Media
 
Ontology
OntologyOntology
Ontology Mapping
Ontology MappingOntology Mapping
Ontology Mappingbutest
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
hozifa1010
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
Marin Dimitrov
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
Neo4j
 
Linked Data and Libraries: What? Why? How?
Linked Data and Libraries: What? Why? How?Linked Data and Libraries: What? Why? How?
Linked Data and Libraries: What? Why? How?
Emily Nimsakont
 
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Dongbum Kim
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
Nilesh Wagmare
 
Introduction to DSpace
Introduction to DSpaceIntroduction to DSpace
Introduction to DSpace
Iryna Kuchma
 
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked DataIntroduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Sören Auer
 
Building Linked Data Applications
Building Linked Data ApplicationsBuilding Linked Data Applications
Building Linked Data Applications
EUCLID project
 
ESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge GraphsESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge Graphs
Peter Haase
 

What's hot (20)

Ontology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondOntology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyond
 
Ontology learning
Ontology learningOntology learning
Ontology learning
 
Common Crawl: An Open Repository of Web Data
Common Crawl: An Open Repository of Web DataCommon Crawl: An Open Repository of Web Data
Common Crawl: An Open Repository of Web Data
 
Introduction to SPARQL
Introduction to SPARQLIntroduction to SPARQL
Introduction to SPARQL
 
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
Linked Data and Knowledge Graphs -- Constructing and Understanding Knowledge ...
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
LDAP at Lightning Speed
 LDAP at Lightning Speed LDAP at Lightning Speed
LDAP at Lightning Speed
 
Ontology
OntologyOntology
Ontology
 
Ontology Mapping
Ontology MappingOntology Mapping
Ontology Mapping
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
 
Linked Data and Libraries: What? Why? How?
Linked Data and Libraries: What? Why? How?Linked Data and Libraries: What? Why? How?
Linked Data and Libraries: What? Why? How?
 
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
Linked Data의 RDF 어휘 이해하고 체험하기 - FOAF, SIOC, SKOS를 중심으로 -
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Introduction to DSpace
Introduction to DSpaceIntroduction to DSpace
Introduction to DSpace
 
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked DataIntroduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
 
FOAF
FOAFFOAF
FOAF
 
Building Linked Data Applications
Building Linked Data ApplicationsBuilding Linked Data Applications
Building Linked Data Applications
 
ESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge GraphsESWC 2017 Tutorial Knowledge Graphs
ESWC 2017 Tutorial Knowledge Graphs
 

Similar to Ontology development in protégé-آنتولوژی در پروتوغه

Text-mining and Automation
Text-mining and AutomationText-mining and Automation
Text-mining and Automation
benosteen
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
Jessica Deakin
 
Nautral Langauge Processing - Basics / Non Technical
Nautral Langauge Processing - Basics / Non Technical Nautral Langauge Processing - Basics / Non Technical
Nautral Langauge Processing - Basics / Non Technical
Dhruv Gohil
 
Reflective Plan Examples
Reflective Plan ExamplesReflective Plan Examples
Reflective Plan Examples
Monica Turner
 
My Experiment
My ExperimentMy Experiment
My Experiment
Francesco Izzo
 
Dave de Roure - The myExperiment approach towards Open Science
Dave de Roure - The myExperiment approach towards Open ScienceDave de Roure - The myExperiment approach towards Open Science
Dave de Roure - The myExperiment approach towards Open Science
shwu
 
Free Tech Tools - VOA 2012
Free Tech Tools - VOA 2012Free Tech Tools - VOA 2012
Free Tech Tools - VOA 2012
Advertising Specialties Alliance
 
ChatGPT in academic settings H2.de
ChatGPT in academic settings H2.deChatGPT in academic settings H2.de
ChatGPT in academic settings H2.de
David Döring
 
PYTHON PPT.pptx
PYTHON PPT.pptxPYTHON PPT.pptx
PYTHON PPT.pptx
AbhishekMourya36
 
Free Technology Tools - SBDC EGC 2011
Free Technology Tools - SBDC EGC 2011Free Technology Tools - SBDC EGC 2011
Free Technology Tools - SBDC EGC 2011
Advertising Specialties Alliance
 
Free technologies for Education
Free technologies for EducationFree technologies for Education
Free technologies for Education
Trevor Boland
 
PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)
Peter Wang
 
Advanced Postgraduate Skills 2011 Presentation
Advanced Postgraduate Skills 2011 PresentationAdvanced Postgraduate Skills 2011 Presentation
Advanced Postgraduate Skills 2011 PresentationKurt Wilson
 
Big Data and Natural Language Processing
Big Data and Natural Language ProcessingBig Data and Natural Language Processing
Big Data and Natural Language Processing
Michel Bruley
 
Storytelling techniques for product documentation
Storytelling techniques for product documentationStorytelling techniques for product documentation
Storytelling techniques for product documentation
Lesia Zasadna
 
Arnold Serrano (Chapter 5)
Arnold Serrano (Chapter 5)Arnold Serrano (Chapter 5)
Arnold Serrano (Chapter 5)
Jaypee Tan
 
All free and all useful
All free and all useful All free and all useful
All free and all useful
Trevor Boland
 
Moodle tutotial
Moodle tutotialMoodle tutotial
Captivate and Articulate Storyline
Captivate and Articulate StorylineCaptivate and Articulate Storyline
Captivate and Articulate Storyline
Yum Studio
 

Similar to Ontology development in protégé-آنتولوژی در پروتوغه (20)

Text-mining and Automation
Text-mining and AutomationText-mining and Automation
Text-mining and Automation
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) Languages
 
Nautral Langauge Processing - Basics / Non Technical
Nautral Langauge Processing - Basics / Non Technical Nautral Langauge Processing - Basics / Non Technical
Nautral Langauge Processing - Basics / Non Technical
 
Reflective Plan Examples
Reflective Plan ExamplesReflective Plan Examples
Reflective Plan Examples
 
My Experiment
My ExperimentMy Experiment
My Experiment
 
Dave de Roure - The myExperiment approach towards Open Science
Dave de Roure - The myExperiment approach towards Open ScienceDave de Roure - The myExperiment approach towards Open Science
Dave de Roure - The myExperiment approach towards Open Science
 
Free Tech Tools - VOA 2012
Free Tech Tools - VOA 2012Free Tech Tools - VOA 2012
Free Tech Tools - VOA 2012
 
ChatGPT in academic settings H2.de
ChatGPT in academic settings H2.deChatGPT in academic settings H2.de
ChatGPT in academic settings H2.de
 
PYTHON PPT.pptx
PYTHON PPT.pptxPYTHON PPT.pptx
PYTHON PPT.pptx
 
Free Technology Tools - SBDC EGC 2011
Free Technology Tools - SBDC EGC 2011Free Technology Tools - SBDC EGC 2011
Free Technology Tools - SBDC EGC 2011
 
Free technologies for Education
Free technologies for EducationFree technologies for Education
Free technologies for Education
 
PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)PyData: Past, Present Future (PyData SV 2014 Keynote)
PyData: Past, Present Future (PyData SV 2014 Keynote)
 
Advanced Postgraduate Skills 2011 Presentation
Advanced Postgraduate Skills 2011 PresentationAdvanced Postgraduate Skills 2011 Presentation
Advanced Postgraduate Skills 2011 Presentation
 
Big Data and Natural Language Processing
Big Data and Natural Language ProcessingBig Data and Natural Language Processing
Big Data and Natural Language Processing
 
Storytelling techniques for product documentation
Storytelling techniques for product documentationStorytelling techniques for product documentation
Storytelling techniques for product documentation
 
Arnold Serrano (Chapter 5)
Arnold Serrano (Chapter 5)Arnold Serrano (Chapter 5)
Arnold Serrano (Chapter 5)
 
All free and all useful
All free and all useful All free and all useful
All free and all useful
 
CALICO 2010 Workshop
CALICO 2010  Workshop CALICO 2010  Workshop
CALICO 2010 Workshop
 
Moodle tutotial
Moodle tutotialMoodle tutotial
Moodle tutotial
 
Captivate and Articulate Storyline
Captivate and Articulate StorylineCaptivate and Articulate Storyline
Captivate and Articulate Storyline
 

More from sadegh salehi

Cloud intrusion detection System
Cloud intrusion detection SystemCloud intrusion detection System
Cloud intrusion detection System
sadegh salehi
 
Fault prediction
Fault predictionFault prediction
Fault prediction
sadegh salehi
 
Integration test
Integration testIntegration test
Integration test
sadegh salehi
 
Interactive and Multimodal Pedagogy Using IWB
Interactive and Multimodal Pedagogy Using IWB  Interactive and Multimodal Pedagogy Using IWB
Interactive and Multimodal Pedagogy Using IWB
sadegh salehi
 
NoSQL Database- cassandra column Base DB
NoSQL Database- cassandra column Base DBNoSQL Database- cassandra column Base DB
NoSQL Database- cassandra column Base DB
sadegh salehi
 
Prototype design pattern - الگوی طراحی Prototype
Prototype design pattern - الگوی طراحی PrototypePrototype design pattern - الگوی طراحی Prototype
Prototype design pattern - الگوی طراحی Prototype
sadegh salehi
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
sadegh salehi
 
Jame isfahan mosque
Jame isfahan mosqueJame isfahan mosque
Jame isfahan mosque
sadegh salehi
 
مکتب کلبیان
مکتب کلبیانمکتب کلبیان
مکتب کلبیان
sadegh salehi
 

More from sadegh salehi (9)

Cloud intrusion detection System
Cloud intrusion detection SystemCloud intrusion detection System
Cloud intrusion detection System
 
Fault prediction
Fault predictionFault prediction
Fault prediction
 
Integration test
Integration testIntegration test
Integration test
 
Interactive and Multimodal Pedagogy Using IWB
Interactive and Multimodal Pedagogy Using IWB  Interactive and Multimodal Pedagogy Using IWB
Interactive and Multimodal Pedagogy Using IWB
 
NoSQL Database- cassandra column Base DB
NoSQL Database- cassandra column Base DBNoSQL Database- cassandra column Base DB
NoSQL Database- cassandra column Base DB
 
Prototype design pattern - الگوی طراحی Prototype
Prototype design pattern - الگوی طراحی PrototypePrototype design pattern - الگوی طراحی Prototype
Prototype design pattern - الگوی طراحی Prototype
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
Jame isfahan mosque
Jame isfahan mosqueJame isfahan mosque
Jame isfahan mosque
 
مکتب کلبیان
مکتب کلبیانمکتب کلبیان
مکتب کلبیان
 

Recently uploaded

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 

Recently uploaded (20)

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 

Ontology development in protégé-آنتولوژی در پروتوغه

  • 1. In The Name Of Allah
  • 2. Instructor: Dr.Ghasem-Aghaie Presentation: Mohammad Sadegh Salehi Ontology Development in Protégé
  • 3. Protégé – Winter 2014  Session 1: Ontology And OWL Basics,  Syntatic Web,  Problem of Syntatic Web,  Semantic Web,  Ontology and Pizza Example,  OWL,  Session 2: Protégé & Protégé-OWL,  What is Protégé?  Protégé and OWL,  Pizza in Protégé , Agenda
  • 5. Protégé – Winter 2014 Hard Work using the Syntactic Web… Find images of Tim Bray and Alan Rector… Tim Bray Sun Microsystems Rev. Alan M. Gates, Associate Rector of the Church of the Holy Spirit, Lake Forest, Illinois Prof Alan Rector, University of Manchester, Medical Informatics Group
  • 6. Protégé – Winter 2014 Impossible (?) using the Syntactic Web… Complex queries involving background knowledge  Find information about “animals that use sonar but are not either bats or dolphins”, e.g., Barn owl Locating information in data repositories  Travel enquiries  Prices of goods and services Finding and using “web services”  Book me a holiday next weekend somewhere warm, not too far away, and where they speak French or English
  • 7. Protégé – Winter 2014 What is the Problem? Consider a typical web page: Markup consists of: Rendering information (e.g., font size and colour) Hyper-links to related content Semantic content is accessible to humans but not (easily) to computers…
  • 8. Protégé – Winter 2014 What is the Problem? WWW2002 The eleventh international world wide web conference Sheraton waikiki hotel Honolulu, hawaii, USA 7-11 may 2002 1 location 5 days learn interact Registered participants coming from australia, canada, chile denmark, france, germany, ghana, hong kong, india, ireland, italy, japan, malta, new zealand, the netherlands, norway, singapore, switzerland, the united kingdom, the united states, vietnam, zaire Register now On the 7 May Honolulu will provide the backdrop of the eleventh international world wide web conference. This prestigious event … Speakers confirmed Tim berners-lee Tim is the well known inventor of the Web, … Ian Foster Ian is the pioneer of the Grid, the next generation internet … What information can we see…
  • 9. Protégé – Winter 2014 What is the Problem?                                                        … What information can a machine see…
  • 10. Protégé – Winter 2014 What is the Problem? Solution: XML markup with “meaningful” tags? <name>     </name> <location>     </location> <date>  </date> <slogan>     </slogan> <participants>          </participants> <introduction>           … </introduction> <speaker> </speaker> <bio>       </bio>…
  • 11. Protégé – Winter 2014 What is the Problem? But What About… Machine sees… <>      </> <>     </> <>  </> <>     </> <>                   </> <>            …  </> <> </> <>        </> <> </> <>        </>
  • 12. Protégé – Winter 2014 Need to Add “Semantics” Use Ontologies to specify meaning of annotations  Ontologies provide a vocabulary of terms  New terms can be formed by combining existing ones  Meaning (semantics) of such terms is formall specified  Can also specify relationships between terms in
  • 13. Protégé – Winter 2014 Our Domain Pizzas have been used in Manchester tutorials for years, Tutorial developed by BioHealth Informatics Group in Manchester,
  • 14. Protégé – Winter 2014 Pizzas… are fun are internationally known are highly compositional are limited in scope are fairly uncontroversial
  • 15. Protégé – Winter 2014 Pizzas Ontology … Pizza Pizza Topping Pizza_base Vegetarian Pizza Vegetable Topping Margareta Pizza Tomato Topping Cheese Topping Spicy Beef Pizza Mozzarella Topping Deep Dish base Regular base
  • 16. Protégé – Winter 2014  Is the Web Ontology Language…  is a standard – Web Ontology Language  comes in 3 flavours (lite, DL and full)  we are using OWL DL (Description Logic)  DL = decidable fragment of First Order Logic (FOL)  Is used for capturing knowledge in a machine understandable way Review of OWL
  • 17. Protégé – Winter 2014 OWL helps us …  Describe something, rather than just name it.  Class (BlueThing) does not mean anything  Class (BlueThing complete owl:Thing restriction (hasColour someValuesFrom (Blue)))
  • 18. Protégé – Winter 2014 OWL is a syntax independent language that has several common representations  – Abstract Syntax  – N3  – RDF/XML OWL Syntax
  • 19. Protégé – Winter 2014 One of the clearer human-readable syntaxes OWL Syntax: Abstract Syntax Class(SpicyPizza complete annotation(rdfs:label "PizzaTemperada"@pt) annotation(rdfs:comment "Any pizza that has a spicy topping is a SpicyPizza"@en) Pizza restriction(hasTopping someValuesFrom(SpicyTopping)) )
  • 20. Protégé – Winter 2014 OWL Constructs Person Country = class (concept) Animal = individual (instance) Belgium Paraguay China Latvia Elvis Hai Holger Kylie S.Claus Rudolph Flipper = property (relationship)
  • 22. Protégé – Winter 2014  Developed by Stanford Medical Informatics,  Has a large user community (approx 300k),  Free, open source ontology editor and knowledge-base framework. What is Protégé?
  • 23. Protégé – Winter 2014  Based on Java, is extensible,  Provides a plug-and-play environment  Supported by a strong community of developers and academic, government and corporate users What is Protégé?(Cont.)
  • 24. Protégé – Winter 2014 Keep in mind that Protégé is...  ...not a programming language.  ...only a tool. It will not prevent you from making mistakes.  Notice that we will be referring to Protégé 4.3 in this and the following hands-on exercise. What is Protégé?(Cont.)
  • 25. Protégé – Winter 2014  Create a new ontology from scratch  Download and extend an existing ontology  Export ontologies in a variety of formats  OWL  RDF  XML Schema What can you do with Protégé?
  • 26. Protégé – Winter 2014  Homepage  http://protege.stanford.edu/  Download  http://protege.stanford.edu/download/protege/4.3/installanywh ere/  Documentation  http://protegewiki.stanford.edu/index.php/Protege4UserDocs  Plugins  http://code.google.com/p/co-ode-owl- plugins/downloads/list?can=3 Get Protégé
  • 27. Protégé – Winter 2014 Protégé Overview
  • 28. Protégé – Winter 2014 Classes in OWL Classes: ‟OWL classes are interpreted as sets.” Primitive Classes: ‟Classes that only have necessary conditions”; Example: Animal, Cat… Defined Classes: ‟A class that has at least one necessary and sufficient condition”; Example: All things that are biped and lack feathers.
  • 29. Protégé – Winter 2014 Classes in Protégé  All classes are subclasses of Thing  Classes overlap by default!  Can use tools menu to create class hierarchies
  • 30. Protégé – Winter 2014 Properties in OWL  Object Properties  Relationships between two individuals  Correspond to relationships in UML  Examples: is_part_of, is_kissing  Datatype Properties  Relationships between an individual and data values  Correspond to attributes in UML  Examples: has_DateValue, has StringValue
  • 31. Protégé – Winter 2014 Properties in Protégé Object or data type Properties can have Subproperties Inverse properties
  • 32. Protégé – Winter 2014 Protégé Tabs Protégé tabs
  • 33. Protégé – Winter 2014 Protégé OWL plugin: Tabs Used in this tutorial Changing the GUI Populating the model Top-level functionality Extensions (visualisation)
  • 34. Protégé – Winter 2014 Classes Tab
  • 35. Protégé – Winter 2014 ClassesTab: Asserted Class Hierarchy Subsumption hierarchy (superclass/subclass) Structure as asserted by the ontology engineer Create and Delete classes (actually subclasses!!) Everything is a subclass of owl:Thing Search for class
  • 36. Protégé – Winter 2014 ClassesTab: Class Editor
  • 37. Protégé – Winter 2014 ClassesTab: Class Editor Class annotations (for class metadata) Class name and documentation Properties “available” to Class Disjoints widget Conditions Widget Class-specific tools (find usage etc)
  • 38. Protégé – Winter 2014 Create Classes 1. Click the “Create Class” button (this is above the class hierarchy) A new class will be created as a subclass of owl:Thing 2. Type in a new name “DomainConcept” over the default (return updates the hierarchy) 3. Req. for later labs: document your class using the rdfs:comment field 4. Create another class called “Pizza” using the same method You will notice that Pizza has been created as a subclass of DomainConcept as this was the class selected when the button was pressed. You can also right-click any class and select “Create Class” 5. Create two more subclasses of DomainConcept called “PizzaTopping” and “PizzaBase”. Any mistakes, use the “Delete Class” button next to “Create Class” Start with your empty ontology
  • 39. Protégé – Winter 2014 Concept: Disjointness All classes could potentially overlap Pizza Ice Cream = individual This means an individual could be both a Pizza and a IceCream at the same time.
  • 40. Protégé – Winter 2014 Concept: Disjointness If we state that classes are disjoint This means an individual cannot be both a Pizza and a Ice Cream at the same time We must do this explicitly in the interface Pizza Ice Cream = individual
  • 41. Protégé – Winter 2014 Concept: Disjointness Add siblings as disjoint Add new disjoint Remove disjoint siblings List of disjoint classes
  • 42. Protégé – Winter 2014 Classes Create Pizza Ontology classes  Pizza  PizzaBase  PizzaTopping
  • 43. Protégé – Winter 2014 Classes Pizza Toppings classes Using the Tools->“Create class Hierarchy…”  CheeseTopping ◦ MozzarellaTopping ◦ ParmezanTopping  MeatTopping ◦ HamTopping ◦ PepperoniTopping ◦ SalamiTopping ◦ SpicyBeefTopping  SeafoodTopping ◦ AnchovyTopping ◦ TunaTopping  VegetableTopping ◦ OliveTopping ◦ OnionTopping ◦ PepperTopping ◦ TomatoTopping Meaning: All individuals that are members of the class TomatoTopping are members of the class VegetableTopping and members of the class PizzaTopping…
  • 44. Protégé – Winter 2014 Creating Properties Properties can be in a hierarchy Search for property Create property
  • 45. Protégé – Winter 2014 Creating Properties There can be at most one individual (range) that is related to the domain individual via the property: “hasMother” The inverse property is functional: “hasMother → hasChild” P(A,B) and P(B,C) -> P(A,C) If a property P is transitive, and the property relates individual A to individual B, and also individual B to individual C: “hasAncestor” P(A,B) -> P(B,A) If a property P is symmetric, and the property relates individual A to individual B : “hasSibling”
  • 46. Protégé – Winter 2014 Properties in Protégé
  • 47. Protégé – Winter 2014 Restrictions Definition  A restriction describes an anonymous (unnamed) class ◦ The set of subclasses and individuals that satisfy the given restriction  Applies to ◦ Classes ◦ Object Properties ◦ Datatype Properties
  • 48. Protégé – Winter 2014 Restrictions Add restrictions  Specify that Pizza only has one PizzaBase ◦ Add a cardinality restriction to Pizza on hasBase to exactly one PizzaBase ◦ Add to the superclasses section “hasBase exactly 1 PizzaBase”  Specify that Pizza has at least one PizzaTopping ◦ Add an existencial restriction to Pizza on hasTopping to PizzaToppings ◦ Add to the superclasses section “hasTopping some PizzaTopping”  Create a value restriction to specify that MozzarellaTopping has Italy as its country of origin ◦ Create hasCountryOfOrigin object property with Country as range ◦ Add to the superclass section “hasCountryOfOrigin value Italy”
  • 50. Protégé – Winter 2014 Reasoner - Definition  A piece of software able to infer logical consequences from a set of asserted facts or axioms
  • 51. Protégé – Winter 2014 Reasoner -Used for  Consistency checking ◦ Test whether a class could have instances  Classification ◦ A classifier takes a class hierarchy and places a class in the class hierarchy ◦ Task of turning implicit definitions already present in the hierarchy as explicit
  • 52. Protégé – Winter 2014 Reasoner- Protégé 4.3 support  Built-in support ◦ Pellet (http://clarkparsia.com/pellet) ◦ FaCT ++(http://owl.man.ac.uk/factplusplus/)  Connection to external reasoners through a DIG interface
  • 53. Protégé – Winter 2014 Reasoner - Pellet vs FaCT++ FaCT++Pellet  Open-source Java OWL DL reasoner  Support expressivity of SROIQ(D)  Supports SWRL rules  Available through AGPL version 3 licence  Latest version is 2.0.0 rc5  Support in Protégé for 1.5 version  New generation and C++ implementation of FaCT  Support expressivity of SROIQ(D)  No support for Rules  Available through GNU public license  Latest version is 1.2.3  Support in Protégé for 1.2.3 version
  • 54. Protégé – Winter 2014  http://protegewiki.stanford.edu/index.php/Protege4UserDocs  Pizzas and other ontologies are available from:  www.co-ode.org/ontologies/  W3C Documentation  http://www.w3.org/2001/sw/BestPractices/  Ian Horrocks, Sean Bechhofer:  http://www.cs.man.ac.uk/~horrocks/Slides/Innsbruck-tutorial/  Practical Guide To Building OWL Ontologies Using Prot´eg´e 4 and CO-ODE Tools, Mathew Horridge, Edition 1.2, 2009,university of manchester Refrences
  • 55.
  • 56. Protégé – Winter 2014 Pizzas… Most often it is not the domain expert that formalises their knowledge Because of the complexity of the modelling task it is normally a specialist “knowledge engineer”  Hopefully, as tools get easier to use, this will change Having access to experts is critical for most domains Luckily, we are all experts in Pizzas, so we just need some material to verify our knowledge…
  • 57. Protégé – Winter 2014 Ontology in Linguistics Concept Form / Symbol Referent “semiotic triangle” activates Relates to “Tank“ [Ogden, Richards, 1923] Stands for “a concept, is the mediator that relates the symbol to its object” John F Sowa
  • 58. Protégé – Winter 2014 Datatype Properties Add datatype properties  Create a hasCalorificContentValue datatype property with integer as range  Create a hasBaseProperty for PizzaBase (domain) ◦ Create a hasWidth datatype sub-property of hasBaseProperty with integer as range ◦ Create a hasThickness datatype sub-property of hasBaseProperty with float as range  Change characteristics to Functional of the datatype properties ◦ hasCalorificContentValue ◦ hasWidth ◦ hasThickness
  • 59. Protégé – Winter 2014 Datatype Properties
  • 60. Protégé – Winter 2014 Object Properties
  • 61. Protégé – Winter 2014 Object Properties Create some Object Properties  isIngredientOf ◦ isToppingOf ◦ isBaseOf  hasIngredient ◦ hasTopping ◦ hasBase Pizza Ingredients Ingredients that make up the Pizza
  • 62. Protégé – Winter 2014 Structure of an Ontology Ontologies typically have two distinct components: Terminology Names for important concepts in the domain  Elephant is a concept whose members are a kind of animal  Herbivore is a concept whose members are exactly those animals who eat only plants or parts of plants  Adult_Elephant is a concept whose members are exactly those elephants whose age is > 20 years Background knowledge/constraints on the domain: Axioms  Adult_Elephants weigh at least 2,000 kg  All Elephants are either African_Elephants or Indian_Elephants  No individual can be both a Herbivore and a Carnivore

Editor's Notes

  1. Rector == رهبر
  2. چه جاهایی اشتفاده از syntactic web مشکل ساز میشه ؟؟؟ در دانش پشت پردمون یه کویری پیچیده داشته باشیم. - اطلاعات در مورد حیواناتی که از sonar امواج صوتی استفاده می کنند ولی دلفین یا خفاش نباشه، مثال جوجه جغد پیدا کردن اطلاعات در یک سری data repositories سوالات در مورد سفر قیمت اجناس و سرویس ها جستجو و استفاده از وب سرویس
  3. Markup شامل : اطلاعات رندر کردن (سایز فونت و رنگ) لینک به مطالب مرتبط
  4. What information can we see…
  5. What information can we see…
  6. What information can we see…
  7. What information can we see…
  8. استفاده از آنتولوژی برای درک معنی یادداشت ها: آنتولوژی فرهنگ لغنی از واژه ها را فراهم می کند. واژه های جدید می توانند با واژه های موجود ترکیب شوند. می توان رابطه ی بین واژه ها را در نظر گرفت
  9. این خودآموز پیتزا توسط گروه انفورماتیک bioHealth منچستر توسعه داده شده
  10. حالا چرا پیتزا؟؟ هر دامینی رو نمیتونستم انتخال کنم چون یا باید خودمون expert باشیم و یا به یه knowledge engineer دسترسی داشته باشیم که تو دامین مورد نظرمون expert باشه که خب خیلی سخته. یه موضوعی رو انتخاب کردم که تقریبا همه توش expert هستند. خوشبختانه همه ی ما در زمینه پیترزا expert هستیم. حالا فقط به یه تعداد material نیاز داریم تا دانشمون رو ارزیابی کنیم. مثالی fun مثالی بین المللی و شناخته شده بسیار ترکیب پذیر دامنه ای محدود نسبتاغیر جنجالی
  11. Topping = ادویه
  12. چرا dl ؟؟؟ چون که تصمیم گرفتنی می باشد. می توانیم از یک موتور استنتاج (reasoner) برای ساخت مدلمان استفاده کنیم.
  13. این زلان مسقل از syntax می باشد که چندین نوع ارایه می شود.
  14. یکی از مفهوم ترین syntax هایی که با آن ارایه می وشد. Tempereda = معتدل Spicy = تند
  15. بر مبنای جاوا جامعه ی بزرگی از توسعه دهنده ها و آکادمی ها و حتی دولت ها از آن پشتیبانی می کنند.
  16. کلاس در owl به عنوان مجموعه تفسیر می شود: کلاس های اولیه: تنها دارای شرایط لازم نی باشد. مثال :» حیوانات ، گربه کلاس های تعریف شده: حداقل یک شرط لازم و یه شرط کافی می باشد. مثال همه ی چیز های دوپا و فاقد پر.
  17. کلاس ها به طور پیش فرض روی هم می افتند
  18. رابطه ای دوتایی بین تک تک اجزا یا شیء ای یا نوع داده ای
  19. گفتیم همه ی کلاس ها به صورت پیش فرض روی هم می افتند (اشتراک دارند)
  20. میشه اشتراک هم نداشته باشند ولی خب باید به صراحت موقع ساخت مشخص کرد به صراحت
  21. قطعه ای از نرم افزار قادر به استنباط نتایج منطقی از مجموعه ای از حقایق و یا بدیهیات
  22. بررسی سازگاری: تست این که ایا یک کلاس می تواند نمونه داشتهه باشد. کلاس بندی: وظیفه تبدیل تعاریف ضمنی که در حال حاضر در سلسله مراتب استفاده می شوند به تعاریف صریح
  23. حالا چرا پیتزا؟؟ هر دامینی رو نمیتونستم انتخال کنم چون یا باید خودمون expert باشیم و یا به یه knowledge engineer دسترسی داشته باشیم که تو دامین مورد نظرمون expert باشه که خب خیلی سخته. یه موضوعی رو انتخاب کردم که تقریبا همه توش expert هستند. خوشبختانه همه ی ما در زمینه پیترزا expert هستیم. حالا فقط به یه تعداد material نیاز داریم تا دانشمون رو ارزیابی کنیم.
  24. آنتولوژی در زبان شناسی
  25. ساختار آنتولوژی : نامگزاری برای مغاهیم مهم در دامین مورد نظر فیل یک مغهومیست که اعضای نوعی از حیوانات را مشخص می کند. گیاه خوار میشه فقط اون حیواناتی که فقط گیاه می خورند یا گیاه نیز می خورند. دانش یا محدودیت پیش زمینه ی روی دامین فیل-بالغ نشان دهنده ی فیل هایی است که سن بیشتر از 20 دارند. هیچ مورد منحصر به فردی هم گیاه خوار و هم گوشت خوار حساب نمی شود.