SlideShare una empresa de Scribd logo
1 de 21
RDFa: an introduction

          Kai Li
    LIS 681 Metadata
What is RDFa?
• RDFa = RDF in attributes
• RDFa Core is a “specification for attributes to
  express structured data in any markup
  language.”
  – Including (X)HTML and XML and other languages
  – HTML/XML tree structure is used
  – Some attributes and text content is reused from
    HTML/XML.
RDFa, Microformats and Microdata




     For full comparison, see: http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/
RDFa, Microformats and Microdata
               (cont.)
• Google supports all three formats.
• The latest Schema.org initiated by Google,
  Bing and Yahoo! chose Microdata over RDFa.
• However, the approach of Schema.org is
  “Microdata and more”, which means the
  vocabularies in Schema.org can be mixed with
  other approaches.
It’s about integrating RDF triples into
                     HTML
<http://nalsi.net/posts/20130124135526.html>
         <http://purl.org/dc/elements/1.1/creator>
                    <http://nalsi.us/about#me>
<http://nalsi.net/posts/20130124135526.html>
         <http://purl.org/dc/terms/created>
                    “2013/01/24”


                    <div resource=“http://nalsi.net/posts/20130124135526.html”>
                              <p>Written by: <span
                    property=“http://purl.org/dc/elements/1.1/creator”>Kai</span><
                    /p>
                              <p>Time: <span
                    property=“http://purl.org/dc/terms/created”>2013-01-
                    24</span></p>
                    </div>
RDFa: datatypes
• CURIE(s): compact URI(s), being composed of
  a prefix and astring.
  – For example: <div about="dbr:Albert_Einstein">
• IRIs: Internationalized Resource Identifiers,
  which is an extension of the URI or URL, in
  which internationalized characters are allowed
  to use.
How to use RDFa: tags
•   @about
•   @resource
•   @property
•   @href
•   @vocab
•   @prefix
•   @content
•   @typeof
•   And more tags…
@about and @resource
• Both attributes can serve to set the subject of
  the following statements.
  – The difference is, @about can be only used for
    setting subject.
  – @resource, when combined with attribute
    “property”, can be used to set the target, the
    object, for the statement.
@about and @resource (cont.)
Example 1:
<ul>
         <li about="/alice/posts/trouble_with_bob" property="title">The trouble
with Bob</li>
         <li about="/alice/posts/jos_barbecue" property="title">Jo's Barbecue</li> ...
</ul>

Example 2:
<div about="http://dbpedia.org/resource/Albert_Einstein">
         <div rel="dbp:birthPlace"
resource="http://dbpedia.org/resource/German_Empire">
                   <span property="dbp:conventionalLongName">the German
Empire</span>
</div></div>
@property
• The relationship between the subject and
  either an object if given or some literal text.

Example:
<body>
           <h2 property="http://purl.org/dc/terms/title">The Trouble with Bob</h2>
</body>
@href
• The partner resource of a relationship
  (object).

Example:
<head>
           <link rel="prev" href="page6.html" />
</head>
@prefix and @vocab
• Both of these two attributes define the
  namespace of the names used in the
  structured data.
  – @prefix defines the prefix of the value that will be
    used; @vocab defines the default URL of the
    vocabulary.
@prefix and @vocab, cont.
Example 1:
<div vocab="http://xmlns.com/foaf/0.1/" about="#me">
         My name is <span property="name">John Doe</span> and my
blog is called
         <a rel="homepage"
href="http://example.org/blog/">Understanding Semantics</a>.
</div>

Example 2:
This document is licensed under the
<a prefix="cc: http://creativecommons.org/ns#" rel="cc:license"
href="http://creativecommons.org/licenses/by-nc-nd/3.0/" >Creative
Commons By-NC-ND License</a>.
@content
• A string, to supply machine-readable content
  for a literal.

Example:
<head>
           <meta property="http://purl.org/dc/terms/creator" content="Mark Birbeck"
/>
</head>
@typeof
• RDF type(s) to associate with a subject.

Example:
<span about="urn:ISBN:0091808189" typeof="bibo:Book"
property="dc:title">Canteen Cuisine</span>
RDFa Use Cases
• W3C published the official RDFa Use Case in
  2007 as a draft.
  – http://www.w3.org/TR/xhtml-rdfa-scenarios/
