SlideShare a Scribd company logo
1 of 28
Infromation Reprentation, 
Structured Data and Semantics 
Yogendra Tamang 
070-MSCS-670
OUTLINE 
• XML, DTD and XML Schema, XSLT 
• Meta data Standards. 
• Information Representation in Semantic Web 
• RDF, RDFS 
• Syntactic Formats 
• RDF/XML, N-triples, Turtles etc. 
• Embedded Formats 
• RDFs, Microformats, eRDF, HTML5, GRDDL, SPARQL
XML 
Thing! Elements 
XML 
Documents Epilogue 
Prolog 
XML 
Declaration and 
Reference 
Tag, 
Attributes 
and 
Content 
<?xml version="1.0" encoding="UTF-16"?> 
<!DOCTYPE book SYSTEM "book.dtd"> 
<lecturer>David Billington</lecturer>
XML 
• Comments and Processing Instructions 
<!-- This is a comment --> 
<?stylesheet type="text/css" href="mystyle.css"?>
DTD and XML Schema 
• Used for defining the structure 
• what values an attribute may take 
• which elements may or must occur within other elements, etc. 
<lecturer> 
<name>David Billington</name> 
<phone> +61 − 7 − 3875 507 </phone> 
</lecturer> 
<!ELEMENT lecturer (name,phone)> 
<!ELEMENT name (#PCDATA)> 
<!ELEMENT phone (#PCDATA)>
DTD 
Disjunctions: 
<!ELEMENT lecturer (name|phone)> 
<!ELEMENT lecturer((name,phone)|(phone,name))>
DTD 
<order orderNo="23456" customer="John Smith" date="October 15, 2002"> 
<item itemNo="a528" quantity="1"/> 
<item itemNo="c817" quantity="3"/> 
</order> 
<!ELEMENT order (item+)> 
<!ATTLIST order orderNo ID #REQUIRED 
customer CDATA #REQUIRED 
date CDATA #REQUIRED> 
<!ELEMENT item EMPTY> 
<!ATTLIST item itemNo ID #REQUIRED 
quantity CDATA #REQUIRED 
comments CDATA #IMPLIED>
XML Schema 
<schema http://www.w3.org/2000/10/XMLSchema version="1.0"> 
Element and Attribute Types using Data Types 
• Numerical data types: integer, Short etc. 
• String types: string, ID, IDREF, CDATA etc. 
• Date and time data types: time, Month etc. 
• User defined(Simple and Comlpex)
XML Namespaces and XPATH 
• Form: 
xmlns:prefix="location“ 
• XPATH: 
Operates on Tree data model and is core for XML query lanaguage
XSLT 
• XSLT specifies rules with which an input XML document 
is transformed to 
• another XML document 
• an HTML document 
• plain text
RDF 
• It provides a uniform framework for interchange of 
data and metadata between applications 
• XML does not provide any means of talking about the 
semantics (meaning) of data 
• Object-Attribute-Value
RDF 
• Fundamental Concepts: 
• resources 
• properties 
• statements
Statements 
• Triples 
• (x, P, y)  P(x, y)
RDFS Core Classes 
• rdfs:Resource, the class of all resources 
• rdfs:Class, the class of all classes 
• rdfs:Literal, the class of all literals (strings) 
• rdf:Property, the class of all properties. 
• rdf:Statement, the class of all reified statements
RDFS Core Properties 
• rdf:type, which relates a resource to its class 
• The resource is declared to be an instance of that class 
• rdfs:subClassOf, which relates a class to one of its 
superclasses 
• All instances of a class are instances of its superclass 
• rdfs:subPropertyOf, relates a property to one of its 
superproperties 
• rdfs:domain, 
• rdfs:range,
RDF Sparql Query 
• SPARQL is based on matching graph patterns 
• Example: 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
SELECT ?c 
WHERE 
{ 
?c rdf:type rdfs:Class . 
}
RDFa 
• RDFa is an extension to HTML5 that helps you markup things like 
People, Places, Events, Recipes and Reviews. Search Engines and Web 
Services use this markup to generate better search listings and give 
you better visibility on the Web, so that people can find your website 
more easily
Microformats 
• microformats are a set of simple, open data formats built upon 
existing and widely adopted standards
MicroFormats Tools and Code generators
Ntriples
Green Turtle RDFa
Green Triples 
• an implementation of RDFa 1.1 for browsers 
• When triples are discovered in a web page, a little green turtle 
will appear in the address bar. If you click on that turtle, you can 
view the triple graph.
References 
• “Semantic Web Primer”, Grigoris Antoniou, Frank van Harmelen 
• http://rdfa.info/ 
• https://code.google.com/p/green-turtle/ 
• http://microformats.org/wiki/about

More Related Content

What's hot

SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...
SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...
SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...Allison Jai O'Dell
 
RDF Seminar Presentation
RDF Seminar PresentationRDF Seminar Presentation
RDF Seminar PresentationMuntazir Mehdi
 
Naming things isn't that hard
Naming things isn't that hardNaming things isn't that hard
Naming things isn't that hardDavid McKinnon
 
An Introduction to Linked Data and Microdata
An Introduction to Linked Data and MicrodataAn Introduction to Linked Data and Microdata
An Introduction to Linked Data and MicrodataDLFCLIR
 
Services semantic technology_terminology
Services semantic technology_terminologyServices semantic technology_terminology
Services semantic technology_terminologyTenforce
 
Islandora and Linked Open Data
Islandora and Linked Open Data Islandora and Linked Open Data
Islandora and Linked Open Data eohallor
 
Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Hong (Jenny) Jing
 
Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...
Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...
Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...Jonathan Blackburn
 
A review of the state of the art in Machine Learning on the Semantic Web
A review of the state of the art in Machine Learning on the Semantic WebA review of the state of the art in Machine Learning on the Semantic Web
A review of the state of the art in Machine Learning on the Semantic WebSimon Price
 
Future directions for RDA / Gordon Dunsire
Future directions for RDA / Gordon DunsireFuture directions for RDA / Gordon Dunsire
Future directions for RDA / Gordon DunsireCILIP MDG
 
DSpace-CRIS: a CRIS enhanced repository platform
DSpace-CRIS: a CRIS enhanced repository platformDSpace-CRIS: a CRIS enhanced repository platform
DSpace-CRIS: a CRIS enhanced repository platformAndrea Bollini
 
An introduction to Metadata Application Profiles
An introduction to Metadata Application ProfilesAn introduction to Metadata Application Profiles
An introduction to Metadata Application Profileskcoylenet
 
3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”
3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”
3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”DuraSpace
 
Introduction to Crossref: History, Mission, Members
Introduction to Crossref: History, Mission, MembersIntroduction to Crossref: History, Mission, Members
Introduction to Crossref: History, Mission, MembersCrossref
 

What's hot (18)

Analysis on semantic web layer cake entities
Analysis on semantic web layer cake entitiesAnalysis on semantic web layer cake entities
Analysis on semantic web layer cake entities
 
Thompson 6-jun15-final
Thompson 6-jun15-finalThompson 6-jun15-final
Thompson 6-jun15-final
 
SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...
SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...
SKOS, Simple Knowledge Organization System: University of Florida Libraries, ...
 
RDF Seminar Presentation
RDF Seminar PresentationRDF Seminar Presentation
RDF Seminar Presentation
 
Naming things isn't that hard
Naming things isn't that hardNaming things isn't that hard
Naming things isn't that hard
 
An Introduction to Linked Data and Microdata
An Introduction to Linked Data and MicrodataAn Introduction to Linked Data and Microdata
An Introduction to Linked Data and Microdata
 
SHACL Overview
SHACL OverviewSHACL Overview
SHACL Overview
 
Services semantic technology_terminology
Services semantic technology_terminologyServices semantic technology_terminology
Services semantic technology_terminology
 
Islandora and Linked Open Data
Islandora and Linked Open Data Islandora and Linked Open Data
Islandora and Linked Open Data
 
Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)
 
Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...
Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...
Library OKRA: A Matter of Semantics? Intelligence, Open Data and the Future o...
 
A review of the state of the art in Machine Learning on the Semantic Web
A review of the state of the art in Machine Learning on the Semantic WebA review of the state of the art in Machine Learning on the Semantic Web
A review of the state of the art in Machine Learning on the Semantic Web
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Future directions for RDA / Gordon Dunsire
Future directions for RDA / Gordon DunsireFuture directions for RDA / Gordon Dunsire
Future directions for RDA / Gordon Dunsire
 
DSpace-CRIS: a CRIS enhanced repository platform
DSpace-CRIS: a CRIS enhanced repository platformDSpace-CRIS: a CRIS enhanced repository platform
DSpace-CRIS: a CRIS enhanced repository platform
 
An introduction to Metadata Application Profiles
An introduction to Metadata Application ProfilesAn introduction to Metadata Application Profiles
An introduction to Metadata Application Profiles
 
3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”
3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”
3.24.15 Slides, “New Possibilities: Developments with DSpace and ORCID”
 
Introduction to Crossref: History, Mission, Members
Introduction to Crossref: History, Mission, MembersIntroduction to Crossref: History, Mission, Members
Introduction to Crossref: History, Mission, Members
 

Viewers also liked

Management information system
Management information systemManagement information system
Management information systemKush Sharma
 
Management Information System James O Brien Study Notes
Management Information System James O Brien Study NotesManagement Information System James O Brien Study Notes
Management Information System James O Brien Study Notessau275
 
Input and Output Devices.
Input and Output Devices.Input and Output Devices.
Input and Output Devices.abena
 
Management information system
Management  information systemManagement  information system
Management information systemRamya Sree
 
Information system
Information systemInformation system
Information systemhiddensoul
 
Presentation on Input and Output Devices
Presentation on Input and Output DevicesPresentation on Input and Output Devices
Presentation on Input and Output DevicesZobia Aziz
 
Material Resource Planning
Material Resource PlanningMaterial Resource Planning
Material Resource PlanningBiswajit Ghosh
 

Viewers also liked (10)

Management information system
Management information systemManagement information system
Management information system
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Management Information System James O Brien Study Notes
Management Information System James O Brien Study NotesManagement Information System James O Brien Study Notes
Management Information System James O Brien Study Notes
 
(Mrp 1) Prsntation Slides
(Mrp 1) Prsntation Slides(Mrp 1) Prsntation Slides
(Mrp 1) Prsntation Slides
 
Input and Output Devices.
Input and Output Devices.Input and Output Devices.
Input and Output Devices.
 
Management information system
Management  information systemManagement  information system
Management information system
 
Information system
Information systemInformation system
Information system
 
Presentation on Input and Output Devices
Presentation on Input and Output DevicesPresentation on Input and Output Devices
Presentation on Input and Output Devices
 
Basic Concepts Of Information Technology (It)
Basic Concepts Of Information Technology (It)Basic Concepts Of Information Technology (It)
Basic Concepts Of Information Technology (It)
 
Material Resource Planning
Material Resource PlanningMaterial Resource Planning
Material Resource Planning
 

Similar to Infromation Reprentation, Structured Data and Semantics

Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic WebSerendipity Seraph
 
LDAP - Lightweight Directory Access Protocol
LDAP - Lightweight Directory Access ProtocolLDAP - Lightweight Directory Access Protocol
LDAP - Lightweight Directory Access ProtocolS. Hasnain Raza
 
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the CloudFirst Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the CloudOntotext
 
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLTools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLChimezie Ogbuji
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2Dimitris Kontokostas
 
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)Dan Brickley
 
ravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPTravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPTubaidullah75790
 
ontology.ppt
ontology.pptontology.ppt
ontology.pptPrerak10
 
Evolution of the Graph Schema
Evolution of the Graph SchemaEvolution of the Graph Schema
Evolution of the Graph SchemaJoshua Shinavier
 
Semantic Web use cases in outcomes research
Semantic Web use cases in outcomes researchSemantic Web use cases in outcomes research
Semantic Web use cases in outcomes researchChimezie Ogbuji
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsRinke Hoekstra
 
Data interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTDData interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTDAnushaMahmood
 
Comparative study on the processing of RDF in PHP
Comparative study on the processing of RDF in PHPComparative study on the processing of RDF in PHP
Comparative study on the processing of RDF in PHPMSGUNC
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itJose Luis Lopez Pino
 
Semantic framework for web scraping.
Semantic framework for web scraping.Semantic framework for web scraping.
Semantic framework for web scraping.Shyjal Raazi
 
advDBMS_XML.pptx
advDBMS_XML.pptxadvDBMS_XML.pptx
advDBMS_XML.pptxIreneGetzi
 

Similar to Infromation Reprentation, Structured Data and Semantics (20)

Knowledge Representation, Semantic Web
Knowledge Representation, Semantic WebKnowledge Representation, Semantic Web
Knowledge Representation, Semantic Web
 
