SlideShare a Scribd company logo
1 of 15
Mustafa Jarrar
Lecture Notes, Web Data Management (MCOM7348)
University of Birzeit, Palestine
1st Semester, 2013

RDFS
RDF Schema

Dr. Mustafa Jarrar
University of Birzeit
mjarrar@birzeit.edu
www.jarrar.info
Jarrar © 2013

1
Watch this lecture and download the slides from
http://jarrar-courses.blogspot.com/2013/11/web-data-management.html

Jarrar © 2013

2
Reading

RDF Schema (http://www.w3.org/TR/rdf-schema/)

Keyword: RDF, RDFS, RDF Schema, Practical Session

Jarrar © 2013

3
RDF Schema

RDF Schema provides the framework to describe application-specific
classes and properties.
RDF Schema ‘semantically extends’ RDF to enable us to talk about
classes of resources, and the properties that will be used with them.
Classes in RDF Schema is much like classes in object oriented
programming languages. This allows resources to be defined as
instances of classes, and subclasses of classes.
RDF schemas are Web resources (and have URIs) and can be
described using RDF

Jarrar © 2013

4
Describing Classes with RDFS

To describe classes we can use built in RDF Schema resources:
rdfs:Class
rdfs:subClassOf
These are used in conjunction with the rdf:type property.

Rdfs:subclassOf

:Person

:Man

Rdf:Type

rdfs:Class

Rdf:Type

:Edward Said

Jarrar © 2013

5
Describing Properties with RDF(S)

RDF Schema allows us to describe properties. (Properties are instances
of the class rdf:Property!).
We can specify a domain using rdfs:domain.
We can specify a range using rdfs:range.

:Person

rdfs:Calss

rdfs:domain

rdf:Property
Rdf:Type

rdf:Type

rdfs:range

:hasColleague

Jarrar © 2013

6
RDF Schema
• Defines small Vocabulary for RDF:
• Class, subClassOf, Type
• Property, subPropertyOf
• Domain, Range

• Vocabulary can be used to define other vocabularies for
your application domain.
Person
subClassOf

subClassOf

hasSuperVisor
Student

Researcher

type

Frank

type
hasSuperVisor

Jarrar © 2013

Jeen

7
RDFS Example

<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf= "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
Observe that it is
xml:base= "http://www.animals.fake/animals">
an rdf document
<rdfs:Class rdf:ID="animal" />
<rdfs:Class rdf:ID="horse">
<rdfs:subClassOf rdf:resource="#animal"/>
</rdfs:Class>
<rdfs:Class rdf:ID="dog">
<rdfs:subClassOf rdf:resource="#animal"/>
</rdfs:Class>
</rdf:RDF>
Jarrar © 2013

8
RDF Schema (Another Example)
…
<rdfs:Class rdf:ID=“Course”/>

<rdfs:Class rdf:ID=“Student">
<rdfs:subClassOf rdf:resource=“foaf:Person"/>
</rdfs:Class>
<rdf:Property rdf:ID=”Name”>
<rdfs:domain rdf:resource=”foaf:Person"/>
<rdfs:range rdf:resource=“xsd:String"/>
</rdf:Property>
<rdf:Property rdf:ID="hasParent”>
<rdfs:domain rdf:resource=”foaf:Person"/>
<rdfs:range rdf:resource=“foaf:Person"/>
</rdf:Property>
</rdf:Property>
<rdf:Property rdf:ID="hasFather”>
<rdfs:subPropertyOf rdf:resource="#hasParent"/>
</rdf:Property>
Jarrar © 2013

9
Main RDFS constructs
rdfs:Class allows to declare a resource as a class for other resources.
rdfs:subClassOf allows to declare hierarchies of classes.
rdfs:domain of an rdf:predicate declares the class of the subject in a triple whose
second component is the predicate.
rdfs:range of an rdf:predicate declares the class or datatype of the object in a
triple whose second component is the predicate.
rdfs:subPropertyOf is an instance of rdf:Property that is used to state that all
resources related by one property are also related by another.
rdfs:seeAlso is an instance of rdf:Property that is used to indicate a resource that might
provide additional information about the subject resource.
rdfs:label is an instance of rdf:Property that may be used to provide a human-readable
version of a resource's name.
rdfs:comment is an instance of rdf:Property that may be used to provide a human-readable
description of a resource.
rdfs:Literal is the class of literal values such as strings and integers.property values such
as textual strings are examples of RDF literals. Literals may be plain or typed.
rdfs:Datatype is the class of datatypes…
Jarrar © 2013

10
RDFS is not enough
In the next lecture, we shall learn bout OWL, in order to be
more expressive in representing the meaning.

The lecture after, we shall learn about OWL and ontologies.

Jarrar © 2013

11
Mustafa Jarrar
Lecture Notes, Web Data Management (MCOM7348)
University of Birzeit, Palestine
1st Semester, 2013

RDFS
Practical Session
(National Student Registry)

Dr. Mustafa Jarrar
University of Birzeit
mjarrar@birzeit.edu
www.jarrar.info
Jarrar © 2013

12
Practical Session (National Student Registry)
Description:
The central management of students’ profiles by the ministry of education
is becoming an urgent need in the last years. Many students in Palestine
move from one university to another, and they need to transfer their
academic records. Also, the ministry of higher education needs to certify
the diplomas and mark sheets of students. Moreover, there is a need to
centrally manage/monitor students financial aids. Therefore, the ministry of
higher education has decided to build a national student registry, such
that, each semester every university has to send the academic record
(i.e., mark-sheet) of every student to the ministry of education. The ministry
will then update and integrate the academic records according to the data
combined from all universities into the national student registry.
The ministry wants to specify a shared ontology (in RDFs) such that all
universities can exchange their students profiles in RDF format and the
data can be automatically validated and integrated after that. Build this
ontology in RDFs.
Jarrar © 2013

13
Practical Session (National Student Registry)
• Each student should work alone.

• Start brainstorming on a paper to specify what a student record
contains
(student, university, faculty, program, course, semester, marks, average
s, and the relationships between such concepts, as well as the
business rules).
• Students are required to use two different mark sheets from different
universities, so to ensure that the resultant RDFs model cover the
relevant exchanged information needed for this national registry.
• Further, student are required to deliver two RDF files, each file
representing the data in a mark sheet. Please choose mark sheets
from different universities. These RDF files must commit/use the
vocabulary defined the RDFs model.

Jarrar © 2013

14
Practical Session (National Student Registry)
• Students will be asked next lecture to present their RDFs ontologies to
other students, so to collect comments and feedback.
• Then each student will have some more time to correct their
mistakes, and submit the final model.
• Students are expected to re-use standard and common ontologies
such as FOAF, DOAC, etc.
• Student must validate their RDFS and RDF files using the online
standard OWL and RDF validator.
• Each student must publish his/her RDFs model and the two RDF files
somewhere on the Web, and send me the link. Validate the file before
sending me.
• The final delivery should include
1) Link to the RDFs file
2) Links to the two RDF files

