SlideShare una empresa de Scribd logo
1 de 17
Chapter 5Knowledge Representation &
Description Logic
Introduction
• Logic based Knowledge Representation formalisms
     – Descendants of semantic networks
                – KL-ONE

     – Domain description in the form of concepts (classes),
       roles (properties, relationships) and individuals.


     – A knowledge base (KB) is a pair K = < A> where T
                                            T, ,
       is a TBox, and A is an Abox.



Akerkar: Foundations of    © Narosa Publishing House, 2009     2
Semantic Web.
Introduction
• Description Logic: set of concept and role
  forming operators
     – ALC is a type of description logics.
     – Concepts constructed using u, t, :, 9 and 8
• S used for ALC with transitive roles (R+)




Akerkar: Foundations of   © Narosa Publishing House, 2009   3
Semantic Web.
DL Architecture



             Knowledge Base

            ===============
                                         Inference
                                                                Interface
              Tbox (schema)               System


               Abox (data)




Akerkar: Foundations of       © Narosa Publishing House, 2009               4
Semantic Web.
Syntax & Semantics




         ALC provides two special classes as shortcuts:




Akerkar: Foundations of    © Narosa Publishing House, 2009   5
Semantic Web.
Example 5.11




Akerkar: Foundations of   © Narosa Publishing House, 2009   6
Semantic Web.
ALC Description Logic
• Two kinds of concept descriptions
     – elementary descriptions and
     – complex descriptions
• ALC concept formulas are built up from basic
  concept names and roles.
• ALC statements relate named or anonymous
  concepts by means of one of the following:
     – Inclusion,
     – inverse inclusion, and
     – Equivalence.

Akerkar: Foundations of   © Narosa Publishing House, 2009   7
Semantic Web.
Reasoning About Knowledge
• Description logics uses tableau algorithms
     – for deciding concept satisfiability with respect to a
       knowledge base.
     – A tableau algorithm for a DL language contains the
       following elements:
           • A completion graph, known as tableau, which represents a
             model of the DL language.
           • A set of tableau expansion rules to construct a complete and
             consistent completion graph.
           • A set of blocking rules to detect infinite cyclic models and
             ensure termination.
           • A set of clash conditions to detect logic contradictions.