Knowledge mangement
Knowledge mangementKnowledge mangement
Knowledge mangement
 
LDAP - Lightweight Directory Access Protocol
LDAP - Lightweight Directory Access ProtocolLDAP - Lightweight Directory Access Protocol
LDAP - Lightweight Directory Access Protocol
 
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the CloudFirst Steps in Semantic Data Modelling and Search & Analytics in the Cloud
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
 
Tools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDLTools for Next Generation of CMS: XML, RDF, & GRDDL
Tools for Next Generation of CMS: XML, RDF, & GRDDL
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 
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)
 
ravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPTravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPT
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 
ontology.ppt
ontology.pptontology.ppt
ontology.ppt
 
Evolution of the Graph Schema
Evolution of the Graph SchemaEvolution of the Graph Schema
Evolution of the Graph Schema
 
Semantic Web use cases in outcomes research
Semantic Web use cases in outcomes researchSemantic Web use cases in outcomes research
Semantic Web use cases in outcomes research
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
Data interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTDData interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTD
 
Comparative study on the processing of RDF in PHP
Comparative study on the processing of RDF in PHPComparative study on the processing of RDF in PHP
Comparative study on the processing of RDF in PHP
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
Linked services
Linked servicesLinked services
Linked services
 
Semantic framework for web scraping.
Semantic framework for web scraping.Semantic framework for web scraping.
Semantic framework for web scraping.
 