• The document explores “how publishers, tool
  builders, and consumers benefit from RDFa”
  by embedding RDF in HTML.
• Nine use cases are listed and discussed.
RDFa Use Cases, cont.
• Publishers
  – Mark the web pages with structured data so that
    machines can consume these contents
• Tool builders
  – Augment the metadata embedded in the HTML
    files to facilitate using the data
• Users
  – Better organize, sort and categorize related
    information on the Internet
RDFa Use Cases, cont.
• Use Case Example:
  – Sarah is a information scientist who publishes her
    recent study about metadata standards in her
    personal website. She uses RDFa to “mark up” this
    website, so that the results of the study as well as
    her rights toward the study can be not only
    meaningful to human readers, but also to
    machines.
Reference
• Birbeck, M. (2009, June 23). Introduction to RDFa.
  Retrieved April 1, 2013, from
  http://alistapart.com/article/introduction-to-rdfa
• Brickley, D. (2012, June 7). SemTech, RDFa,
  Microdata and more... Retrieved April 1, 2013,
  from http://blog.schema.org/2012/06/semtech-
  rdfa-microdata-and-more.html
• Sporny, M. (2013, February 23). An Uber-
  comparison of RDFa, Microdata and
  Microformats. Retrieved April 1, 2013, from
  http://manu.sporny.org/2011/uber-comparison-
  rdfa-md-uf/
Reference, cont.
• W3C. (2012, June 7). RDFa 1.1 Primer. Retrieved
  April 1, 2013, from http://www.w3.org/TR/xhtml-
  rdfa-primer/
• W3C. (2012, June 7). RDFa Core 1.1. Retrieved
  March 31, 2013, from
  http://www.w3.org/TR/2012/REC-rdfa-core-
  20120607/
• W3C. (2007, March 30). RDFa Use Cases:
  Scenarios for Embedding RDF in HTML. Retrieved
  April 1, 2013, from http://www.w3.org/TR/xhtml-
  rdfa-scenarios/
Thank you!

Más contenido relacionado

La actualidad más candente

Saveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataSaveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataFuming Shih
 
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 DataGabriela Agustini
 
Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Juan Sequeda
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosEUCLID project
 
Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageMustafa Jarrar
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic websiteCJ Jenkins
 
Annotating Scholarly Works - the W3C Open Annotation Model
Annotating Scholarly Works - the W3C Open Annotation ModelAnnotating Scholarly Works - the W3C Open Annotation Model
Annotating Scholarly Works - the W3C Open Annotation ModelRobert Sanderson
 
Facet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLFacet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLLeigh Dodds
 
Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Juan Sequeda
 
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic webRDF and Drupal - The Semantic web
RDF and Drupal - The Semantic webgauravkumar87
 
A Semantic Data Model for Web Applications
A Semantic Data Model for Web ApplicationsA Semantic Data Model for Web Applications
A Semantic Data Model for Web ApplicationsArmin Haller
 
Resource description framework
Resource description frameworkResource description framework
Resource description frameworkStanley Wang
 
Introduction into Search Engines and Information Retrieval
Introduction into Search Engines and Information RetrievalIntroduction into Search Engines and Information Retrieval
Introduction into Search Engines and Information RetrievalA. LE
 
Search Engines and its working
Search Engines and its workingSearch Engines and its working
Search Engines and its workingMukesh Kumar
 
Shrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic WebShrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic WebGordon Dunsire
 
Architecture of a search engine
Architecture of a search engineArchitecture of a search engine
Architecture of a search engineSylvain Utard
 
Working Of Search Engine
Working Of Search EngineWorking Of Search Engine
Working Of Search EngineNIKHIL NAIR
 

La actualidad más candente (20)

Saveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF dataSaveface - Save your Facebook content as RDF data
Saveface - Save your Facebook content as RDF data
 
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
 
Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application Scenarios
 
Linked Data
Linked DataLinked Data
Linked Data
 
Jarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query LanguageJarrar: SPARQL - RDF Query Language
Jarrar: SPARQL - RDF Query Language
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic website
 
