Socialwg/Social syntax/Comparison
Data Model
Microformats & RDF
- https://github.com/rhiaro/mf2rdf
- http://rhiaro.co.uk/2015/03/microformats2-rdf
- http://csarven.ca/presentations/microformats-06/
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/1430527795093 — Pavlik elf (talk) 01:01, 2 May 2015 (UTC)
- http://microformats.org/wiki/microformats2#h-card_org_h-card
- http://microformats.org/wiki/h-feed
- http://microformats.org/wiki/triples
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