Danbri Drupalcon Export
Danbri Drupalcon ExportDanbri Drupalcon Export
Danbri Drupalcon Export
 
advDBMS_XML.pptx
advDBMS_XML.pptxadvDBMS_XML.pptx
advDBMS_XML.pptx
 

More from Yogendra Tamang

Azure machine learning tech mela
Azure machine learning tech melaAzure machine learning tech mela
Azure machine learning tech melaYogendra Tamang
 
Machine learning and azure ml studio gabc
Machine learning and azure ml studio gabcMachine learning and azure ml studio gabc
Machine learning and azure ml studio gabcYogendra Tamang
 
Machine learning and azure ml studio
Machine learning and azure ml studioMachine learning and azure ml studio
Machine learning and azure ml studioYogendra Tamang
 
Image classification with Deep Neural Networks
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural NetworksYogendra Tamang
 
Efficient Neural Network Architecture for Image Classfication
Efficient Neural Network Architecture for Image ClassficationEfficient Neural Network Architecture for Image Classfication
Efficient Neural Network Architecture for Image ClassficationYogendra Tamang
 
Introduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVCIntroduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVCYogendra Tamang
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 PresentationYogendra Tamang
 
Classification and Clustering
Classification and ClusteringClassification and Clustering
Classification and ClusteringYogendra Tamang
 
Natural language processing
Natural language processingNatural language processing
Natural language processingYogendra Tamang
 

More from Yogendra Tamang (20)

.Net framework
.Net framework.Net framework
.Net framework
 
Asp.net orientation
Asp.net orientationAsp.net orientation
Asp.net orientation
 
Azure machine learning tech mela
Azure machine learning tech melaAzure machine learning tech mela
Azure machine learning tech mela
 
Machine learning and azure ml studio gabc
Machine learning and azure ml studio gabcMachine learning and azure ml studio gabc
Machine learning and azure ml studio gabc
 
Machine learning and azure ml studio
Machine learning and azure ml studioMachine learning and azure ml studio
Machine learning and azure ml studio
 