Jarrar © 2013

15

More Related Content

What's hot

Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
Open Data Support
 
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Simplilearn
 

What's hot (20)

An introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked DataAn introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked Data
 
Oak, the Architecture of the new Repository
Oak, the Architecture of the new RepositoryOak, the Architecture of the new Repository
Oak, the Architecture of the new Repository
 
RDF Data Model
RDF Data ModelRDF Data Model
RDF Data Model
 
Introduction to Lucidworks Fusion - Alexander Kanarsky, Lucidworks
Introduction to Lucidworks Fusion - Alexander Kanarsky, LucidworksIntroduction to Lucidworks Fusion - Alexander Kanarsky, Lucidworks
Introduction to Lucidworks Fusion - Alexander Kanarsky, Lucidworks
 
Semantic Web - Ontologies
Semantic Web - OntologiesSemantic Web - Ontologies
Semantic Web - Ontologies
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)
 
Spark Shuffle Deep Dive (Explained In Depth) - How Shuffle Works in Spark
Spark Shuffle Deep Dive (Explained In Depth) - How Shuffle Works in SparkSpark Shuffle Deep Dive (Explained In Depth) - How Shuffle Works in Spark
Spark Shuffle Deep Dive (Explained In Depth) - How Shuffle Works in Spark
 
Druid
DruidDruid
Druid
 