Akerkar: Foundations of   © Narosa Publishing House, 2009                   8
Semantic Web.
CLASSIC
• Example 5.1: Express the sentences in the
  CLASSIC language.
     – The set of men with at most two daughters.
              AND(Man, AT-MOST(2, Daughter).


     – The set of men with at most two daughters who are all
       professors in physics or mathematics departments.
             AND(Man, AT-MOST(2, Daughter)),
             ALL(Daughter, AND(Professor, FILLS(Department, Physics,
             Mathematics))).


Akerkar: Foundations of   © Narosa Publishing House, 2009              9
Semantic Web.
CLASSIC & OWL
• CAR = AND (FOURWHEELER, ALL (hasMaker,
  FACTORY)).

                <owl:Class rdf:ID="Car">
                <rdfs:subClassOf rdf:resource="&vehicle;FourWheeler" />
                ...
                <rdfs:subClassOf>
                <owl:Restriction>
                <owl:onProperty rdf:resource="#hasMaker" />
                <owl:allValuesFrom rdf:resource="#Factory" />
                </owl:Restriction>
                </rdfs:subClassOf>
                ...
                </owl:Class>


Akerkar: Foundations of     © Narosa Publishing House, 2009               10
Semantic Web.
• CAR = AND (FOURWHEELER, AT-LEAST (1 engine))

           <owl:Class rdf:ID="Car">
           <rdfs:subClassOf rdf:resource="&vehicle;FourWheeler"/>
           <rdfs:subClassOf>
           <owl:Restriction>
           <owl:onProperty rdf:resource="#hasEngine"/>
           <owl:minCardinality
           rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
           </owl:Restriction>
           </rdfs:subClassOf>
           ...
           </owl:Class>


Akerkar: Foundations of    © Narosa Publishing House, 2009                 11
Semantic Web.
• SCOOTYPEPPLUS = AND (TWOWHEELER, FILLS
  (hasColour Pink))

                <owl:Class rdf:ID="ScootyPepPlus">
                <rdfs:subClassOf rdf:resource="#TwoWheeler"/>
                <rdfs:subClassOf>
                <owl:Restriction>
                <owl:onProperty rdf:resource="#hasColour" />
                <owl:hasValue rdf:resource="#Pink" />
                </owl:Restriction>
                </rdfs:subClassOf>
                </owl:Class>


Akerkar: Foundations of   © Narosa Publishing House, 2009       12
Semantic Web.
Rule Languages
• RuleMarkup in XML

• WSML




Akerkar: Foundations of   © Narosa Publishing House, 2009   13
Semantic Web.
F-Logic
           ABC[hasLegalName -> ‘ABC Travel Agency’,
           hasOfficesIn ->> {Bangalore, Mumbai},
           hasPhones ->> {00918023514537, 0091223885270},
           hasEmployees ->> {Anita, Sunita, Punita}].
           Anita[hasName -> ‘Miss Anita’,
           hasAddress -> AddressAnita[hasStreet -> ‘Nariman Point’,
           hasNumber -> 320,
           hasCity -> Mumbai].
           BookingABCAnita[bookedBy -> ABC,
           bookedFor -> Anita,
           issuedFor -> LH635].


Akerkar: Foundations of   © Narosa Publishing House, 2009             14
Semantic Web.
Company :: LegalEntity.
                Company[hasLegalName => STRING,
                hasOfficesIn =>> City,
                hasPhones =>> NUMBER,
                hasEmployees =>> Person].
                Person :: LegalEntity.
                Person[hasName => STRING,
                hasAddress => Addresss].
                Employee :: Person.
                Employee[isEmployedAt => Company].
                Booking[bookedBy => LegalEntity,
                bookedFor => Person,
                issuedFor => Flight].
                ABC : Company.
                Anita : Person.
                LH635 : Flight.
                BookingABCAnita : Booking.
Akerkar: Foundations of    © Narosa Publishing House, 2009   15
Semantic Web.
Tools & Reasoners
     – Protégé: a free, open source ontology editor
       and a knowledge acquisition system.
     – OntoEdit
     – KAON2
     – Pellet
     – FaCT+
     – SESAME
     – OWL Validator

Akerkar: Foundations of   © Narosa Publishing House, 2009   16
Semantic Web.
Suggested Readings
     1.     F. Baader, D. Calvanese, D. McGuinness, D. Nardi, and P.
            Patel-Schneider, editors. The Description Logic Handbook:
            Theory, Implementation and Applications. Cambridge
            University Press, 2003.
     2.     R. J. Brachman and al. Living with classic: When and how to
            use a kl-one-like language. In John Sowa, editor, Principles of
            Semantic Networks: Exploration in the Representation of
            Knowledge, pages 401--456. Morgan Kaufmann, 1991.
     3.     I. Horrocks, U. Sattler, Ontology reasoning in the SHOQ(D)
            description logic, in: Proc. of the 17th Int. Joint Conf. on
            Artificial Intelligence (IJCAI 2001), pp. 199–204, 2001.
     4.     I. Horrocks, P. F. Patel-Schneider, S. Bechhofer, and D.
            Tsarkov. OWL Rules: A Proposal and Prototype
            Implementation. Journal of Web Semantics, 3,1, 2005.
     5.     B. Motik, U. Sattler, and R. Studer. Query Answering for OWL-
            DL with Rules. Journal of Web Semantics 3,1, 2005.
            http://www.Websemanticsjournal.org/ps/pub/2005-3.
Akerkar: Foundations of    © Narosa Publishing House, 2009               17
Semantic Web.

Más contenido relacionado

Similar a Chapter 5 semantic web

Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)Ameer Sameer
 
LSA-ing Wikipedia with Apache Spark
LSA-ing Wikipedia with Apache SparkLSA-ing Wikipedia with Apache Spark
LSA-ing Wikipedia with Apache SparkCloudera, Inc.
 
Latent Semantic Analysis of Wikipedia with Spark
Latent Semantic Analysis of Wikipedia with SparkLatent Semantic Analysis of Wikipedia with Spark
Latent Semantic Analysis of Wikipedia with SparkSandy Ryza
 
Jarrar: ORM in Description Logic
Jarrar: ORM in Description Logic  Jarrar: ORM in Description Logic
Jarrar: ORM in Description Logic Mustafa Jarrar
 
Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...
Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...
Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...Lucidworks
 
Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...Takeshi Morita
 
Rapid prototyping with solr - By Erik Hatcher
Rapid prototyping with solr -  By Erik Hatcher Rapid prototyping with solr -  By Erik Hatcher
Rapid prototyping with solr - By Erik Hatcher lucenerevolution
 
R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)
R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)
R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)オラクルエンジニア通信
 
SPARQL in the Semantic Web
SPARQL in the Semantic WebSPARQL in the Semantic Web
SPARQL in the Semantic WebJan Beeck
 
REST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseREST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseJeff Smith
 
