Socialwg/Social syntax/Comparison

From W3C Wiki
Jump to: navigation, search

Data Model

Microformats & RDF

Entity Attribute Value
(also Subject Predicate Object)

While Microformats claims not using triples. Document with list of microformats or nested microformats make attribute: value statements about different entities. Which appears like usage of triples. — Pavlik elf (talk) 19:01, 1 May 2015 (UTC)

Microformats duplicates some of link relations which it also defines just to use them as the properties of one from many entities on the page and not the property of the page itself elf (talk) 01:01, 2 May 2015 (UTC)

Class / Type

Microformats uses "h-*" for root class names, e.g. "h-card", "h-event", "h-entry"


Microformats uses "u-*" for URL properties, e.g. "u-url", "u-photo", "u-logo"


Microformat uses

  • "p-*" for simple (text) properties, e.g. "p-fn", "p-summary"
  • "dt-*" for datetime properties, e.g. "dt-start", "dt-end", "dt-bday"
  • "e-*" for element tree properties where the entire contained element hierarchy is the value, e.g. "e-content"


Microformats JSON & Microformats JSON-LD


Microformats 2 & Activity Streams 2