Annotating Scholarly Works - the W3C Open Annotation Model
Annotating Scholarly Works - the W3C Open Annotation ModelAnnotating Scholarly Works - the W3C Open Annotation Model
Annotating Scholarly Works - the W3C Open Annotation Model
 
Facet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQLFacet: Building Web Pages with SPARQL
Facet: Building Web Pages with SPARQL
 
Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Introduction to Linked Data 1/5
Introduction to Linked Data 1/5
 
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic webRDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
 
A Semantic Data Model for Web Applications
A Semantic Data Model for Web ApplicationsA Semantic Data Model for Web Applications
A Semantic Data Model for Web Applications
 
Smart Searching
Smart SearchingSmart Searching
Smart Searching
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
Introduction into Search Engines and Information Retrieval
Introduction into Search Engines and Information RetrievalIntroduction into Search Engines and Information Retrieval
Introduction into Search Engines and Information Retrieval
 
Search Engines and its working
Search Engines and its workingSearch Engines and its working
Search Engines and its working
 
Websrc~1
Websrc~1Websrc~1
Websrc~1
 
Shrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic WebShrinking the silo boundary: data and schema in the Semantic Web
Shrinking the silo boundary: data and schema in the Semantic Web
 
Architecture of a search engine
Architecture of a search engineArchitecture of a search engine
Architecture of a search engine
 
Working Of Search Engine
Working Of Search EngineWorking Of Search Engine
Working Of Search Engine
 

Similar a RDFa: an introduction

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
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeDan Brickley
 
Linked data: spreading data over the web
Linked data: spreading data over the webLinked data: spreading data over the web
Linked data: spreading data over the webshellac
 
ontology.ppt
ontology.pptontology.ppt
ontology.pptPrerak10
 
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic WebJarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic WebMustafa Jarrar
 
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 APIsJosef Petrák
 
Learning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesLearning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesNandana Mihindukulasooriya
 
Semantic web and Drupal: an introduction
Semantic web and Drupal: an introductionSemantic web and Drupal: an introduction
Semantic web and Drupal: an introductionKristof Van Tomme
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2Dimitris Kontokostas
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsRinke Hoekstra
 
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...Ross Singer
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)Myungjin Lee
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasDC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasMikael Nilsson
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic WebRoberto García
 

Similar a RDFa: an introduction (20)

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
 
RDFa
RDFaRDFa
RDFa
 
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
 
Linked data: spreading data over the web
Linked data: spreading data over the webLinked data: spreading data over the web
Linked data: spreading data over the web
 
ontology.ppt
ontology.pptontology.ppt
ontology.ppt
 
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic WebJarrar: The Next Generation of the Web 3.0: The Semantic Web
Jarrar: The Next Generation of the Web 3.0: The Semantic Web
 
Webofdata
WebofdataWebofdata
Webofdata
 
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
 
Data in RDF
Data in RDFData in RDF
Data in RDF
 
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
 
Learning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examplesLearning W3C Linked Data Platform with examples
Learning W3C Linked Data Platform with examples
 
Drupal and the Semantic Web
Drupal and the Semantic WebDrupal and the Semantic Web
Drupal and the Semantic Web
 
Semantic web and Drupal: an introduction
Semantic web and Drupal: an introductionSemantic web and Drupal: an introduction
Semantic web and Drupal: an introduction
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
Library Linked Data and the Future of Bibliographic Control
Library Linked Data and the Future of Bibliographic ControlLibrary Linked Data and the Future of Bibliographic Control
Library Linked Data and the Future of Bibliographic Control
 
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasDC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 

Más de Kai Li

Using a keyword extraction pipeline to understand concepts in future work sec...
Using a keyword extraction pipeline to understand concepts in future work sec...Using a keyword extraction pipeline to understand concepts in future work sec...
Using a keyword extraction pipeline to understand concepts in future work sec...Kai Li
 
Knowledge production between laboratories and scientific texts: a proposal of...
Knowledge production between laboratories and scientific texts: a proposal of...Knowledge production between laboratories and scientific texts: a proposal of...
Knowledge production between laboratories and scientific texts: a proposal of...Kai Li
 