Introduction to RDF & SPARQL
Introduction to RDF & SPARQLIntroduction to RDF & SPARQL
Introduction to RDF & SPARQL
 
SHACL Overview
SHACL OverviewSHACL Overview
SHACL Overview
 
Natural Language Search with Knowledge Graphs (Activate 2019)
Natural Language Search with Knowledge Graphs (Activate 2019)Natural Language Search with Knowledge Graphs (Activate 2019)
Natural Language Search with Knowledge Graphs (Activate 2019)
 
Introduction to Apache Solr
Introduction to Apache SolrIntroduction to Apache Solr
Introduction to Apache Solr
 
Spark on yarn
Spark on yarnSpark on yarn
Spark on yarn
 
Rdf
RdfRdf
Rdf
 
Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)Neural Text Embeddings for Information Retrieval (WSDM 2017)
Neural Text Embeddings for Information Retrieval (WSDM 2017)
 
Web analytics at scale with Druid at naver.com
Web analytics at scale with Druid at naver.comWeb analytics at scale with Druid at naver.com
Web analytics at scale with Druid at naver.com
 
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
Apache Spark Architecture | Apache Spark Architecture Explained | Apache Spar...
 
BIBFRAME, Linked data, RDA
BIBFRAME, Linked data, RDA BIBFRAME, Linked data, RDA
BIBFRAME, Linked data, RDA
 
Understanding REST
Understanding RESTUnderstanding REST
Understanding REST
 
/path/to/content - the Apache Jackrabbit content repository
/path/to/content - the Apache Jackrabbit content repository/path/to/content - the Apache Jackrabbit content repository
/path/to/content - the Apache Jackrabbit content repository
 

Viewers also liked

Help for Victims: Hindi Flyer
Help for Victims: Hindi FlyerHelp for Victims: Hindi Flyer
Help for Victims: Hindi Flyer
StopTrafficking
 
03 자동온톨로지구축및수동검증
03 자동온톨로지구축및수동검증03 자동온톨로지구축및수동검증
03 자동온톨로지구축및수동검증
sejin nam
 
Jarrar: Web 2 Data Mashups
Jarrar: Web 2 Data MashupsJarrar: Web 2 Data Mashups
Jarrar: Web 2 Data Mashups
Mustafa Jarrar
 
Jarrar: Sparql Project
Jarrar: Sparql ProjectJarrar: Sparql Project
Jarrar: Sparql Project
Mustafa Jarrar
 
Jarrar: Data Integration and Fusion using RDF
Jarrar: Data Integration and Fusion using RDFJarrar: Data Integration and Fusion using RDF
Jarrar: Data Integration and Fusion using RDF
Mustafa Jarrar
 
Jarrar: The Next Generation of the Web 3.0: The Semantic Web Vesion
Jarrar: The Next Generation of the Web 3.0: The Semantic Web VesionJarrar: The Next Generation of the Web 3.0: The Semantic Web Vesion
Jarrar: The Next Generation of the Web 3.0: The Semantic Web Vesion
Mustafa Jarrar
 

Viewers also liked (20)

Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query Language
 
Jarrar: Zinnar
Jarrar: ZinnarJarrar: Zinnar
Jarrar: Zinnar
 
Jarrar: RDF Stores: Challenges and Solutions
Jarrar: RDF Stores: Challenges and SolutionsJarrar: RDF Stores: Challenges and Solutions
Jarrar: RDF Stores: Challenges and Solutions
 
Jarrar: RDFa
Jarrar: RDFaJarrar: RDFa
Jarrar: RDFa
 
Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)Jarrar: OWL (Web Ontology Language)
Jarrar: OWL (Web Ontology Language)
 
Help for Victims: Hindi Flyer
Help for Victims: Hindi FlyerHelp for Victims: Hindi Flyer
Help for Victims: Hindi Flyer
 
03 자동온톨로지구축및수동검증
03 자동온톨로지구축및수동검증03 자동온톨로지구축및수동검증
03 자동온톨로지구축및수동검증
 
Jarrar: Linked Data
Jarrar: Linked DataJarrar: Linked Data
Jarrar: Linked Data
 
Jarrar: Web 2 Data Mashups
Jarrar: Web 2 Data MashupsJarrar: Web 2 Data Mashups
Jarrar: Web 2 Data Mashups
 
