程序代写代做代考 database chain A Discussion of Some Intuitions of Defeasible Reasoning

A Discussion of Some Intuitions of Defeasible Reasoning

Chapter 4
A Semantic Web Primer
1
Lecture 8
OWL (continued)

Chapter 4
A Semantic Web Primer
2
Four Highlights making OWL a powerful language on the top of RDFS:
The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about things, groups of things, and relations between things.
OWL is a computational logic-based language such that knowledge expressed in OWL can be exploited by computer programs, e.g., to verify the consistency of that knowledge or to make implicit knowledge explicit.
OWL documents, known as ontologies, can be published in the World Wide Web and may refer to or be referred from other OWL ontologies.
OWL is part of the W3C’s Semantic Web technology stack, which includes RDF, RDFS, SPARQL, etc.
Source https://www.w3.org/OWL/

Chapter 4
A Semantic Web Primer
3
Four Highlights of OWL:
The current version of OWL, also referred to as “OWL 2”, was developed by the [W3C OWL Working Group] (now closed) and published in 2009, with a Second Edition published in 2012.
OWL 2 is an extension and revision of the 2004 version of OWL developed by the [W3C Web Ontology Working Group] (now closed) and published in 2004.
The deliverables that make up the OWL 2 specification include a Document Overview, which serves as an introduction to OWL 2, describes the relationship between OWL 1 and OWL 2, and provides an entry point to the remaining deliverables via a Documentation Roadmap.

Source https://www.w3.org/OWL/

Chapter 4
A Semantic Web Primer
4
Enumerations with owl:oneOf










Chapter 4
A Semantic Web Primer
5
Lecture Outline
Basic Ideas of OWL
The OWL Language
Examples
The OWL Namespace
Future Extensions

Chapter 4
A Semantic Web Primer
6
Non-Unique-Names
OWL does not adopt the unique-names assumption of database systems
If two instances have a different name or ID does not imply that they are different individuals
Suppose we state that each course is taught by at most one staff member, and that a given course is taught by two staff members
An OWL reasoner does not flag an error
Instead it infers that the two resources are equal

Unique-name assumption
In general, when two individuals are known by different names, sometimes it is assumed they are different individuals.
This is an assumption that sometimes works (ex. Product codes) and sometimes doesn’t (ex. Social environment)
OWL does not make the unique-name assumption.
Chapter 4
A Semantic Web Primer
7

Chapter 4
A Semantic Web Primer
8
Distinct Objects
To ensure that different individuals are indeed recognized as such, we must explicitly assert their inequality:


Chapter 4
A Semantic Web Primer
9
Distinct Objects (2)
OWL provides a shorthand notation to assert the pairwise inequality of all individuals in a given list






Chapter 4
A Semantic Web Primer
10
Data Types in OWL
XML Schema provides a mechanism to construct user-defined data types
E.g., the data type of adultAge includes all integers greater than 18
Such derived data types cannot be used in OWL
The OWL reference document lists all the XML Schema data types that can be used
These include the most frequently used types such as string, integer, Boolean, time, and date.

Chapter 4
A Semantic Web Primer
11
Restriction of Features in OWL
Property Separation
The set of object properties and data type properties are disjoint
Therefore the following can never be specified for data type properties:
owl:inverseOf
owl:FunctionalProperty
owl:InverseFunctionalProperty
owl:SymmetricProperty

Chapter 4
A Semantic Web Primer
12
Inheritance in Class Hierarchies
Range restriction: Courses must be taught by academic staff members only
Michael Maher is a professor
He inherits the ability to teach from the class of academic staff members
This is done in RDF Schema by fixing the semantics of “is a subclass of”
It is not the responsibility of an application (RDF processing software) to interpret “is a subclass of

OWL is based on Description Logic
Description Logic is a fragment of first-order logic
OWL inherits from Description Logic two assumptions:
The open-world assumption
The non-unique-name assumption
Chapter 4
A Semantic Web Primer
13

Open-world assumption (OWA)
We cannot conclude some statement x to be false simply because we cannot show x to be true

We may not deduce falsity from the absence of truth

Chapter 4
A Semantic Web Primer
14

Open-world assumption example
Question: “Did it rain in Tokyo yesterday?”
Answer: “I don’t know that it rained , but that’s not enough reason to conclude that it didn’t rain”
Chapter 4
A Semantic Web Primer
15

Closed-world assumption (CWA)
Closed-world assumption allow deriving falsity from the inability to derive truth
Example:
Question: ” Was there a big earthquake disaster in Tokyo yesterday? ”
Answer: ” I don’t know that there was, but if there had been such a disaster, I’d have heard about it. Therefore I conclude that there wasn’t such a disaster”
Chapter 4
A Semantic Web Primer
16

OWL vs Databases
Systems such as databases have tended to support closed worlds and unique names

Whereas

Knowledge representation systems and theorem plovers support open worlds and non-unique names
Chapter 4
A Semantic Web Primer
17

QUESTION
By the use of two examples, one in databases and the other in web, describe how a database uses closed world and web uses open world assumptions.

Chapter 4
A Semantic Web Primer
18

ANSWER
Web present data about uncounted concepts, Consider the following statement: “Tim Smith with the ID of 785654549 is a citizen of France.” Now, what if you ask “Is Tim Smith with the ID of 785654549 a citizen of Malaysia?” Under a closed world assumption, the answer is “no” whereas under the open world assumption the answer is “not known”. Web is full of such kinds of data. Hence, open world assumption is used in a system with incomplete information, to which Web belongs.
On the other hand databases usually presents data about limited concepts, say a university. For instance, if the database of UOW shows that Tim Smith with the ID of 785654549 is not UOW’s student, definitely he is not UOW’s student.
Moreover in web non-unique names are used, and two different ID may show the same resource, whereas in database this not the case