Scala final ppt vinay
Scala final ppt vinayScala final ppt vinay
Scala final ppt vinayViplav Jain
 
SPARQL-DL - Theory & Practice
SPARQL-DL - Theory & PracticeSPARQL-DL - Theory & Practice
SPARQL-DL - Theory & PracticeAdriel Café
 
Scala Days San Francisco
Scala Days San FranciscoScala Days San Francisco
Scala Days San FranciscoMartin Odersky
 
Building Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source TechnologiesBuilding Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source TechnologiesRahul Singh
 

Similar a Chapter 5 semantic web (20)

Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)
 
LSA-ing Wikipedia with Apache Spark
LSA-ing Wikipedia with Apache SparkLSA-ing Wikipedia with Apache Spark
LSA-ing Wikipedia with Apache Spark
 
Latent Semantic Analysis of Wikipedia with Spark
Latent Semantic Analysis of Wikipedia with SparkLatent Semantic Analysis of Wikipedia with Spark
Latent Semantic Analysis of Wikipedia with Spark
 
Jarrar: ORM in Description Logic
Jarrar: ORM in Description Logic  Jarrar: ORM in Description Logic
Jarrar: ORM in Description Logic
 
Quick introduction to scala
Quick introduction to scalaQuick introduction to scala
Quick introduction to scala
 
eureka09
eureka09eureka09
eureka09
 
eureka09
eureka09eureka09
eureka09
 
Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...
Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...
Solr & R to Deploy Custom Search Interface: Presented by Patrick Beaucamp, Bp...
 
Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...Integrating a Domain Ontology Development Environment and an Ontology Search ...
Integrating a Domain Ontology Development Environment and an Ontology Search ...
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
Rapid prototyping with solr - By Erik Hatcher
Rapid prototyping with solr -  By Erik Hatcher Rapid prototyping with solr -  By Erik Hatcher
Rapid prototyping with solr - By Erik Hatcher
 
R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)
R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)
R de Hadoop (Oracle R Advanced Analytics for Hadoopご説明資料)
 
SPARQL in the Semantic Web
SPARQL in the Semantic WebSPARQL in the Semantic Web
SPARQL in the Semantic Web
 
REST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseREST Enabling Your Oracle Database
REST Enabling Your Oracle Database
 
Scala final ppt vinay
Scala final ppt vinayScala final ppt vinay
Scala final ppt vinay
 
SAX-TimeSeries
SAX-TimeSeriesSAX-TimeSeries
SAX-TimeSeries
 
SPARQL-DL - Theory & Practice
SPARQL-DL - Theory & PracticeSPARQL-DL - Theory & Practice
SPARQL-DL - Theory & Practice
 
Scala Days San Francisco
Scala Days San FranciscoScala Days San Francisco
Scala Days San Francisco
 
Web Spa
Web SpaWeb Spa
Web Spa
 
Building Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source TechnologiesBuilding Enterprise Search Engines using Open Source Technologies
Building Enterprise Search Engines using Open Source Technologies
 

Más de R A Akerkar

Rajendraakerkar lemoproject
Rajendraakerkar lemoprojectRajendraakerkar lemoproject
Rajendraakerkar lemoprojectR A Akerkar
 
Big Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social MediaBig Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social MediaR A Akerkar
 
Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?R A Akerkar
 
Big data in Business Innovation
Big data in Business Innovation   Big data in Business Innovation
Big data in Business Innovation R A Akerkar
 
What is Big Data ?
What is Big Data ?What is Big Data ?
What is Big Data ?R A Akerkar
 
Connecting and Exploiting Big Data
Connecting and Exploiting Big DataConnecting and Exploiting Big Data
Connecting and Exploiting Big DataR A Akerkar
 
Linked open data
Linked open dataLinked open data
Linked open dataR A Akerkar
 
Semi structure data extraction
Semi structure data extractionSemi structure data extraction
Semi structure data extractionR A Akerkar
 
Big data: analyzing large data sets
Big data: analyzing large data setsBig data: analyzing large data sets
Big data: analyzing large data setsR A Akerkar
 
Description logics
Description logicsDescription logics
Description logicsR A Akerkar
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligenceR A Akerkar
 
Case Based Reasoning
Case Based ReasoningCase Based Reasoning
Case Based ReasoningR A Akerkar
 
Semantic Markup
Semantic Markup Semantic Markup
Semantic Markup R A Akerkar
 
Intelligent natural language system
Intelligent natural language systemIntelligent natural language system
Intelligent natural language systemR A Akerkar
 
Knowledge Organization Systems
Knowledge Organization SystemsKnowledge Organization Systems
Knowledge Organization SystemsR A Akerkar
 