Data and Software in Scientific Activities: a Literature Review
Data and Software in Scientific Activities: a Literature ReviewData and Software in Scientific Activities: a Literature Review
Data and Software in Scientific Activities: a Literature ReviewKai Li
 
A metadata scheme of the software-data relationship: A proposal
A metadata scheme of the software-data relationship: A proposalA metadata scheme of the software-data relationship: A proposal
A metadata scheme of the software-data relationship: A proposalKai Li
 
Software Citation, Reuse and Metadata Considerations: An Exploratory Study ...
Software Citation, Reuse and Metadata Considerations:  An Exploratory Study ...Software Citation, Reuse and Metadata Considerations:  An Exploratory Study ...
Software Citation, Reuse and Metadata Considerations: An Exploratory Study ...Kai Li
 
On metaphor: a book review of Metaphors we live by
On metaphor: a book review of Metaphors we live byOn metaphor: a book review of Metaphors we live by
On metaphor: a book review of Metaphors we live byKai Li
 
Visual perception and mixed-initiative interaction for assisted visualization...
Visual perception and mixed-initiative interaction for assisted visualization...Visual perception and mixed-initiative interaction for assisted visualization...
Visual perception and mixed-initiative interaction for assisted visualization...Kai Li
 
Project Gutenberg as Information Retrieval System
Project Gutenberg as Information Retrieval SystemProject Gutenberg as Information Retrieval System
Project Gutenberg as Information Retrieval SystemKai Li
 
A family tree of graph types
A family tree of graph typesA family tree of graph types
A family tree of graph typesKai Li
 
Introduction to Visualizing Uncertainties
Introduction to Visualizing UncertaintiesIntroduction to Visualizing Uncertainties
Introduction to Visualizing UncertaintiesKai Li
 
InfoVis Final Project: NBA in historical context
InfoVis Final Project: NBA in historical contextInfoVis Final Project: NBA in historical context
InfoVis Final Project: NBA in historical contextKai Li
 
Introduction to bibframe
Introduction to bibframeIntroduction to bibframe
Introduction to bibframeKai Li
 
Grassroots Read: Planning, Marketing and Assessing Plan
Grassroots Read: Planning, Marketing and Assessing PlanGrassroots Read: Planning, Marketing and Assessing Plan
Grassroots Read: Planning, Marketing and Assessing PlanKai Li
 
Culture Classification: An Analysis
Culture Classification: An AnalysisCulture Classification: An Analysis
Culture Classification: An AnalysisKai Li
 
RDA in China
RDA in ChinaRDA in China
RDA in ChinaKai Li
 
How Americans recognize libraries
How Americans recognize librariesHow Americans recognize libraries
How Americans recognize librariesKai Li
 
How libraries use 新浪微博
How libraries use 新浪微博How libraries use 新浪微博
How libraries use 新浪微博Kai Li
 
新一代的Opac服务
新一代的Opac服务新一代的Opac服务
新一代的Opac服务Kai Li
 
Ipad and Library
Ipad and LibraryIpad and Library
Ipad and LibraryKai Li
 
Augmented reality @ libraries
Augmented reality @ librariesAugmented reality @ libraries
Augmented reality @ librariesKai Li
 

Más de Kai Li (20)

Using a keyword extraction pipeline to understand concepts in future work sec...
Using a keyword extraction pipeline to understand concepts in future work sec...Using a keyword extraction pipeline to understand concepts in future work sec...
Using a keyword extraction pipeline to understand concepts in future work sec...
 
Knowledge production between laboratories and scientific texts: a proposal of...
Knowledge production between laboratories and scientific texts: a proposal of...Knowledge production between laboratories and scientific texts: a proposal of...
Knowledge production between laboratories and scientific texts: a proposal of...
 
Data and Software in Scientific Activities: a Literature Review
Data and Software in Scientific Activities: a Literature ReviewData and Software in Scientific Activities: a Literature Review
Data and Software in Scientific Activities: a Literature Review
 
A metadata scheme of the software-data relationship: A proposal
A metadata scheme of the software-data relationship: A proposalA metadata scheme of the software-data relationship: A proposal
A metadata scheme of the software-data relationship: A proposal
 
