Professional Documents
Culture Documents
IS707 Semanticweb Week14
IS707 Semanticweb Week14
Technologies
Spring 2022
1
Today’s Agenda
Mini-quiz (10 mins)
No mini-quiz next week
Project Presentation & Final Report(next Thursday)
Semantic Web
Paper presentations
The Semantic Web: Use of Semantic Technologies to Inform Progress
Toward Zero-Carbon Economy
Semantic Web: Modeling and Analysis of User Behavior in Online
Communities
Today’s Agenda
Mini-quiz (10 mins)
No mini-quiz next week
Project Presentation & Final Report(next Thursday)
Semantic Web
Paper presentations
The Semantic Web: Use of Semantic Technologies to Inform Progress
Toward Zero-Carbon Economy⋆
Semantic Web: Modeling and Analysis of User Behavior in Online
Communities
Project Presentation
Will be on Blackboard Collaborate course room
Presentation Format
Presentation time (total 13 mins for each team)
◦ Presentation: 10 mins (including demo)
◦ Q&A: 3 mins
◦ You may have multiple presenters in each team (all should be
involved), but only one person will flip the slides (I will make the
person a presenter)
◦ Send the slides to me 30 mins before the class so that I can uploaded
them to Blackboard Collaborate ahead of time (to make sure the
transition is smooth)
Project Presentation (cont.)
Main Evaluation Criteria
◦ Content organization and flow of the presentation
◦ Clarity of the explanation (explaining the motivation,
methods, results and main takeaways)
◦ Quality of the slides (e.g., density of the slides and
multimedia use)
◦ Time Management (e.g., finish presentations in ~10
mins, please rehearse)
◦ Q&A quality (able to answer questions from students &
instructor)
Project Final Report
Length: minimum 1500 words , only word/pdf files acceptable
Suggested outline
Abstract
Introduction
Problem statement: what problem do you want to solve
Motivation: why the problem is important to solve
Main challenges: why the problem is none-trivial
Existing/related work: what has been done before
Proposed solution:
system overview/architecture
method description
dataset description (if applicable)
implementation details (e.g., parameter settings, train/eval. data split)
Evaluation: how do we know your solution is good?
Baselines (what is the performance of prior solutions)
Evaluation measures
Evaluation results
Summary of work/limitations/main takeaways
Project Final Report: Evaluation Criteria
Importance of the chosen topic/problem
Why people should care
Distributed hypertext/hypermedia
Information accessed via keyword-based
search and browse
Browser renders information for human
consumption
What is the Problem?
• Markup language (e.g.,
html) consists of:
– rendering information
(e.g., font size and
colour)
– Hyper-links to related
content
• Web content is accessible
to humans, but not
(easily) to computers
– Text, images and videos …
What is the Semantic Web?
Was “invented” by Tim Berners-Lee (amongst others), a
physicist working at CERN
His vision of the Semantic Web:
Essence
Bring structure to the meaningful content of
web pages
to create machine-processible information –
realize the real power of the Web
Use structured collection of information
and sets of inference rules to conduct
automated reasoning
Enabling Technologies
Ontology
Knowledge Representation Language
Query Language
Ontology
Defines the kinds of things that exist in the
application domain/world
Explicit specification of a conceptualization
(Gruber 1993):
Formal machine consumable
Explicit facilitate knowledge extraction and reasoning
Shared conceptualization facilitate system-system
communication/integration
An ontology should:
Capture a shared understanding of a domain of interest
Provide a formal and machine manipulable model
Benefits of Ontology
Shared vocabulary (for humans and
autonomous agents)
Shared common understanding of the
structure of information
Reuse of domain/world knowledge
to avoid “re-inventing the wheel”
Benefits of Ontology (cont.)
Assumptions become explicit enabling
Explaining assumptions
Support for evolving systems where time and
situations change necessitating re-evaluation of
assumptions
Support for interoperation with other (potentially
legacy) systems
Separation of types of knowledge:
Declarative knowledge vs procedural knowledge
Background (unchanging) knowledge from changing
information
A Simple Ontology Example
Instance of
Calendar Meeting with
Cindy
Event
Has Has
Day
Day-of-week Second
Month Date Time Minute
Quarter Hour
Year
An Ontology Example with Concept
Hierarchy: E-Commerce
Service
Shipping Purchase
TruckShipping
BuyConcertTicket AmazonBuyBook
Ontology Development
Define concepts in the domain (classes)
Identify subclass/superclass relationships
(thereby defining a class hierarchy).
Identify attributes/properties /slots
Restrict attribute/property values
Define instances
Define interrelationships between
instances
Determine the scope of the domain
22
Class Inheritance
Classes are organized into a subclass-superclass
(or generalization-specialization) hierarchy
True subclass relationships are the basis of the
formal IS-A hierarchy
Classes are “is-a” related if an instance of the
subclass is an instance of the superclass
SubClass Example
RedWine is a subclass of Wine
Every red wine is a wine or every instance of a
red wine (like Marietta Old Vines Red) is an
instance of wine
NapaValleyWine is a subclass of
CaliforniaWine
Every wine from Napa valley is a wine from
California
26
Middle
level
Bottom
level
Define Properties/Attribute/Slot of
Classes
A part of the class definition describing the
properties of members of a class
Properties
Different types of properties
“intrinsic” properties: flavor and color of wine
“extrinsic” properties: name and price of wine
parts: ingredients in a dish
relations to other objects: producer of wine
(winery)
Data and object properties
simple (datatype) contain primitive values
(strings, numbers)
complex properties: contain other objects (e.g., a
winery instance)
30
Property Constraints
Value Type
Property value type – what values can the
property has
String: a string of characters (“Château
Lafite”)
Number: an integer or a float (15, 4.5)
Boolean: a true/false flag
Enumerated type: a list of allowed values (red,
white, rose)
Object type – a class defined in an ontology.
E.g., Winery is the value restriction on the
hasMaker property on the class Wine
36
Property Example
37
is-a is-a
French hasMaker French
wine winery
38
Create Instances
Create an instance of a class
The class becomes a parent of (or type of) the instance
Any superclass of a class is an ancestor (or type) of the
instance
Depth Oriented
Pick an important branch and go down it, identifying
specific subclasses, sub-sub-classes, etc. and the
appropriate properties.
40
Design Considerations: Defining
41
and Subclasses
If a class has a large number
of subclasses, it may be
useful to define intermediate
subclasses
E.g., in the domain of wines,
there are natural groupings
around wine color
However, if no natural
classification exists, the long
list may be more natural
48
One example
hierarchy
of wines
49
hasMaker and
Produces are
inverse
properties
Design Considerations: Inverse
Properties (cont.)
Inverse properties contain redundant
information, but
Allow acquisition of the information in either direction
Enable additional verification
Allow presentation of information in both directions
Ontology Tools
In order to use an ontology-based
solution, you must have:
A language
Editing environment
A way to update (evolution environment)
A way to reason with the information
(reasoner)
A way to check the consistency
Ontology Tools (Protege)
protege.stanford.edu
Ontology Reuse
Upper ontologies
Cyc (www.cyc.com)
Today’s Agenda
Mini-quiz (10 mins)
No mini-quiz next week
Project Presentation & Final Report(next Thursday)
Semantic Web
Paper presentations
The Semantic Web: Use of Semantic Technologies to Inform Progress
Toward Zero-Carbon Economy⋆
Semantic Web: Modeling and Analysis of User Behavior in Online
Communities
Acknowledgement
Some of the slides were originally from the
presentations by
Lina Zhou
Ian Horrocks
Luigi Ceccaroni
Deborah L. McGuinness
Owen Conlan
Athanasios Staikopoulos
See you next week!