Websemantics

37
Websemantics FuCamp 2010 Matthias Pfefferle http://notizblog.org http://twitter.com/pfefferle

description

 

Transcript of Websemantics

Page 1: Websemantics

WebsemanticsFuCamp 2010

Matthias Pfefferlehttp://notizblog.org

http://twitter.com/pfefferle

Page 2: Websemantics

was sind Websemantics?

Page 3: Websemantics

das Problem!

Page 4: Websemantics

aus User-Sicht

Page 5: Websemantics

aus User-Sicht

Page 6: Websemantics

aus Google-Sicht

Page 7: Websemantics

aus Google-Sicht

Page 8: Websemantics

Lösung?

Page 9: Websemantics

Websemantics!

Page 10: Websemantics

Buzzword-Bingo

• POSH (Plain Old Semantic HTML)

• Semantic HTML

• RDFa

• Microformats

• Microdata

• eRDF

Page 11: Websemantics

<div> <h1>Max Mustermann</h1> <small>Web-Entwickler</small> <ul> <li>Mustergasse 2</li> <li>12345 Musterstadt</li> <li>Deutschland</li> </ul> </div>

Page 12: Websemantics

<div class=“vcard“> <h1>Max Mustermann</h1> <small>Web-Entwickler</small> <ul> <li>Mustergasse 2</li> <li>12345 Musterstadt</li> <li>Deutschland</li> </ul> </div>

Page 13: Websemantics

<div class=“vcard“> <h1 class=“fn“>Max Mustermann</h1> <small class=“note“>Web-Entwickler</small> <ul class=“adr“> <li class=“street-address“>Mustergasse 2</li> <li class=“locality“>12345 Musterstadt</li> <li class=“country-name“>Deutschland</li> </ul> </div>

Page 14: Websemantics

Formate? • Profildaten

• Events

• Lizenzinformationen

• Audio/Video/Bilder

• Blog-Posts

• Beziehungen

• ...

Page 15: Websemantics

bisher

Page 16: Websemantics
Page 17: Websemantics

buzzword-bingo

• RSS

• Atom

• RDF (FoaF, SKOS, ...)

• XRD

• WSDL

Page 18: Websemantics

jetzt neu!

Page 19: Websemantics
Page 20: Websemantics

Kein Ersatz für klassische Formate

• Feeds: RSS/Atom

• Discovery: WSDL/XRD

• Wissensrepräsentation: RDF/OWL

• Login: OpenID

Page 21: Websemantics

Anwendungsgebiete

• Dienste die sowieso den HTML Code interpretieren

• Suchmaschinen

• Browser

Page 22: Websemantics

Vorteil für Suchmaschinen

Page 24: Websemantics

Vorteile für Browser

Page 26: Websemantics

Some Magic!

Page 27: Websemantics

Live-Beispiele

• Ident-Engine: http://identengine.com

• Webfinger: http://webfinger.org

Page 28: Websemantics

Formate

• Microformats

• RDFa

• Microdata

Page 29: Websemantics

Microformats

• klassische HTML Attribute

• class

• rel/rev

• title

• valides HTML 4/5 und XHTML 1/1.1

Page 30: Websemantics

<div class=“vcard“> <h1 class=“fn“>Max Mustermann</h1> <small class=“note“>Web-Entwickler</small> </div>

Page 31: Websemantics

RDFa• neue HTML Attribute

• about

• property

• resource

• datatype

• typeof

• Für XHTML 2 entwickelt

Page 32: Websemantics

<div xmlns:contact= "http://www.w3.org/2001/vcard-rdf/3.0#" about="http://example.com/max">

<h1 property=“contact:fn“>Max Mustermann</h1>

<small property=“contact:note“>Web-Entwickler</small>

</div>

Page 33: Websemantics

Microdata• neue HTML Attribute

• itemscope

• itemtype

• itemprop

• itemref

• itemid

• Für (X)HTML 5 entwickelt

Page 34: Websemantics

<div itemscope itemtype=

“http://microformats.org/profile/hcard“> <h1 itemprop=“fn“>Max Mustermann</h1> <small itemprop=“note“>

Web-Entwickler</small> </div>

Page 35: Websemantics

Hier könnte ein Fazit stehen ...

Page 36: Websemantics

Weitere Infos

• http://notizblog.org/tag/microformats/

• http://notizblog.org/tag/rdfa/

• http://notizblog.org/tag/microdata/

Page 37: Websemantics

Fragen???