web semântica para desenvolvedores: rdfa, json-ld e schema.org

Post on 11-Apr-2017

1.282 Views

Category:

Internet

8 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Web Semântica para desenvolvedores:

RDFa, JSON-LD e schema.org

@newtoncalegari W3C Brasil

Web de Documentos

Web de Dados

“The Semantic Web aims to describethe meaning of information publishedon the Web to enable retrieval basedon an accurate understanding of thatinformation’s semantics”

(RODRÍGUEZ-ROCHA et al., 2015)

RDF

sujeito predicado objeto

http://fb.com/italowaxman http://cironunes.com/foaf:knows

Vocabulário FOAF

Google Rich Snippets

https://developers.google.com/structured-data/rich-snippets/

Google Rich Snippets

https://developers.google.com/structured-data/rich-snippets/

Google Email Markup

https://developers.google.com/gmail/markup/

Google Email Markup

https://developers.google.com/gmail/markup/

Google Knowledge Graph

Alguns atributos básicos RDFa

vocab property typeof content

@vocab

@typeof

@property

@content

Simplicidade e Compatibilidade

{ "name": “Newton Calegari", "homepage": “http://newtoncalegari.com“ "image": “http://newtoncalegari.com/imgs/n01.png“

}

{ "http://schema.org/name": “Newton Calegari”, … "http://schema.org/image": “http://.../n01.png“

}

Simplicidade e Compatibilidade

{ "name": “Newton Calegari", "homepage": “http://newtoncalegari.com“ "image": “http://newtoncalegari.com/imgs/n01.png“

}

{ "http://schema.org/name": “Newton Calegari”, … "http://schema.org/image": “http://.../n01.png“

}

@context

JSON-LD e RDFa são simples!

@newtoncalegari

Cheers !

top related