‫أكاديمية الحكومة اإللكترونية الفلسطينية‬           The Palestinian eGovernment Academy                      www.egovacade...
AboutThis tutorial is part of the PalGov project, funded by the TEMPUS IV program of theCommission of the European Communi...
© Copyright NotesEveryone is encouraged to use this material, or part of it, but shouldproperly cite the project (logo and...
Tutorial Map                                                                                        Topic                 ...
Outline and Session ILOsThis session will help student to:4a1: Demonstrate knowledge of what is an ontology, how it is bui...
Ontology Tools      Not only these, but many tools exist to help you model your ontology          •   Protégé          •  ...
Protégé          PalGov © 2011   7
Protégé          PalGov © 2011   8
Protégé• An open source ontology editing tool, written in Java.• Developed at Stanford.• The most commonly used tool for o...
TopBraid           PalGov © 2011   10
TopBraid           PalGov © 2011   11
TopBraid• A modeling environment for developing ontologies and building semanticweb applications.• Includes a Composer to ...
SWOOP        PalGov © 2011   13
SWOOP        PalGov © 2011   14
SWOOP• An open source tool for creating, editing, and debugging OWL ontologies.• Produced by the MIND lab at University of...
VisioModeler               PalGov © 2011   16
VisioModeler               PalGov © 2011   17
VisioModeler• Freely available though unsupported from Microsoft Corporation.• Designs and validates databases at the conc...
NORMA        PalGov © 2011   19
NORMA        PalGov © 2011   20
NORMA• Supports ORM 2 (Object-Role Modeling, version 2).• Implemented as an open-source plug-in for MS Visual Studio.• Can...
Dogma Modeler            PalGov © 2011   22
Dogma Modeler            PalGov © 2011   23
Dogma Modeler            PalGov © 2011   24
Dogma Modeler            PalGov © 2011   25
Dogma Modeler            PalGov © 2011   26
Dogma Modeler            PalGov © 2011   27
Dogma Modeler• Downloadable from http://www.jarrar.info/Dogmamodeler/• Free and open source (prototype status)• Designed a...
Practice SessionRe-build your BankCustomer Ontology using Protégé                     PalGov © 2011                  29
How to Use Protégé A Quick User Guide
Protégé – A Quick User GuideIn the coming slides, we try to present somebasic steps on how to create classes,properties, R...
OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to cre...
Home ScreenWhen you run Protégé; the first screen you get is this:                         PalGov © 2011                  ...
Home Screen (cont.)You can specify anOntology IRI, which  is where your Ontology will be    published                     ...
Home Screen (cont.)     You can also      choose the    Ontology Format    you want to use                      PalGov © 2...
The Entities TabChoosing the Entitiestab when yourontology file opens willallow you to view theclasses and propertiesthat ...
OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to cre...
Class DetailsSelecting ‘Thing’,  the most basicClass in Protégé,will show the class Annotations andDescription next to    ...
Creating a New Class   To create a new  Class it can either  be a subclass or    sibling class of   another existing      ...
Creating a New Class (cont.)                               Type in the name and click OK               PalGov © 2011      ...
RDF/XML rendering of Classes                       Choosing RDF/XML rendering in the                       Class section w...
OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to cre...
Property Details      Selecting‘topObjectProperty’,   the most basic  Object Property in  Protégé, will show      the clas...
Creating a New Property  To create a new   property it can  either be a subproperty or siblingproperty of another existing...
Creating a New Property (cont.)                        Type in the name and click OK               PalGov © 2011          ...
Creating a New Property (cont.)hasAddress Property                      PalGov © 2011    46
Adding a DomainAdding a domain and a range for the property can bedone through the property description window:           ...
Adding a Domain (cont.)The domaincan be a class,an expression,an object or adatarestriction,each chosenfrom itscorrespondi...
Adding a Domain (cont.)              PalGov © 2011   49
Adding a Range             PalGov © 2011   50
Adding a Range (cont.)The range canbe a class, anexpression, anobject or adatarestriction,each chosenfrom itscorresponding...
Adding a Range (cont.)              PalGov © 2011   52
RDF/XML Rendering of Properties                      Choosing RDF/XML rendering in the                      Class section ...
OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to cre...
OntoGrafAs Ontologies are best viewed as graphs, Protégé has the option“OntoGraf”.                                 OntoGra...
OntoGraf (cont.)   Hovering over aproperty will show you    its details (the  subclass property)                         P...
OntoGraf (cont.) Hovering over a class will showyou its URI and its Superclasses                              PalGov © 201...
Further References•The Protégé Wikihttp://protegewiki.stanford.edu/wiki/Main_Page•Protégé’s User Documentationhttp://prote...
Upcoming SlideShare
Loading in...5
×

Pal gov.tutorial4.session5.lab ontologytools

2,617

Published on

Published in: Education, Spiritual
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,617
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
100
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Pal gov.tutorial4.session5.lab ontologytools

  1. 1. ‫أكاديمية الحكومة اإللكترونية الفلسطينية‬ The Palestinian eGovernment Academy www.egovacademy.psTutorial 4: Ontology Engineering & Lexical Semantics Session 5 Ontology Tools Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info PalGov © 2011 1
  2. 2. AboutThis tutorial is part of the PalGov project, funded by the TEMPUS IV program of theCommission of the European Communities, grant agreement 511159-TEMPUS-1-2010-1-PS-TEMPUS-JPHES. The project website: www.egovacademy.psProject Consortium: Birzeit University, Palestine University of Trento, Italy (Coordinator ) Palestine Polytechnic University, Palestine Vrije Universiteit Brussel, Belgium Palestine Technical University, Palestine Université de Savoie, France Ministry of Telecom and IT, Palestine University of Namur, Belgium Ministry of Interior, Palestine TrueTrust, UK Ministry of Local Government, PalestineCoordinator:Dr. Mustafa JarrarBirzeit University, P.O.Box 14- Birzeit, PalestineTelfax:+972 2 2982935 mjarrar@birzeit.eduPalGov © 2011 2
  3. 3. © Copyright NotesEveryone is encouraged to use this material, or part of it, but shouldproperly cite the project (logo and website), and the author of that part.No part of this tutorial may be reproduced or modified in any form or byany means, without prior written permission from the project, who havethe full copyrights on the material. Attribution-NonCommercial-ShareAlike CC-BY-NC-SAThis license lets others remix, tweak, and build upon your work non-commercially, as long as they credit you and license their new creationsunder the identical terms. PalGov © 2011 3
  4. 4. Tutorial Map Topic Time Session 1_1: The Need for Sharing Semantics 1.5 Session 1_2: What is an ontology 1.5 Intended Learning ObjectivesA: Knowledge and Understanding Session 2: Lab- Build a Population Ontology 3 4a1: Demonstrate knowledge of what is an ontology, Session 3: Lab- Build a BankCustomer Ontology 3 how it is built, and what it is used for. Session 4: Lab- Build a BankCustomer Ontology 3 4a2: Demonstrate knowledge of ontology engineering and evaluation. Session 5: Lab- Ontology Tools 3 4a3: Describe the difference between an ontology and a Session 6_1: Ontology Engineering Challenges 1.5 schema, and an ontology and a dictionary. Session 6_2: Ontology Double Articulation 1.5 4a4: Explain the concept of language ontologies, lexical semantics and multilingualism. Session 7: Lab - Build a Legal-Person Ontology 3B: Intellectual Skills Session 8_1: Ontology Modeling Challenges 1.5 4b1: Develop quality ontologies. Session 8_2: Stepwise Methodologies 1.5 4b2: Tackle ontology engineering challenges. 4b3: Develop multilingual ontologies. Session 9: Lab - Build a Legal-Person Ontology 3 4b4: Formulate quality glosses. Session 10: Zinnar – The Palestinian eGovernment 3C: Professional and Practical Skills Interoperability Framework 4c1: Use ontology tools. Session 11: Lab- Using Zinnar in web services 3 4c2: (Re)use existing Language ontologies. Session 12_1: Lexical Semantics and Multilingually 1.5D: General and Transferable Skills d1: Working with team. Session 12_2: WordNets 1.5 d2: Presenting and defending ideas. Session 13: ArabicOntology 3 d3: Use of creativity and innovation in problem solving. Session 14: Lab-Using Linguistic Ontologies 3 d4: Develop communication skills and logical reasoning abilities. Session 15: Lab-Using Linguistic Ontologies 3 PalGov © 2011 4
  5. 5. Outline and Session ILOsThis session will help student to:4a1: Demonstrate knowledge of what is an ontology, how it is built, and what it is used for.4c1: Use ontology tools. PalGov © 2011 5
  6. 6. Ontology Tools Not only these, but many tools exist to help you model your ontology • Protégé • TopBraid • SWOOP • MS Visio and VisoModeler • NORMA • DogmaModeler and DogmaStudio• You may use any tool you want, you can even use MS Excel or Word.• Each tool has its own philosophy (methodology and modeling language).• Most of them don’t import/export to each other (generate OWL not the same)• The tool/language is not important when building an ontology, the important thing is the content (the ontology itself) PalGov © 2011 6
  7. 7. Protégé PalGov © 2011 7
  8. 8. Protégé PalGov © 2011 8
  9. 9. Protégé• An open source ontology editing tool, written in Java.• Developed at Stanford.• The most commonly used tool for ontology editing• Can be extended with various plug-ins and Java APIs PalGov © 2011 9
  10. 10. TopBraid PalGov © 2011 10
  11. 11. TopBraid PalGov © 2011 11
  12. 12. TopBraid• A modeling environment for developing ontologies and building semanticweb applications.• Includes a Composer to develop, manage and test configurations ofknowledge models.• Available as Free Edition, Standard Edition and Maestro Edition. PalGov © 2011 12
  13. 13. SWOOP PalGov © 2011 13
  14. 14. SWOOP PalGov © 2011 14
  15. 15. SWOOP• An open source tool for creating, editing, and debugging OWL ontologies.• Produced by the MIND lab at University of Maryland, College Park andhas contributors from all over.• Carries out all ontology editing inline with the HTML renderer. PalGov © 2011 15
  16. 16. VisioModeler PalGov © 2011 16
  17. 17. VisioModeler PalGov © 2011 17
  18. 18. VisioModeler• Freely available though unsupported from Microsoft Corporation.• Designs and validates databases at the conceptual level.• Has the ability to build a conceptual model from simple fact sentences. PalGov © 2011 18
  19. 19. NORMA PalGov © 2011 19
  20. 20. NORMA PalGov © 2011 20
  21. 21. NORMA• Supports ORM 2 (Object-Role Modeling, version 2).• Implemented as an open-source plug-in for MS Visual Studio.• Can map ORM models to DB engines, Object-oriented code, and XMLSchemas• Downloadable from SourceForge orhttp://www.ormfoundation.org/files/folders/norma_the_software/default.aspx. PalGov © 2011 21
  22. 22. Dogma Modeler PalGov © 2011 22
  23. 23. Dogma Modeler PalGov © 2011 23
  24. 24. Dogma Modeler PalGov © 2011 24
  25. 25. Dogma Modeler PalGov © 2011 25
  26. 26. Dogma Modeler PalGov © 2011 26
  27. 27. Dogma Modeler PalGov © 2011 27
  28. 28. Dogma Modeler• Downloadable from http://www.jarrar.info/Dogmamodeler/• Free and open source (prototype status)• Designed as Ontology modeling tool• Handles Double-articulation and modularization principles• Supports the use of ORM as a graphical notation forontology modeling• Verbalizes ORM diagrams into pseudo natural language in11 different languages including English, Dutch, German,French, Spanish, Arabic, Russian and others.• Includes automatic composition of ontology modules,through a well-defined composition operator• Incorporates linguistic resources in ontology engineering• Carries out automatic mapping of ORM diagrams into theDIG description logic interface and reasoning using Racer PalGov © 2011 28
  29. 29. Practice SessionRe-build your BankCustomer Ontology using Protégé PalGov © 2011 29
  30. 30. How to Use Protégé A Quick User Guide
  31. 31. Protégé – A Quick User GuideIn the coming slides, we try to present somebasic steps on how to create classes,properties, RDF/XML code and graphs inProtégé.The version we are using here is Protégé4.2 alpha. It is open-source, and can bedownloaded from herehttp://protege.stanford.edu/download/download.html PalGov © 2011 31
  32. 32. OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to create properties in Protégé• How to view the ontology as a graph PalGov © 2011 32
  33. 33. Home ScreenWhen you run Protégé; the first screen you get is this: PalGov © 2011 33
  34. 34. Home Screen (cont.)You can specify anOntology IRI, which is where your Ontology will be published PalGov © 2011 34
  35. 35. Home Screen (cont.) You can also choose the Ontology Format you want to use PalGov © 2011 35
  36. 36. The Entities TabChoosing the Entitiestab when yourontology file opens willallow you to view theclasses and propertiesthat are included inthis ontology. PalGov © 2011 36
  37. 37. OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to create properties in Protégé• How to view the ontology as a graph PalGov © 2011 37
  38. 38. Class DetailsSelecting ‘Thing’, the most basicClass in Protégé,will show the class Annotations andDescription next to it PalGov © 2011 38
  39. 39. Creating a New Class To create a new Class it can either be a subclass or sibling class of another existing A pop box appears to ask you for a class. name for your class Since this will bethe first class, it has to be a subclass of Thing PalGov © 2011 39
  40. 40. Creating a New Class (cont.) Type in the name and click OK PalGov © 2011 40
  41. 41. RDF/XML rendering of Classes Choosing RDF/XML rendering in the Class section will show the RDF/XML code of the classes we created ClassAddress ClassLegalPerson PalGov © 2011 41
  42. 42. OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to create properties in Protégé• How to view the ontology as a graph PalGov © 2011 42
  43. 43. Property Details Selecting‘topObjectProperty’, the most basic Object Property in Protégé, will show the class Annotations, Description andCharacteristics next to it PalGov © 2011 43
  44. 44. Creating a New Property To create a new property it can either be a subproperty or siblingproperty of another existing property. Since this will bethe first property, it has to be a sub property oftopObjectProperty A pop box appears to ask you for a name for your property PalGov © 2011 44
  45. 45. Creating a New Property (cont.) Type in the name and click OK PalGov © 2011 45
  46. 46. Creating a New Property (cont.)hasAddress Property PalGov © 2011 46
  47. 47. Adding a DomainAdding a domain and a range for the property can bedone through the property description window: PalGov © 2011 47
  48. 48. Adding a Domain (cont.)The domaincan be a class,an expression,an object or adatarestriction,each chosenfrom itscorrespondingtab. PalGov © 2011 48
  49. 49. Adding a Domain (cont.) PalGov © 2011 49
  50. 50. Adding a Range PalGov © 2011 50
  51. 51. Adding a Range (cont.)The range canbe a class, anexpression, anobject or adatarestriction,each chosenfrom itscorrespondingtab. PalGov © 2011 51
  52. 52. Adding a Range (cont.) PalGov © 2011 52
  53. 53. RDF/XML Rendering of Properties Choosing RDF/XML rendering in the Class section will show the RDF/XML code of the properties we created PropertyhasAddress Range: Domain: Address LegalPerson PalGov © 2011 53
  54. 54. OutlineThe guide is comprised of the following:• The home screens of Protégé• How to create classes in Protégé• How to create properties in Protégé• How to view the ontology as a graph PalGov © 2011 54
  55. 55. OntoGrafAs Ontologies are best viewed as graphs, Protégé has the option“OntoGraf”. OntoGraf Tab Our very basic ontology PalGov © 2011 55
  56. 56. OntoGraf (cont.) Hovering over aproperty will show you its details (the subclass property) PalGov © 2011 56
  57. 57. OntoGraf (cont.) Hovering over a class will showyou its URI and its Superclasses PalGov © 2011 57
  58. 58. Further References•The Protégé Wikihttp://protegewiki.stanford.edu/wiki/Main_Page•Protégé’s User Documentationhttp://protege.stanford.edu/doc/users.html•Tutorial by Erdogan Dogdu, PhDhttp://edogdu.etu.edu.tr/course/bil546/lectures/ProtegeTutorial.ppt•Tutorials by Matthew Horridgehttp://owl.cs.manchester.ac.uk/tutorials/protegeowltutorial/ PalGov © 2011 58
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×