closed world assumption is applied to systems with complete information.

19

Relation of OWL Description Logic Program (DLP) to other languages
Chapter 4
A Semantic Web Primer
20

Chapter 4
A Semantic Web Primer
21
Lecture Outline
Basic Ideas of OWL
The OWL Language
Examples
The OWL Namespace
Future Extensions

Chapter 4
A Semantic Web Primer
22
An African Wildlife Ontology –
Class Hierarchy

Chapter 4
A Semantic Web Primer
23
An African Wildlife Ontology –
Properties






Chapter 4
A Semantic Web Primer
24
An African Wildlife Ontology –
Plants and Trees

Plants form a class disjoint from animals.



Trees are a type of plant.

24

Chapter 4
A Semantic Web Primer
25
An African Wildlife Ontology –
Branches

Branches are parts of trees.






Chapter 4
A Semantic Web Primer
26
An African Wildlife Ontology –
Leaves

Leaves are parts of branches.






Chapter 4
A Semantic Web Primer
27
An African Wildlife Ontology –
Carnivores

Carnivores are exactly those animals
that eat animals.








Chapter 4
A Semantic Web Primer
28
An African Wildlife Ontology –
Giraffes

Giraffes are herbivores, and they
eat only leaves.








Chapter 4
A Semantic Web Primer
29
An African Wildlife Ontology –
Lions

Lions are animals that eat
only herbivores.








Chapter 4
A Semantic Web Primer
30
A Printer Ontology – Class Hierarchy
xdfdf

Product
padid
printer
hp-product
Laser Jet Printer
hp-printer
personal-printer
hpLaserJetPrinter
1100series
1100se
1100xi

Chapter 4
A Semantic Web Primer
31
OWL for the Printer Ontology


Products form a class.


Printing and digital imaging devices
form a subclass of products.

Device

Chapter 4
A Semantic Web Primer
32
The Printer Ontology – HP Products






Hewlett Packard



Chapter 4
A Semantic Web Primer
33
The Printer Ontology –
Personal Printers

Printers are printing and digital imaging
devices.




Printers for personal use form
a subclass of printers.


Chapter 4
A Semantic Web Primer
34
The Printer Ontology –
HP LaserJet 1100se Printers

1100se printers belong to the 1100 series
and cost $450.






450



Chapter 4
A Semantic Web Primer
35
The Printer Ontology – Properties







Chapter 4
A Semantic Web Primer
36
Lecture Outline
Basic Ideas of OWL
The OWL Language
Examples
The OWL Namespace
Future Extensions

Chapter 4
A Semantic Web Primer
37
OWL in OWL
We present a part of the definition of OWL in terms of itself
The following captures some of OWL’s meaning in OWL
It does not capture the entire semantics
A separate semantic specification is necessary
The URI of the OWL definition is defined as the default namespace

Chapter 4
A Semantic Web Primer
38
Classes of Classes (Metaclasses)
The class of all OWL classes is itself a subclass of the class of all RDF Schema classes:
note that this definition has been stated in OWL document:

Chapter 4
A Semantic Web Primer
39
Classes of Classes (Metaclasses) – Thing and Nothing (2)

Thing








Nothing

Chapter 4
A Semantic Web Primer
40
Class Disjointness

disjointWith


Chapter 4
A Semantic Web Primer
41
Equality and Inequality
Equality and inequality can be stated between arbitrary things
In OWL Full this statement can also be applied to classes
Properties sameIndividualAs, sameAs and differentFrom

Chapter 4
A Semantic Web Primer
42
Equality and Inequality (2)






Chapter 4
A Semantic Web Primer
43
Properties (3)
owl:inverseOf relates two object properties:


inverseOf


Chapter 4
A Semantic Web Primer
44
Lecture Outline
Basic Ideas of OWL
The OWL Language
Examples
The OWL Namespace
Future Extensions

Chapter 4
A Semantic Web Primer
45
Future Extensions of OWL is involved with working on:
Modules and Imports
Defaults
Closed World Assumption
Unique Names Assumption
Procedural Attachments
Rules for Property Chaining

Chapter 4
A Semantic Web Primer
46
Modules and Imports
The importing facility of OWL is very trivial:
It only allows importing of an entire ontology, not parts of it
Modules in programming languages based on information hiding: state functionality, hide implementation details
An open question is that how to define appropriate module mechanism for Web ontology languages

Chapter 4
A Semantic Web Primer
47
Defaults
Many practical knowledge representation systems allow inherited values to be overridden by more specific classes in the hierarchy
treat inherited values as defaults
No consensus has been reached on the right formalization for the nonmonotonic behaviour of default values

Chapter 4
A Semantic Web Primer
48
Closed World Assumption
OWL currently adopts the open-world assumption: we cannot conclude some statement x to be false simply because we cannot show x to be true

Closed-world assumption: a statement is true when its negation cannot be proved
tied to the notion of defaults, leads to nonmonotonic behaviour

Chapter 4
A Semantic Web Primer
49
Summary
OWL is the proposed standard for Web ontologies
OWL builds upon RDF and RDF Schema:
(XML-based) RDF syntax is used
Instances are defined using RDF descriptions
Most RDFS modeling primitives are used

/docProps/thumbnail.jpeg