Jarrar: Architectural Solutions in Data Integration
Jarrar: Architectural Solutions in Data IntegrationJarrar: Architectural Solutions in Data Integration
Jarrar: Architectural Solutions in Data Integration
 
Jarrar: Sparql Project
Jarrar: Sparql ProjectJarrar: Sparql Project
Jarrar: Sparql Project
 
Jarrar: Knowledge Engineering- Course Outline
Jarrar: Knowledge Engineering- Course OutlineJarrar: Knowledge Engineering- Course Outline
Jarrar: Knowledge Engineering- Course Outline
 
Jarrar: Subtype Relations and Constraints
Jarrar: Subtype Relations and ConstraintsJarrar: Subtype Relations and Constraints
Jarrar: Subtype Relations and Constraints
 
Jarrar: Data Integration and Fusion using RDF
Jarrar: Data Integration and Fusion using RDFJarrar: Data Integration and Fusion using RDF
Jarrar: Data Integration and Fusion using RDF
 
Jarrar: Introduction to Data Integration
Jarrar: Introduction to Data IntegrationJarrar: Introduction to Data Integration
Jarrar: Introduction to Data Integration
 
Connecting the Next Billion Devices to the Internet - Standards and Protocols
Connecting the Next Billion Devices to the Internet - Standards and ProtocolsConnecting the Next Billion Devices to the Internet - Standards and Protocols
Connecting the Next Billion Devices to the Internet - Standards and Protocols
 
Jarrar: RDFs -RDF Schema
Jarrar: RDFs -RDF SchemaJarrar: RDFs -RDF Schema
Jarrar: RDFs -RDF Schema
 
Jarrar: Data Fusion using RDF
Jarrar: Data Fusion using RDFJarrar: Data Fusion using RDF
Jarrar: Data Fusion using RDF
 
Jarrar: The Next Generation of the Web 3.0: The Semantic Web Vesion
Jarrar: The Next Generation of the Web 3.0: The Semantic Web VesionJarrar: The Next Generation of the Web 3.0: The Semantic Web Vesion
Jarrar: The Next Generation of the Web 3.0: The Semantic Web Vesion
 
Jarrar: OWL -Web Ontology Language
Jarrar: OWL -Web Ontology LanguageJarrar: OWL -Web Ontology Language
Jarrar: OWL -Web Ontology Language
 

Similar to Jarrar: RDFS ( RDF Schema)

Extracting Authoring Information Based on Keywords andSemant.docx
Extracting Authoring Information Based on Keywords andSemant.docxExtracting Authoring Information Based on Keywords andSemant.docx
Extracting Authoring Information Based on Keywords andSemant.docx
mydrynan
 
Wed batsakis tut_challenges of preservations
Wed batsakis tut_challenges of preservationsWed batsakis tut_challenges of preservations
Wed batsakis tut_challenges of preservations
eswcsummerschool
 
Wed batsakis tut_chalasdlenges of preservations
Wed batsakis tut_chalasdlenges of preservationsWed batsakis tut_chalasdlenges of preservations
Wed batsakis tut_chalasdlenges of preservations
eswcsummerschool
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
Josef Petrák
 

Similar to Jarrar: RDFS ( RDF Schema) (20)

Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your DataBuild Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
Build Knowledge Graphs with Oracle RDF to Extract More Value from Your Data
 
RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introduction
 
Wade.Semantic User Profiles
Wade.Semantic User ProfilesWade.Semantic User Profiles
Wade.Semantic User Profiles
 
Introduction to linked data and the semantic web
Introduction to linked data and the semantic webIntroduction to linked data and the semantic web
Introduction to linked data and the semantic web
 
Extracting Authoring Information Based on Keywords andSemant.docx
Extracting Authoring Information Based on Keywords andSemant.docxExtracting Authoring Information Based on Keywords andSemant.docx
Extracting Authoring Information Based on Keywords andSemant.docx
 
Wed batsakis tut_challenges of preservations
Wed batsakis tut_challenges of preservationsWed batsakis tut_challenges of preservations
Wed batsakis tut_challenges of preservations
 