Image classification with Deep Neural Networks
Image classification with Deep Neural NetworksImage classification with Deep Neural Networks
Image classification with Deep Neural Networks
 
Efficient Neural Network Architecture for Image Classfication
Efficient Neural Network Architecture for Image ClassficationEfficient Neural Network Architecture for Image Classfication
Efficient Neural Network Architecture for Image Classfication
 
ADO.NET Introduction
ADO.NET IntroductionADO.NET Introduction
ADO.NET Introduction
 
Introduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVCIntroduction and Starting ASP.NET MVC
Introduction and Starting ASP.NET MVC
 
Electronics projects
Electronics projectsElectronics projects
Electronics projects
 
Task programming
Task programmingTask programming
Task programming
 
Arduino Workshop Day 2
Arduino  Workshop Day 2Arduino  Workshop Day 2
Arduino Workshop Day 2
 
Arduino Day 1 Presentation
Arduino Day 1 PresentationArduino Day 1 Presentation
Arduino Day 1 Presentation
 
Virtualization lab
Virtualization labVirtualization lab
Virtualization lab
 
Path finder
Path finderPath finder
Path finder
 
Classification and Clustering
Classification and ClusteringClassification and Clustering
Classification and Clustering
 
Notation 3(n3)
Notation 3(n3)Notation 3(n3)
Notation 3(n3)
 
Cloud mobility final
Cloud mobility finalCloud mobility final
Cloud mobility final
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
IP/Wi-Fi Based Robot
IP/Wi-Fi Based RobotIP/Wi-Fi Based Robot
IP/Wi-Fi Based Robot
 

Recently uploaded

ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
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
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 

Recently uploaded (20)

ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
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
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 

