Presentazione all'SMX Milano 2015. Fondamenti di JSON-LD, principi dell'uso di RDF: perché JSON-LD è Schema.org sono Importanti per il SEO e come utilizzarli per avere un vantaggio competitivo nel nuovo ed emergente Web Semantico.
Sante J. AchilleMultilingual Search Marketing Consultant at Sante J. Achille
2. smxmilan.it
@sjachille
#SMX #22A
• Ingegnere, Search Marketing Specialist
• Ha analizzato, ottimizzato e gestito numerosi siti in 20 anni di attività
professionale
• Ama proverbi ed usanze della tradizione popolare
• Motto: Why Be Normal?
http://achille.name/
Oggi parliamo di semantica per il web
4. smxmilan.it
@sjachille
#SMX #22A
“Your web pages have an underlying meaning that
people understand when they read the web
pages.
But search engines have a limited
understanding of what is being discussed on those
pages.”
Perché dati Strutturati?
6. smxmilan.it
@sjachille
#SMX #22A
Perché dati Strutturati?
By adding additional tags to the
HTML of your web pages … you can
help search engines and other
applications better understand
your content and display it in a
useful, relevant way.
11. smxmilan.it
@sjachille
#SMX #22A
JSON (JavaScript Object Notation) is a
lightweight data-interchange format. … It is
easy for machines to parse and generate. It is
based on …
JSON is a text format that is completely
language independent but uses conventions
that are familiar to programmers of the C-
family of languages, including C, C++, C#,
Java, JavaScript, Perl, Python, and many
others.
These properties make JSON an ideal data-
interchange language.
12. smxmilan.it
@sjachille
#SMX #22A
“JSON-LD is a lightweight
Linked Data format that is easy
for humans to read and write”
http://www.w3.org/TR/2013/CR-json-ld-20130910/
http://www.w3.org/TR/2013/CR-json-ld-api-20130910/
Creating semantic sites with Web Components and JSON-LD
17. smxmilan.it
@sjachille
#SMX #22A
The Resource Description Framework (RDF) is a framework for
expressing information about resources. Resources can be
anything, including documents, people, physical objects, and
abstract concepts.
http://www.w3.org/TR/rdf11-primer/
• Le informazioni sono rappresentate ed interconnesse utilizzando il
modello vettoriale Nodo - Arco del Grafo
18. smxmilan.it
@sjachille
#SMX #22A
In RDF la descrizione di una risorsa è rappresentata da una serie di triple.
Le componenti di ciascuna tripla sono il Soggetto - Predicato - Oggetto
Una tripla emula la struttura di una frase semplice come questa:
19. smxmilan.it
@sjachille
#SMX #22A
Il Soggetto della tripla è la URI che identifica la risorsa che si sta descrivendo
L’Oggetto può essere un valore (stringa, numero, data, …) oppure la URI di un’altra
risorsa che in qualche modo è in relazione con il soggetto
Il Predicato esplicita la relazione che intercorre tra soggetto ed oggetto ed è una URI
scelto tra quelli disponibili nei vari Vocabolari …
21. smxmilan.it
@sjachille
#SMX #22A
Specifica di JSON-LD: http://www.w3.org/TR/json-ld/#syntax-tokens-and-keywords
3.3 Syntax Tokens and Keywords
@context
Used to define the short-hand names that are used throughout a JSON-LD document…
@id
Used to uniquely identify things that are being described in the document with IRIs …
@type
Used to set the data type of a node or typed value…
@vocab
Used to expand properties and values in @type with a common prefix IRI…
JSON-LD @work…
24. smxmilan.it
@sjachille
#SMX #22A
"schema:isPartOf" : {
"@id" : "https://mywebsite.com/",
"@type" : "schema:Blog",
"schema:name" : "My Blog",
"schema:description": "A DESCRIPTION OF MY BLOG - HOW
BEAUTIFUL AND INTERESTING MY CONTENT IS AND WHY EVERBODY
SHOULD READ IT!"
},
JSON-LD @work…
27. smxmilan.it
@sjachille
#SMX #22A
Usare SCHEMA.org per ulteriori informazioni di
dettaglio “in line” nelle pagine (definizione
della struttura della pagina, informazioni su
prodotti per Ecommerce… in generale tutto
quello che può essere caratterizzato per
fornire contesto e struttura alle informazioni)
SCHEMA.org @work…
30. smxmilan.it
@sjachille
#SMX #22A
Il processo è iterativo - quasi impossibile arrivare
ad un modello definitivo subito
Nuove proprietà sono introdotte di continuo su
schema.org
I modelli vanno aggiornati periodicamente
Prova, Riprova ed Aggiorna!
DATA: Values of qualitative or quantitative variables in raw or unorganized form such as alphabets, numbers, or symbols that refer to, or represent, conditions, ideas, or objects.
Vi racconto una storia a proposito di incertezze, ambiguità ed indeterminazione che risale alla mia infanzia