Wed batsakis tut_chalasdlenges of preservations
Wed batsakis tut_chalasdlenges of preservationsWed batsakis tut_chalasdlenges of preservations
Wed batsakis tut_chalasdlenges of preservations
 
20th Feb 2020 json-ld-rdf-im-proposal.pdf
20th Feb 2020 json-ld-rdf-im-proposal.pdf20th Feb 2020 json-ld-rdf-im-proposal.pdf
20th Feb 2020 json-ld-rdf-im-proposal.pdf
 
PRELIDA Project Draft Roadmap
PRELIDA Project Draft RoadmapPRELIDA Project Draft Roadmap
PRELIDA Project Draft Roadmap
 
semanticweb
semanticwebsemanticweb
semanticweb
 
Linked Open Data in the World of Patents
Linked Open Data in the World of Patents Linked Open Data in the World of Patents
Linked Open Data in the World of Patents
 
ISO MLR semantics
ISO MLR semanticsISO MLR semantics
ISO MLR semantics
 
Semantic Web introduction
Semantic Web introductionSemantic Web introduction
Semantic Web introduction
 
MR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision ReflectionMR^3: Meta-Model Management based on RDFs Revision Reflection
MR^3: Meta-Model Management based on RDFs Revision Reflection
 
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
2011 4IZ440 Semantic Web – RDF, SPARQL, and software APIs
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)
 
Introduction To RDF and RDFS
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
 
Gap Analysis
Gap AnalysisGap Analysis
Gap Analysis
 
ontology.ppt
ontology.pptontology.ppt
ontology.ppt
 