Software Citation, Reuse and Metadata Considerations: An Exploratory Study ...
Software Citation, Reuse and Metadata Considerations:  An Exploratory Study ...Software Citation, Reuse and Metadata Considerations:  An Exploratory Study ...
Software Citation, Reuse and Metadata Considerations: An Exploratory Study ...
 
On metaphor: a book review of Metaphors we live by
On metaphor: a book review of Metaphors we live byOn metaphor: a book review of Metaphors we live by
On metaphor: a book review of Metaphors we live by
 
Visual perception and mixed-initiative interaction for assisted visualization...
Visual perception and mixed-initiative interaction for assisted visualization...Visual perception and mixed-initiative interaction for assisted visualization...
Visual perception and mixed-initiative interaction for assisted visualization...
 
Project Gutenberg as Information Retrieval System
Project Gutenberg as Information Retrieval SystemProject Gutenberg as Information Retrieval System
Project Gutenberg as Information Retrieval System
 
A family tree of graph types
A family tree of graph typesA family tree of graph types
A family tree of graph types
 
Introduction to Visualizing Uncertainties
Introduction to Visualizing UncertaintiesIntroduction to Visualizing Uncertainties
Introduction to Visualizing Uncertainties
 
InfoVis Final Project: NBA in historical context
InfoVis Final Project: NBA in historical contextInfoVis Final Project: NBA in historical context
InfoVis Final Project: NBA in historical context
 
Introduction to bibframe
Introduction to bibframeIntroduction to bibframe
Introduction to bibframe
 
Grassroots Read: Planning, Marketing and Assessing Plan
Grassroots Read: Planning, Marketing and Assessing PlanGrassroots Read: Planning, Marketing and Assessing Plan
Grassroots Read: Planning, Marketing and Assessing Plan
 
Culture Classification: An Analysis
Culture Classification: An AnalysisCulture Classification: An Analysis
Culture Classification: An Analysis
 
RDA in China
RDA in ChinaRDA in China
RDA in China
 
How Americans recognize libraries
How Americans recognize librariesHow Americans recognize libraries
How Americans recognize libraries
 
How libraries use 新浪微博
How libraries use 新浪微博How libraries use 新浪微博
How libraries use 新浪微博
 
新一代的Opac服务
新一代的Opac服务新一代的Opac服务
新一代的Opac服务
 
Ipad and Library
Ipad and LibraryIpad and Library
Ipad and Library
 
Augmented reality @ libraries
Augmented reality @ librariesAugmented reality @ libraries
Augmented reality @ libraries
 

Último

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 

