This document discusses semantic markup and provides examples of using schema.org microdata to semantically markup a movie information block. It introduces schema.org as a taxonomy for describing types of information and shows how to add itemscope, itemtype, and itemprop tags to HTML elements to associate them with properties from the schema.org taxonomy. An example block about the movie Avatar is fully semantically marked up, with properties like name, director, genre, and trailer embedded.
7. The Semantic Web proposes not a standard set of
relationships but a standard way for people to
describe whatever relationships are important to
the topic.
!
David Weinberger. Everything Is Miscellaneous (p.
192). Macmillan. Kindle Edition.
8. Ceci n’est pas un Ted Talk
http:/
/www.ted.com/talks/tim_berners_lee_on_the_next_web.html
9. How does it work?
Microdata markup w/ schema.org
10. Basic Format
!
schema.org is a taxonomy
View the taxonomy at schema.org/Thing
HTML5 allows us to point elements on
our pages to the schema.org taxonomy
11. Basic Format
Getting Started With Schema.Org
Use <div> and <span> to markup elements (div is
for blocks of text, span for small inline items.)
itemscope: “This is an item.”
itemtype: “This is what type of item is is.”
itemprop: “This item has the following
property.”
20. Image Credits
3 (David Weinberger) Some rights reserved by Joi.
3 (Sir Tim Berners-Lee) Some rights reser ved by veni markovski
Rene Magritte’s The Treachery of Images is owned and displayed by
LACMA