Ontology and Knowledge System

download Ontology and Knowledge System

of 37

Transcript of Ontology and Knowledge System

  • 8/2/2019 Ontology and Knowledge System

    1/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 11

  • 8/2/2019 Ontology and Knowledge System

    2/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 22

    Section I: OntologySection I: Ontology

    Section II: Elements of an OntologySection II: Elements of an Ontology

    Section III: Web Ontology LanguageSection III: Web Ontology Language

  • 8/2/2019 Ontology and Knowledge System

    3/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 33

    Section I

    Overview of Ontological Techniques

  • 8/2/2019 Ontology and Knowledge System

    4/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 44

    --11

    (Ontology)(Ontology)

    (( ))

    ,, ,,

    A Resource Guide for PhilosophersA Resource Guide for Philosophers

  • 8/2/2019 Ontology and Knowledge System

    5/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 55

    --22

    ....

    .. OntologyOntology

  • 8/2/2019 Ontology and Knowledge System

    6/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 66

    --33

  • 8/2/2019 Ontology and Knowledge System

    7/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 77

    --44

  • 8/2/2019 Ontology and Knowledge System

    8/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 88

    55

    Object, Subject, RelationshipObject, Subject, Relationship

    :

  • 8/2/2019 Ontology and Knowledge System

    9/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 99

    --11

    Object, Relationship, SubjectObject, Relationship, Subject ConceptConcept

    Classification and CategoryClassification and Category

  • 8/2/2019 Ontology and Knowledge System

    10/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1010

    --22

    R. Neches (1991)R. Neches (1991)-- the basic terms and relationsthe basic terms and relations

    comprisingthe vocabulary of a topic area, andthe rule forcomprisingthe vocabulary of a topic area, andthe rule for

    combiningterms and relations to define extensions to thecombiningterms and relations to define extensions to thevocabulary.vocabulary.

    T. Gruber(1993)/ [Grarino (1995)]T. Gruber(1993)/ [Grarino (1995)] --a (explicit)a (explicit)

    specification of a conceptualizationspecification of a conceptualization

    Ontologies as a specification mechanismOntologies as a specification mechanism

    a setof definitions of formal vocabularya setof definitions of formal vocabulary

  • 8/2/2019 Ontology and Knowledge System

    11/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1111

    --33

    N. Guarino (1995)N. Guarino (1995)--a specification of concept, aa specification of concept, a

    philosophical discipline, a formal semantic account, aphilosophical discipline, a formal semantic account, a

    representation of a conceptual system via a logic theory.representation of a conceptual system via a logic theory. B. Swartout (1997)B. Swartout (1997)-- a hierarchically structured setoftermsa hierarchically structured setofterms

    for describing a domain thatcan be used as skeletalfor describing a domain thatcan be used as skeletal

    foundation for a KBfoundation for a KB..

    W.B

    orst (1997

    )/R. Studer(1998

    )W.B

    orst (1997

    )/R. Studer(1998

    )

    a formal explicita formal explicitspecification of a shared conceptualization.specification of a shared conceptualization.

    http://wwwhttp://www--ksl.stanford.edu/kst/whatksl.stanford.edu/kst/what--isis--anan--ontology.htmlontology.html

  • 8/2/2019 Ontology and Knowledge System

    12/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1212

    --44

    (Data model)(Data model)

    (Object)(Object)

    oontology is a data model that represents a domain and is used to reasonntology is a data model that represents a domain and is used to reasonabout the objects in that domain and the relations between them.about the objects in that domain and the relations between them.

  • 8/2/2019 Ontology and Knowledge System

    13/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1313

    --55

    Lassila & McGuinness(2001)

  • 8/2/2019 Ontology and Knowledge System

    14/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1414

    --11

    Taxonomy

    Ontology

  • 8/2/2019 Ontology and Knowledge System

    15/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1515

    --22

    ..

    ..

    ..

    ..

    ..

    ..

    ..

  • 8/2/2019 Ontology and Knowledge System

    16/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1616

    Section II

    Elements of an Ontology

  • 8/2/2019 Ontology and Knowledge System

    17/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1717

    -- concepts, classesconcepts, classes

    --properties, attributesproperties, attributes

    -- individuals, instancesindividuals, instances

    ((: 50 cm ): 50 cm )

    -- RelationsRelations

    (())

  • 8/2/2019 Ontology and Knowledge System

    18/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1818

    (concepts)(concepts) --11

    (Class)(Class)

    CanineCanine-- the class of all dogsthe class of all dogs

    VehicleVehicle the class of all carsthe class of all cars

    ThingThing-- the class of all thingsthe class of all things RootRoot--ClassClass

    SuperSuper-- SubSub

  • 8/2/2019 Ontology and Knowledge System

    19/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 1919

    (concepts)(concepts) --22

    Coupe

    Sedan

    Vehicle

    Sport

    Utility

    Car

    Aircraft

  • 8/2/2019 Ontology and Knowledge System

    20/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2020

    (concepts)(concepts) --33

    ExtensionalExtensionalIntensionalIntensional ExtensionalExtensional

    ExtensionalExtensional

    :: Concept CConcept C Concept CConcept C extensionalextensional Concept CConcept C Concept CConcept C

    IntensionalIntensional

    IntensionalIntensional

  • 8/2/2019 Ontology and Knowledge System

    21/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2121

    (concepts)(concepts) 44

    Age>=20

    Citizen

    , 30,

    ok

    x

    (age>20, Taipei city citizen)

  • 8/2/2019 Ontology and Knowledge System

    22/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2222

    (Properties)(Properties) 11

    -- 2D2D

    --,,,,,,,,

    -- ,,

  • 8/2/2019 Ontology and Knowledge System

    23/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2323

    Section III

    Web Ontology Language (OWL)Web Ontology Language (OWL)

  • 8/2/2019 Ontology and Knowledge System

    24/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2424

    XMLXML--based Ontology Lang.based Ontology Lang.

    XMLXML--based Ontologybased Ontology

    --LogicalModelLogicalModel

    RDF(Resource Description Framework)RDF(Resource Description Framework)

    DAMLDAML

    DAML+OILDAML+OIL

    OWL (Web Ontology Language)OWL (Web Ontology Language)

  • 8/2/2019 Ontology and Knowledge System

    25/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2525

    LogicalModelLogicalModel

    (mathematical or logical)(mathematical or logical)

    inferenceinference

    (.)

    (individual)

    (.)

    ()

    :

  • 8/2/2019 Ontology and Knowledge System

    26/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2626

    LogicalModelLogicalModel --22

    (.)

    ( and)( and).

  • 8/2/2019 Ontology and Knowledge System

    27/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2727

    Think & Practice..Think & Practice..

  • 8/2/2019 Ontology and Knowledge System

    28/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2828

    Web Ontology Lang.(OWL)Web Ontology Lang.(OWL)

    OWLOWLW3CW3CWeb SemanticsWeb Semantics

    zzRDF,DAML+OILRDF,DAML+OILzz

    OWLOWL

    OWL LiteOWL Lite

    OWL DLOWL DL

    OWL FullOWL Full

  • 8/2/2019 Ontology and Knowledge System

    29/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 2929

    ProtgProtg

    ProtgProtg OWLOWLeditoreditor

    Stanford U.Stanford U.

    Protg V.

    2

    Protg V.2

    RDFRDF Protg V.3Protg V.3 OWLOWL

    PluginPlugin

  • 8/2/2019 Ontology and Knowledge System

    30/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3030

    Protg vs. OWL vs. OntologyProtg vs. OWL vs. Ontology

    OWL

    -----------

    Class

    Properties

    instance

    Ontology

    -----------

    Concept

    Properties

    individual

    Protg

    -----------

    Class

    Slot (role)

    individual

  • 8/2/2019 Ontology and Knowledge System

    31/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3131

    ProtgProtg -- ClassClass

    ClassClass OntologyOntology (Concept)(Concept)

    ProtgProtgClassesClassesTaxonomyTaxonomy

    ClassClass

    ClassClass SuperSuper--SubSub

    (SubSumption )(SubSumption )

  • 8/2/2019 Ontology and Knowledge System

    32/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3232

    ProtgProtg slot/roleslot/role

    class,class,individualindividual

    Assigned value age 20. Assigned value age 20.

    hahass--a the studenthasa the studenthas--a BA degree.a BA degree. isis--a all graduate students isa all graduate students is--a student.a student.

    Transitive all graduate studenthas a studentid.Transitive all graduate studenthas a studentid.

    Symmetric ..Symmetric ..

  • 8/2/2019 Ontology and Knowledge System

    33/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3333

    ProtgProtg individualindividual

    IndividualIndividual(object)(object)

    ProtgProtg unique name assumption (UNA)unique name assumption (UNA)

    OWLOWL UNAUNA

  • 8/2/2019 Ontology and Knowledge System

    34/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3434

    Section IVSection IV

    ProtgProtg

  • 8/2/2019 Ontology and Knowledge System

    35/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3535

    ProtgProtg

    http://protege.stanford.edu/http://protege.stanford.edu/

    Version 3.1Version 3.1

    Full version (Full version (OWL plugin)OWL plugin)

    http://protege.stanford.edu/plugins/owl/documentation.htmlhttp://protege.stanford.edu/plugins/owl/documentation.html

    pizza~pizza~

  • 8/2/2019 Ontology and Knowledge System

    36/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3636

    ProtgProtg --22

  • 8/2/2019 Ontology and Knowledge System

    37/37

    2012/3/62012/3/6 Copyright:Copyright: DCRLDCRL 3737

    Pizza TutorialPizza Tutorial

    pizzapizza

    BaseBase

    ToppingTopping