RDFa: an introduction

  • 1. RDFa: an introduction Kai Li LIS 681 Metadata
  • 2. What is RDFa? • RDFa = RDF in attributes • RDFa Core is a “specification for attributes to express structured data in any markup language.” – Including (X)HTML and XML and other languages – HTML/XML tree structure is used – Some attributes and text content is reused from HTML/XML.
  • 3. RDFa, Microformats and Microdata For full comparison, see: http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/
  • 4. RDFa, Microformats and Microdata (cont.) • Google supports all three formats. • The latest Schema.org initiated by Google, Bing and Yahoo! chose Microdata over RDFa. • However, the approach of Schema.org is “Microdata and more”, which means the vocabularies in Schema.org can be mixed with other approaches.
  • 5. It’s about integrating RDF triples into HTML <http://nalsi.net/posts/20130124135526.html> <http://purl.org/dc/elements/1.1/creator> <http://nalsi.us/about#me> <http://nalsi.net/posts/20130124135526.html> <http://purl.org/dc/terms/created> “2013/01/24” <div resource=“http://nalsi.net/posts/20130124135526.html”> <p>Written by: <span property=“http://purl.org/dc/elements/1.1/creator”>Kai</span>< /p> <p>Time: <span property=“http://purl.org/dc/terms/created”>2013-01- 24</span></p> </div>
  • 6. RDFa: datatypes • CURIE(s): compact URI(s), being composed of a prefix and astring. – For example: <div about="dbr:Albert_Einstein"> • IRIs: Internationalized Resource Identifiers, which is an extension of the URI or URL, in which internationalized characters are allowed to use.
  • 7. How to use RDFa: tags • @about • @resource • @property • @href • @vocab • @prefix • @content • @typeof • And more tags…
  • 8. @about and @resource • Both attributes can serve to set the subject of the following statements. – The difference is, @about can be only used for setting subject. – @resource, when combined with attribute “property”, can be used to set the target, the object, for the statement.
  • 9. @about and @resource (cont.) Example 1: <ul> <li about="/alice/posts/trouble_with_bob" property="title">The trouble with Bob</li> <li about="/alice/posts/jos_barbecue" property="title">Jo's Barbecue</li> ... </ul> Example 2: <div about="http://dbpedia.org/resource/Albert_Einstein"> <div rel="dbp:birthPlace" resource="http://dbpedia.org/resource/German_Empire"> <span property="dbp:conventionalLongName">the German Empire</span> </div></div>
  • 10. @property • The relationship between the subject and either an object if given or some literal text. Example: <body> <h2 property="http://purl.org/dc/terms/title">The Trouble with Bob</h2> </body>
  • 11. @href • The partner resource of a relationship (object). Example: <head> <link rel="prev" href="page6.html" /> </head>
  • 12. @prefix and @vocab • Both of these two attributes define the namespace of the names used in the structured data. – @prefix defines the prefix of the value that will be used; @vocab defines the default URL of the vocabulary.
  • 13. @prefix and @vocab, cont. Example 1: <div vocab="http://xmlns.com/foaf/0.1/" about="#me"> My name is <span property="name">John Doe</span> and my blog is called <a rel="homepage" href="http://example.org/blog/">Understanding Semantics</a>. </div> Example 2: This document is licensed under the <a prefix="cc: http://creativecommons.org/ns#" rel="cc:license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/" >Creative Commons By-NC-ND License</a>.
  • 14. @content • A string, to supply machine-readable content for a literal. Example: <head> <meta property="http://purl.org/dc/terms/creator" content="Mark Birbeck" /> </head>
  • 15. @typeof • RDF type(s) to associate with a subject. Example: <span about="urn:ISBN:0091808189" typeof="bibo:Book" property="dc:title">Canteen Cuisine</span>
  • 16. RDFa Use Cases • W3C published the official RDFa Use Case in 2007 as a draft. – http://www.w3.org/TR/xhtml-rdfa-scenarios/ • The document explores “how publishers, tool builders, and consumers benefit from RDFa” by embedding RDF in HTML. • Nine use cases are listed and discussed.
  • 17. RDFa Use Cases, cont. • Publishers – Mark the web pages with structured data so that machines can consume these contents • Tool builders – Augment the metadata embedded in the HTML files to facilitate using the data • Users – Better organize, sort and categorize related information on the Internet
  • 18. RDFa Use Cases, cont. • Use Case Example: – Sarah is a information scientist who publishes her recent study about metadata standards in her personal website. She uses RDFa to “mark up” this website, so that the results of the study as well as her rights toward the study can be not only meaningful to human readers, but also to machines.
  • 19. Reference • Birbeck, M. (2009, June 23). Introduction to RDFa. Retrieved April 1, 2013, from http://alistapart.com/article/introduction-to-rdfa • Brickley, D. (2012, June 7). SemTech, RDFa, Microdata and more... Retrieved April 1, 2013, from http://blog.schema.org/2012/06/semtech- rdfa-microdata-and-more.html • Sporny, M. (2013, February 23). An Uber- comparison of RDFa, Microdata and Microformats. Retrieved April 1, 2013, from http://manu.sporny.org/2011/uber-comparison- rdfa-md-uf/
  • 20. Reference, cont. • W3C. (2012, June 7). RDFa 1.1 Primer. Retrieved April 1, 2013, from http://www.w3.org/TR/xhtml- rdfa-primer/ • W3C. (2012, June 7). RDFa Core 1.1. Retrieved March 31, 2013, from http://www.w3.org/TR/2012/REC-rdfa-core- 20120607/ • W3C. (2007, March 30). RDFa Use Cases: Scenarios for Embedding RDF in HTML. Retrieved April 1, 2013, from http://www.w3.org/TR/xhtml- rdfa-scenarios/