RDFa Tutorial
RDFa TutorialRDFa Tutorial
RDFa Tutorial
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
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
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Jarrar: RDFS ( RDF Schema)

  • 1. Mustafa Jarrar Lecture Notes, Web Data Management (MCOM7348) University of Birzeit, Palestine 1st Semester, 2013 RDFS RDF Schema Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info Jarrar © 2013 1
  • 2. Watch this lecture and download the slides from http://jarrar-courses.blogspot.com/2013/11/web-data-management.html Jarrar © 2013 2
  • 3. Reading RDF Schema (http://www.w3.org/TR/rdf-schema/) Keyword: RDF, RDFS, RDF Schema, Practical Session Jarrar © 2013 3
  • 4. RDF Schema RDF Schema provides the framework to describe application-specific classes and properties. RDF Schema ‘semantically extends’ RDF to enable us to talk about classes of resources, and the properties that will be used with them. Classes in RDF Schema is much like classes in object oriented programming languages. This allows resources to be defined as instances of classes, and subclasses of classes. RDF schemas are Web resources (and have URIs) and can be described using RDF Jarrar © 2013 4
  • 5. Describing Classes with RDFS To describe classes we can use built in RDF Schema resources: rdfs:Class rdfs:subClassOf These are used in conjunction with the rdf:type property. Rdfs:subclassOf :Person :Man Rdf:Type rdfs:Class Rdf:Type :Edward Said Jarrar © 2013 5
  • 6. Describing Properties with RDF(S) RDF Schema allows us to describe properties. (Properties are instances of the class rdf:Property!). We can specify a domain using rdfs:domain. We can specify a range using rdfs:range. :Person rdfs:Calss rdfs:domain rdf:Property Rdf:Type rdf:Type rdfs:range :hasColleague Jarrar © 2013 6
  • 7. RDF Schema • Defines small Vocabulary for RDF: • Class, subClassOf, Type • Property, subPropertyOf • Domain, Range • Vocabulary can be used to define other vocabularies for your application domain. Person subClassOf subClassOf hasSuperVisor Student Researcher type Frank type hasSuperVisor Jarrar © 2013 Jeen 7
  • 8. RDFS Example <?xml version="1.0"?> <rdf:RDF xmlns:rdf= "http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" Observe that it is xml:base= "http://www.animals.fake/animals"> an rdf document <rdfs:Class rdf:ID="animal" /> <rdfs:Class rdf:ID="horse"> <rdfs:subClassOf rdf:resource="#animal"/> </rdfs:Class> <rdfs:Class rdf:ID="dog"> <rdfs:subClassOf rdf:resource="#animal"/> </rdfs:Class> </rdf:RDF> Jarrar © 2013 8
  • 9. RDF Schema (Another Example) … <rdfs:Class rdf:ID=“Course”/> <rdfs:Class rdf:ID=“Student"> <rdfs:subClassOf rdf:resource=“foaf:Person"/> </rdfs:Class> <rdf:Property rdf:ID=”Name”> <rdfs:domain rdf:resource=”foaf:Person"/> <rdfs:range rdf:resource=“xsd:String"/> </rdf:Property> <rdf:Property rdf:ID="hasParent”> <rdfs:domain rdf:resource=”foaf:Person"/> <rdfs:range rdf:resource=“foaf:Person"/> </rdf:Property> </rdf:Property> <rdf:Property rdf:ID="hasFather”> <rdfs:subPropertyOf rdf:resource="#hasParent"/> </rdf:Property> Jarrar © 2013 9
  • 10. Main RDFS constructs rdfs:Class allows to declare a resource as a class for other resources. rdfs:subClassOf allows to declare hierarchies of classes. rdfs:domain of an rdf:predicate declares the class of the subject in a triple whose second component is the predicate. rdfs:range of an rdf:predicate declares the class or datatype of the object in a triple whose second component is the predicate. rdfs:subPropertyOf is an instance of rdf:Property that is used to state that all resources related by one property are also related by another. rdfs:seeAlso is an instance of rdf:Property that is used to indicate a resource that might provide additional information about the subject resource. rdfs:label is an instance of rdf:Property that may be used to provide a human-readable version of a resource's name. rdfs:comment is an instance of rdf:Property that may be used to provide a human-readable description of a resource. rdfs:Literal is the class of literal values such as strings and integers.property values such as textual strings are examples of RDF literals. Literals may be plain or typed. rdfs:Datatype is the class of datatypes… Jarrar © 2013 10
  • 11. RDFS is not enough In the next lecture, we shall learn bout OWL, in order to be more expressive in representing the meaning. The lecture after, we shall learn about OWL and ontologies. Jarrar © 2013 11
  • 12. Mustafa Jarrar Lecture Notes, Web Data Management (MCOM7348) University of Birzeit, Palestine 1st Semester, 2013 RDFS Practical Session (National Student Registry) Dr. Mustafa Jarrar University of Birzeit mjarrar@birzeit.edu www.jarrar.info Jarrar © 2013 12
  • 13. Practical Session (National Student Registry) Description: The central management of students’ profiles by the ministry of education is becoming an urgent need in the last years. Many students in Palestine move from one university to another, and they need to transfer their academic records. Also, the ministry of higher education needs to certify the diplomas and mark sheets of students. Moreover, there is a need to centrally manage/monitor students financial aids. Therefore, the ministry of higher education has decided to build a national student registry, such that, each semester every university has to send the academic record (i.e., mark-sheet) of every student to the ministry of education. The ministry will then update and integrate the academic records according to the data combined from all universities into the national student registry. The ministry wants to specify a shared ontology (in RDFs) such that all universities can exchange their students profiles in RDF format and the data can be automatically validated and integrated after that. Build this ontology in RDFs. Jarrar © 2013 13
  • 14. Practical Session (National Student Registry) • Each student should work alone. • Start brainstorming on a paper to specify what a student record contains (student, university, faculty, program, course, semester, marks, average s, and the relationships between such concepts, as well as the business rules). • Students are required to use two different mark sheets from different universities, so to ensure that the resultant RDFs model cover the relevant exchanged information needed for this national registry. • Further, student are required to deliver two RDF files, each file representing the data in a mark sheet. Please choose mark sheets from different universities. These RDF files must commit/use the vocabulary defined the RDFs model. Jarrar © 2013 14
  • 15. Practical Session (National Student Registry) • Students will be asked next lecture to present their RDFs ontologies to other students, so to collect comments and feedback. • Then each student will have some more time to correct their mistakes, and submit the final model. • Students are expected to re-use standard and common ontologies such as FOAF, DOAC, etc. • Student must validate their RDFS and RDF files using the online standard OWL and RDF validator. • Each student must publish his/her RDFs model and the two RDF files somewhere on the Web, and send me the link. Validate the file before sending me. • The final delivery should include 1) Link to the RDFs file 2) Links to the two RDF files Jarrar © 2013 15