Infromation Reprentation, Structured Data and Semantics

  • 1. Infromation Reprentation, Structured Data and Semantics Yogendra Tamang 070-MSCS-670
  • 2. OUTLINE • XML, DTD and XML Schema, XSLT • Meta data Standards. • Information Representation in Semantic Web • RDF, RDFS • Syntactic Formats • RDF/XML, N-triples, Turtles etc. • Embedded Formats • RDFs, Microformats, eRDF, HTML5, GRDDL, SPARQL
  • 3. XML Thing! Elements XML Documents Epilogue Prolog XML Declaration and Reference Tag, Attributes and Content <?xml version="1.0" encoding="UTF-16"?> <!DOCTYPE book SYSTEM "book.dtd"> <lecturer>David Billington</lecturer>
  • 4. XML • Comments and Processing Instructions <!-- This is a comment --> <?stylesheet type="text/css" href="mystyle.css"?>
  • 5. DTD and XML Schema • Used for defining the structure • what values an attribute may take • which elements may or must occur within other elements, etc. <lecturer> <name>David Billington</name> <phone> +61 − 7 − 3875 507 </phone> </lecturer> <!ELEMENT lecturer (name,phone)> <!ELEMENT name (#PCDATA)> <!ELEMENT phone (#PCDATA)>
  • 6. DTD Disjunctions: <!ELEMENT lecturer (name|phone)> <!ELEMENT lecturer((name,phone)|(phone,name))>
  • 7. DTD <order orderNo="23456" customer="John Smith" date="October 15, 2002"> <item itemNo="a528" quantity="1"/> <item itemNo="c817" quantity="3"/> </order> <!ELEMENT order (item+)> <!ATTLIST order orderNo ID #REQUIRED customer CDATA #REQUIRED date CDATA #REQUIRED> <!ELEMENT item EMPTY> <!ATTLIST item itemNo ID #REQUIRED quantity CDATA #REQUIRED comments CDATA #IMPLIED>
  • 8. XML Schema <schema http://www.w3.org/2000/10/XMLSchema version="1.0"> Element and Attribute Types using Data Types • Numerical data types: integer, Short etc. • String types: string, ID, IDREF, CDATA etc. • Date and time data types: time, Month etc. • User defined(Simple and Comlpex)
  • 9. XML Namespaces and XPATH • Form: xmlns:prefix="location“ • XPATH: Operates on Tree data model and is core for XML query lanaguage
  • 10. XSLT • XSLT specifies rules with which an input XML document is transformed to • another XML document • an HTML document • plain text
  • 11. RDF • It provides a uniform framework for interchange of data and metadata between applications • XML does not provide any means of talking about the semantics (meaning) of data • Object-Attribute-Value
  • 12. RDF • Fundamental Concepts: • resources • properties • statements
  • 13. Statements • Triples • (x, P, y)  P(x, y)
  • 14. RDFS Core Classes • rdfs:Resource, the class of all resources • rdfs:Class, the class of all classes • rdfs:Literal, the class of all literals (strings) • rdf:Property, the class of all properties. • rdf:Statement, the class of all reified statements
  • 15. RDFS Core Properties • rdf:type, which relates a resource to its class • The resource is declared to be an instance of that class • rdfs:subClassOf, which relates a class to one of its superclasses • All instances of a class are instances of its superclass • rdfs:subPropertyOf, relates a property to one of its superproperties • rdfs:domain, • rdfs:range,
  • 16. RDF Sparql Query • SPARQL is based on matching graph patterns • Example: PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?c WHERE { ?c rdf:type rdfs:Class . }
  • 17. RDFa • RDFa is an extension to HTML5 that helps you markup things like People, Places, Events, Recipes and Reviews. Search Engines and Web Services use this markup to generate better search listings and give you better visibility on the Web, so that people can find your website more easily
  • 18. Microformats • microformats are a set of simple, open data formats built upon existing and widely adopted standards
  • 19. MicroFormats Tools and Code generators
  • 20.
  • 21.
  • 22.
  • 25. Green Triples • an implementation of RDFa 1.1 for browsers • When triples are discovered in a web page, a little green turtle will appear in the address bar. If you click on that turtle, you can view the triple graph.
  • 26.
  • 27.
  • 28. References • “Semantic Web Primer”, Grigoris Antoniou, Frank van Harmelen • http://rdfa.info/ • https://code.google.com/p/green-turtle/ • http://microformats.org/wiki/about

Editor's Notes

  1. Define procedural attachments –PI A piece of text that is to be ignored by parser– Comments Well Formed XML Syntactically correct documents Only one outermost element (called root element) Each element contains an opening and a corresponding closing tag Tags may not overlap <author><name>Lee Hong</author></name> Attributes within an element have unique names Element and tag names must be permissible The tree representation of an XML document is an ordered labeled tree: There is exactly one root There are no cycles Each non-root node has exactly one parent Each node has a label. The order of elements is important … but the order of attributes is not important
  2. An XML document is valid if it is well-formed respects the structuring information it uses
  3. We express that a lecturer element contains either a name element or a phone element as follows: <!ELEMENT lecturer (name|phone)> A lecturer element contains a name element and a phone element in any order. <!ELEMENT lecturer((name,phone)|(phone,name))>
  4. #REQUIRED Attribute must appear in every occurrence of the element type in the XML document #IMPLIED The appearance of the attribute is optional #FIXED "value" Every element must have this attribute "value" This specifies the default value for the attribute
  5. Significantly richer language for defining the structure of XML documents Tts syntax is based on XML itself not necessary to write separate tools Reuse and refinement of schemas Expand or delete already existent schemas Sophisticated set of data types, compared to DTDs (which only supports strings) Opening tag Element Types <element name="email"/> <element name="head" minOccurs="1" maxOccurs="1"/> <element name="to" minOccurs="1"/> Cardinality constraints: minOccurs="x" (default value 1) maxOccurs="x" (default value 1) Generalizations of *,?,+ offered by DTDs
  6. location is the address of the DTD or schema If a prefix is not specified: xmlns="location" then the location is used by default XPath is core for XML query languages Language for addressing parts of an XML document. It operates on the tree data model of XML It has a non-XML syntax
  7. The output document may use the same DTD or schema, or a completely different vocabulary XSLT can be used independently of the formatting language
  8. Resource:- Resource is object or thing authors, books, publishers URI=== URL or some unique identifier Properties: Describe relations between resources Written by, age, title etc. URI Value can be resource or literals