Rational Unified Process for User Interface Design
Rational Unified Process for User Interface DesignRational Unified Process for User Interface Design
Rational Unified Process for User Interface DesignR A Akerkar
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling LanguageR A Akerkar
 

Más de R A Akerkar (20)

Rajendraakerkar lemoproject
Rajendraakerkar lemoprojectRajendraakerkar lemoproject
Rajendraakerkar lemoproject
 
Big Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social MediaBig Data and Harvesting Data from Social Media
Big Data and Harvesting Data from Social Media
 
Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?Can You Really Make Best Use of Big Data?
Can You Really Make Best Use of Big Data?
 
Big data in Business Innovation
Big data in Business Innovation   Big data in Business Innovation
Big data in Business Innovation
 
What is Big Data ?
What is Big Data ?What is Big Data ?
What is Big Data ?
 
Connecting and Exploiting Big Data
Connecting and Exploiting Big DataConnecting and Exploiting Big Data
Connecting and Exploiting Big Data
 
Linked open data
Linked open dataLinked open data
Linked open data
 
Semi structure data extraction
Semi structure data extractionSemi structure data extraction
Semi structure data extraction
 
Big data: analyzing large data sets
Big data: analyzing large data setsBig data: analyzing large data sets
Big data: analyzing large data sets
 
Description logics
Description logicsDescription logics
Description logics
 
Data Mining
Data MiningData Mining
Data Mining
 
Link analysis
Link analysisLink analysis
Link analysis
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
Case Based Reasoning
Case Based ReasoningCase Based Reasoning
Case Based Reasoning
 
Semantic Markup
Semantic Markup Semantic Markup
Semantic Markup
 
Intelligent natural language system
Intelligent natural language systemIntelligent natural language system
Intelligent natural language system
 
Data mining
Data miningData mining
Data mining
 
Knowledge Organization Systems
Knowledge Organization SystemsKnowledge Organization Systems
Knowledge Organization Systems
 
Rational Unified Process for User Interface Design
Rational Unified Process for User Interface DesignRational Unified Process for User Interface Design
Rational Unified Process for User Interface Design
 
Unified Modelling Language
Unified Modelling LanguageUnified Modelling Language
Unified Modelling Language
 

