SlideShare ist ein Scribd-Unternehmen logo
1 von 62
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

Weitere ähnliche Inhalte

Was ist angesagt?

Building and using ontologies
Building and using ontologies Building and using ontologies
Building and using ontologies Elena Simperl
 
Introduction to Ontology Concepts and Terminology
Introduction to Ontology Concepts and TerminologyIntroduction to Ontology Concepts and Terminology
Introduction to Ontology Concepts and TerminologySteven Miller
 
Cycle de vie et méthodes de construction des ontologies
Cycle de vie et méthodes de construction des ontologiesCycle de vie et méthodes de construction des ontologies
Cycle de vie et méthodes de construction des ontologiesFatima Zahra Fagroud
 
Dataset description: DCAT and other vocabularies
Dataset description: DCAT and other vocabulariesDataset description: DCAT and other vocabularies
Dataset description: DCAT and other vocabulariesValeria Pesce
 
The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)Myungjin Lee
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphIoan Toma
 
Database/ Bases de données
Database/ Bases de donnéesDatabase/ Bases de données
Database/ Bases de donnéeszied kallel
 
Parquet and AVRO
Parquet and AVROParquet and AVRO
Parquet and AVROairisData
 
Microservices avec Spring Cloud
Microservices avec Spring CloudMicroservices avec Spring Cloud
Microservices avec Spring CloudFlorian Beaufumé
 
Ontologie concept applications
Ontologie concept applicationsOntologie concept applications
Ontologie concept applicationsbenouini rachid
 
Performance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and morePerformance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and moreDenodo
 
Secrets of the DSpace Submission Form
Secrets of the DSpace Submission FormSecrets of the DSpace Submission Form
Secrets of the DSpace Submission FormBram Luyten
 
Semtech web-protege-tutorial
Semtech web-protege-tutorialSemtech web-protege-tutorial
Semtech web-protege-tutorialmatthewhorridge
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyftmarkgrover
 
Building a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesNeo4j
 
Cohesion et couplage
Cohesion et couplage Cohesion et couplage
Cohesion et couplage Ahmed HARRAK
 

Was ist angesagt? (20)

SHACL Overview
SHACL OverviewSHACL Overview
SHACL Overview
 
Building and using ontologies
Building and using ontologies Building and using ontologies
Building and using ontologies
 
Introduction to Ontology Concepts and Terminology
Introduction to Ontology Concepts and TerminologyIntroduction to Ontology Concepts and Terminology
Introduction to Ontology Concepts and Terminology
 
Cycle de vie et méthodes de construction des ontologies
Cycle de vie et méthodes de construction des ontologiesCycle de vie et méthodes de construction des ontologies
Cycle de vie et méthodes de construction des ontologies
 
Dataset description: DCAT and other vocabularies
Dataset description: DCAT and other vocabulariesDataset description: DCAT and other vocabularies
Dataset description: DCAT and other vocabularies
 
The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)
 
Querying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge GraphQuerying the Wikidata Knowledge Graph
Querying the Wikidata Knowledge Graph
 
RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
Database/ Bases de données
Database/ Bases de donnéesDatabase/ Bases de données
Database/ Bases de données
 
Protege tutorial
Protege tutorialProtege tutorial
Protege tutorial
 
RDF and OWL
RDF and OWLRDF and OWL
RDF and OWL
 
Parquet and AVRO
Parquet and AVROParquet and AVRO
Parquet and AVRO
 
Microservices avec Spring Cloud
Microservices avec Spring CloudMicroservices avec Spring Cloud
Microservices avec Spring Cloud
 
Ontologie concept applications
Ontologie concept applicationsOntologie concept applications
Ontologie concept applications
 
Performance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and morePerformance Acceleration: Summaries, Recommendation, MPP and more
Performance Acceleration: Summaries, Recommendation, MPP and more
 
Secrets of the DSpace Submission Form
Secrets of the DSpace Submission FormSecrets of the DSpace Submission Form
Secrets of the DSpace Submission Form
 
Semtech web-protege-tutorial
Semtech web-protege-tutorialSemtech web-protege-tutorial
Semtech web-protege-tutorial
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyft
 
Building a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and OntologiesBuilding a Knowledge Graph using NLP and Ontologies
Building a Knowledge Graph using NLP and Ontologies
 
Cohesion et couplage
Cohesion et couplage Cohesion et couplage
Cohesion et couplage
 

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

Text-mining and Automation
Text-mining and AutomationText-mining and Automation
Text-mining and Automationbenosteen
 
Object And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesObject And Oriented Programing ( Oop ) Languages
Object And Oriented Programing ( Oop ) LanguagesJessica 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 ExamplesMonica Turner
 
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 Scienceshwu
 
ChatGPT in academic settings H2.de
ChatGPT in academic settings H2.deChatGPT in academic settings H2.de
ChatGPT in academic settings H2.deDavid Döring
 
Free technologies for Education
Free technologies for EducationFree technologies for Education
Free technologies for EducationTrevor 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 ProcessingMichel Bruley
 
Storytelling techniques for product documentation
Storytelling techniques for product documentationStorytelling techniques for product documentation
Storytelling techniques for product documentationLesia 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
 
Captivate and Articulate Storyline
Captivate and Articulate StorylineCaptivate and Articulate Storyline
Captivate and Articulate StorylineYum Studio
 

Ähnlich wie 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
 
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
 
My Experiment
My ExperimentMy Experiment
My Experiment
 
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
 

Mehr von sadegh salehi

Cloud intrusion detection System
Cloud intrusion detection SystemCloud intrusion detection System
Cloud intrusion detection Systemsadegh 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 DBsadegh salehi
 
Prototype design pattern - الگوی طراحی Prototype
Prototype design pattern - الگوی طراحی PrototypePrototype design pattern - الگوی طراحی Prototype
Prototype design pattern - الگوی طراحی Prototypesadegh salehi
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oraclesadegh salehi
 
مکتب کلبیان
مکتب کلبیانمکتب کلبیان
مکتب کلبیانsadegh salehi
 

Mehr von 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
 
مکتب کلبیان
مکتب کلبیانمکتب کلبیان
مکتب کلبیان
 

Kürzlich hochgeladen

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 

Kürzlich hochgeladen (20)

result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 

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

Hinweis der Redaktion

  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 دارند. هیچ مورد منحصر به فردی هم گیاه خوار و هم گوشت خوار حساب نمی شود.