OWL and OWL Semantics Flashcards
(95 cards)
OWL Week 5 Summary
OWL (Web Ontology Language) is a language that allows us to represent rich and complex knowledge about things (or groups of things) and relations between them. OWL is a logic-based language and is computationally efficient, therefore 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 (ontologies) can be published in the World Wide Web and may refer to or be referred from other OWL ontologies.
In discussing OWL, we start by identifying the requirements for an ontology language, we look at the two OWL specifications, OWL1 and OWL2, then we present OWL syntax and semantics
Key week 5 points to remember:
RDFS simple representation model with efficient deduction and querying, but limited expressivity:
- Disjointness of Classes
- Property characteristics (inverse, transitive, ….)
- Local scope of properties
- Complex concept definitions (Boolean combination of classes)
Wishlist for ontology languages;
OWL as an extension of RDFS that satisfies the wishlist.
OWL Week 6 Summary
This week we continue exploring OWL as a knowledge representation for knowledge about a domain. This means not only defining the entities (classes, properties and individuals), but also the constraints that apply to them. In these videos we focus on modelling knowledge in OWL, and on the semantics of OWL which supports reasoning with the constraints modelled in an ontology. This is crucial for ensuring that the individuals in a KG (the A-box) and the KG schema (the T-box) are consistent and coherent.
Key week 6 points to remember:
Being familiar with the semantics of OWL helps to understand the effect of restrictions
- Useful in debugging an ontology.
Set based semantics of:
- Classes and properties;
- Restrictions;
What features can RDFS not provide?
- Disjointness of classes
- property characteristics (inverse, transitive)
- local scope of properties (the range of values for the property ‘rents’ is restricted to all the values of the class apartment)
- complex concept definitions (such as boolean combinations of classes, like the intersection of two classes)
- cardinality restrictions (an individual ResidentialUnit has at most 1 address)
- a way to distinguish between classes and instances (Building is a class, AmsterdamBuilding is an instance of the class Building)
- a way to distinguish between language constructors and ontology vocabulary (e.g. rdfs:Class is a language constructor and ex:teacher is a ontology vocabulary)
- detection of inconsistent-seeming assertions (Romeo is not the wifeOf Juliet)
What can we say about RDFS entailment?
You can entail a lot of things however not all types of inferences are possible. The RDFS rules are not encompassing, e.g. we can’t model symmetry, x marriedTo y implies y marriedTo x
What is OWL?
OWL (Web Ontology Language) extends RDFS with more expressive axioms (statements).
What is the Semantic Web?
- It represents web content in an easier machine-processable form
- It describes meta-data about resources on the web (descriptions about data, model and constraints used to represent them)
What are the conflicting aims for a semantic language?
- Ontologies provide structured vocabulary for describing meta-data (we model the domain)
- languages representing ontologies must be expressive as possible whilst permitting automated deduction
- to describe meta-data we want a logic based language
- to simulate human deduction efficiently we want a logic that permits efficient automated deduction
- the logic of choice is a compromise between expressiveness and complexity of deduction
Ontology language wishlist: Compromise between expressivity and scalability:
- Balance of expressivity and scalability
- A well defined syntax for automatic machine processing of information
Ontology language wishlist: Formal Semantics:
- These describe the meaning of knowledge precisely, allowing computers to reason. Inconsistencies should be recognised through classification
What are the 3 types of formal semantics for an Ontology language?
- Class Membership: if x ∈ A and A ⊆ B then we can infer that x ∈ B
- Consistency: x ∈ A, A ⊆ B ∩ C, A ⊆ D and B ∩ D = ∅ then we have an inconsistency!
- Classification: if some property-value pairs are a sufficient condition for membership in A and x satisfies them, infer x ∈ A
Ontology language wishlist: Efficient reasoning:
- derivation can be computed mechanically
- consistency, classification, detection of unintended relationships between classes
Ontology language wishlist: Sufficient expressive power:
- Compatibility with RDF and RDFS
Ontology language wishlist: Open World Assumption:
- the absence of a particular statement means (in principle) that the statement has not been made explicit yet
- whether the statement is true or not is irrelevant
- thus from the absence alone, a deductive reasoner cannot infer the statement is false
What are the 5 main requirements of Ontology Languages?
- A well defined syntax (RDFS/OWL)
- A formal Semantics (RDFS/OWL)
- Convenience of expression (RDFS/OWL)
- Efficient (complex) reasoning support (OWL)
- sufficient expressive power (OWL)
Why isn’t simply extending the RDF Schema enough to give us a semantic web language?
- Extending RDFS wouldn’t give us expressive power and efficient reasoning simultaneously
- Combining RDFS with logics leads to uncontrollable computational properties and layering issues
What are the OWL logical expressions syntax’s?
And, Or, Not
* :Woman = :Human and :Female
* :Person = :Man or :Woman
* :Man = not (:Woman)
What is the OWL local properties syntax?
only
* :Tenant only :rents :ResidentialUnits
What are the OWL Equality/Inequality syntax’s?
differentFrom / sameAs
* :john differentFrom :mary
* :JKRowling sameAs :RobertGalbraith
Important as operating under open world assumption, so if we don’t state john and mary are different, we could infer from the facts in the schema they’re the same.
What is the OWL required/optional properties syntax’s?
- :rents :ResidentialUnit is a required property for :Tenant
What is the OWL Required values syntax’s?
- :AmsterdamBuilding :hasLocation = :Amsterdam
The value for the :hasLocation property for the class :AmsterdamBuilding can only be :Amsterdam
What is the OWL enumerated classes syntax’s?
- DaysOfTheWeek = {Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday}
What do formal semantics allow?
What should the reasoner raise?
They allow for the automatic deduction of new facts and possible conflicts between class definitions (consistency).
The reasoner should raise facts that we have stated incorrectly. E.g. :Mammals and :Fish are disjoint classes i.e. they cannot have any common individuals :dolphin?