Socialwg/Social syntax/Comparison

From W3C Wiki

Data Model

Microformats & RDF

Entity Attribute Value

http://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model
(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 http://socialwg.indiewebcamp.com/irc/social/2015-05-01/line/1430527795093Pavlik elf (talk) 01:01, 2 May 2015 (UTC)

Class / Type

http://www.w3.org/TR/owl2-primer/#Classes_and_Instances

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

ObjectProperty

http://www.w3.org/TR/owl2-primer/#Object_Properties

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

DataProperty

http://www.w3.org/TR/owl2-primer/#Datatypes

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"

Serialization

Microformats JSON & Microformats JSON-LD

https://github.com/elf-pavlik/mf2jsonld

Vocabulary

Microformats 2 & Activity Streams 2