Último

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Último (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

Chapter 5 semantic web

  • 1. Chapter 5Knowledge Representation & Description Logic
  • 2. Introduction • Logic based Knowledge Representation formalisms – Descendants of semantic networks – KL-ONE – Domain description in the form of concepts (classes), roles (properties, relationships) and individuals. – A knowledge base (KB) is a pair K = < A> where T T, , is a TBox, and A is an Abox. Akerkar: Foundations of © Narosa Publishing House, 2009 2 Semantic Web.
  • 3. Introduction • Description Logic: set of concept and role forming operators – ALC is a type of description logics. – Concepts constructed using u, t, :, 9 and 8 • S used for ALC with transitive roles (R+) Akerkar: Foundations of © Narosa Publishing House, 2009 3 Semantic Web.
  • 4. DL Architecture Knowledge Base =============== Inference Interface Tbox (schema) System Abox (data) Akerkar: Foundations of © Narosa Publishing House, 2009 4 Semantic Web.
  • 5. Syntax & Semantics ALC provides two special classes as shortcuts: Akerkar: Foundations of © Narosa Publishing House, 2009 5 Semantic Web.
  • 6. Example 5.11 Akerkar: Foundations of © Narosa Publishing House, 2009 6 Semantic Web.
  • 7. ALC Description Logic • Two kinds of concept descriptions – elementary descriptions and – complex descriptions • ALC concept formulas are built up from basic concept names and roles. • ALC statements relate named or anonymous concepts by means of one of the following: – Inclusion, – inverse inclusion, and – Equivalence. Akerkar: Foundations of © Narosa Publishing House, 2009 7 Semantic Web.
  • 8. Reasoning About Knowledge • Description logics uses tableau algorithms – for deciding concept satisfiability with respect to a knowledge base. – A tableau algorithm for a DL language contains the following elements: • A completion graph, known as tableau, which represents a model of the DL language. • A set of tableau expansion rules to construct a complete and consistent completion graph. • A set of blocking rules to detect infinite cyclic models and ensure termination. • A set of clash conditions to detect logic contradictions. Akerkar: Foundations of © Narosa Publishing House, 2009 8 Semantic Web.
  • 9. CLASSIC • Example 5.1: Express the sentences in the CLASSIC language. – The set of men with at most two daughters. AND(Man, AT-MOST(2, Daughter). – The set of men with at most two daughters who are all professors in physics or mathematics departments. AND(Man, AT-MOST(2, Daughter)), ALL(Daughter, AND(Professor, FILLS(Department, Physics, Mathematics))). Akerkar: Foundations of © Narosa Publishing House, 2009 9 Semantic Web.
  • 10. CLASSIC & OWL • CAR = AND (FOURWHEELER, ALL (hasMaker, FACTORY)). <owl:Class rdf:ID="Car"> <rdfs:subClassOf rdf:resource="&vehicle;FourWheeler" /> ... <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#hasMaker" /> <owl:allValuesFrom rdf:resource="#Factory" /> </owl:Restriction> </rdfs:subClassOf> ... </owl:Class> Akerkar: Foundations of © Narosa Publishing House, 2009 10 Semantic Web.
  • 11. • CAR = AND (FOURWHEELER, AT-LEAST (1 engine)) <owl:Class rdf:ID="Car"> <rdfs:subClassOf rdf:resource="&vehicle;FourWheeler"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#hasEngine"/> <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality> </owl:Restriction> </rdfs:subClassOf> ... </owl:Class> Akerkar: Foundations of © Narosa Publishing House, 2009 11 Semantic Web.
  • 12. • SCOOTYPEPPLUS = AND (TWOWHEELER, FILLS (hasColour Pink)) <owl:Class rdf:ID="ScootyPepPlus"> <rdfs:subClassOf rdf:resource="#TwoWheeler"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#hasColour" /> <owl:hasValue rdf:resource="#Pink" /> </owl:Restriction> </rdfs:subClassOf> </owl:Class> Akerkar: Foundations of © Narosa Publishing House, 2009 12 Semantic Web.
  • 13. Rule Languages • RuleMarkup in XML • WSML Akerkar: Foundations of © Narosa Publishing House, 2009 13 Semantic Web.
  • 14. F-Logic ABC[hasLegalName -> ‘ABC Travel Agency’, hasOfficesIn ->> {Bangalore, Mumbai}, hasPhones ->> {00918023514537, 0091223885270}, hasEmployees ->> {Anita, Sunita, Punita}]. Anita[hasName -> ‘Miss Anita’, hasAddress -> AddressAnita[hasStreet -> ‘Nariman Point’, hasNumber -> 320, hasCity -> Mumbai]. BookingABCAnita[bookedBy -> ABC, bookedFor -> Anita, issuedFor -> LH635]. Akerkar: Foundations of © Narosa Publishing House, 2009 14 Semantic Web.
  • 15. Company :: LegalEntity. Company[hasLegalName => STRING, hasOfficesIn =>> City, hasPhones =>> NUMBER, hasEmployees =>> Person]. Person :: LegalEntity. Person[hasName => STRING, hasAddress => Addresss]. Employee :: Person. Employee[isEmployedAt => Company]. Booking[bookedBy => LegalEntity, bookedFor => Person, issuedFor => Flight]. ABC : Company. Anita : Person. LH635 : Flight. BookingABCAnita : Booking. Akerkar: Foundations of © Narosa Publishing House, 2009 15 Semantic Web.
  • 16. Tools & Reasoners – Protégé: a free, open source ontology editor and a knowledge acquisition system. – OntoEdit – KAON2 – Pellet – FaCT+ – SESAME – OWL Validator Akerkar: Foundations of © Narosa Publishing House, 2009 16 Semantic Web.
  • 17. Suggested Readings 1. F. Baader, D. Calvanese, D. McGuinness, D. Nardi, and P. Patel-Schneider, editors. The Description Logic Handbook: Theory, Implementation and Applications. Cambridge University Press, 2003. 2. R. J. Brachman and al. Living with classic: When and how to use a kl-one-like language. In John Sowa, editor, Principles of Semantic Networks: Exploration in the Representation of Knowledge, pages 401--456. Morgan Kaufmann, 1991. 3. I. Horrocks, U. Sattler, Ontology reasoning in the SHOQ(D) description logic, in: Proc. of the 17th Int. Joint Conf. on Artificial Intelligence (IJCAI 2001), pp. 199–204, 2001. 4. I. Horrocks, P. F. Patel-Schneider, S. Bechhofer, and D. Tsarkov. OWL Rules: A Proposal and Prototype Implementation. Journal of Web Semantics, 3,1, 2005. 5. B. Motik, U. Sattler, and R. Studer. Query Answering for OWL- DL with Rules. Journal of Web Semantics 3,1, 2005. http://www.Websemanticsjournal.org/ps/pub/2005-3. Akerkar: Foundations of © Narosa Publishing House, 2009 17 Semantic Web.