Download - Introduzione al Semantic Web
![Page 1: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/1.jpg)
Introduzione al Semantic Web(parte 2)
Giacomo [email protected] “Lo Stretto Digitale”
27 maggio 2014
1 / 16
![Page 2: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/2.jpg)
Semantic WebThe layer cake
2 / 16
![Page 3: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/3.jpg)
The layer cake
— OWL— RDF-S— RDF— XML
3 / 16
![Page 4: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/4.jpg)
XML (Extensible Markup Language)
— Formato testuale per la rappresentazione diinformazione strutturata
— Nuovi tag (HTML è soltanto un sottoinsieme diXML)
— E’ possibile definire il tipo di dato descritto da un tag(XML-Schema)
<book><author>Umberto Eco</author><title lang="it">Il nome della rosa</title><publisher>Bompiani</publisher><year>1980</year><price currency="EUR">10.32</price>
</book>
4 / 16
![Page 5: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/5.jpg)
XQuery— Linguaggio di query standardizzato— Permette di accedere ai dati contenuti in documenti, database,
documenti web, ...— Consente (tra l’altro) di trasformare dati XML in XHTML
<book><author>Umberto Eco</author><title lang="it">Il nome della rosa</title><publisher>Bompiani</publisher><year>1980</year><price currency="EUR">10.32</price>
</book>
for $b in doc("library.xml")/catalog/bookwhere $b/price > 10order by $b/authorreturn $b/title
5 / 16
![Page 6: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/6.jpg)
RDF (Resource Description Framework)
— Scritto in XML (ma non solo)— Pensato per la comprensione e la manipolazione con strumenti
software— Composto da unità fondamentali chiamate statement
strutturate secondo il paradigma:
soggetto → predicato → complemento
6 / 16
![Page 7: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/7.jpg)
RDF (Resource Description Framework)
<rdf:Descriptionrdf:about="http://www.recshop.fake/cd/Empire Burlesque">
<cd:artist>Bob Dylan</cd:artist><cd:country>USA</cd:country><cd:company>Columbia</cd:company><cd:price>10.90</cd:price><cd:year>1985</cd:year>
</rdf:Description>
7 / 16
![Page 8: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/8.jpg)
RDFS (Resource Description Framework Schema)
Permette di:— Stabilire relazioni tra predicati— Creare classi e sottoclassi (per esempio, tassonomie)— Stabilire gerarchie
<rdf:Description rdf:ID="Animal"><rdf:typerdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdf:Description>
<rdf:Description rdf:ID="cat"><rdf:typerdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
<rdfs:subClassOf rdf:resource="#Animal"/></rdf:Description>
8 / 16
![Page 9: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/9.jpg)
OWL (Web Ontology Language)
Permette di descrivere:— Proprietà e classi— Relazioni tra classi semanticamente più ricche rispetto a RDFS— Relazioni di cardinalità (per esempio, “almeno uno”), di
simmetria, ...— Ontologie
9 / 16
![Page 10: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/10.jpg)
Quanto è semantico il Web di oggi?
Pochissimo!!! :-(
10 / 16
![Page 11: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/11.jpg)
Quanto è semantico il Web di oggi?
Pochissimo!!! :-(
11 / 16
![Page 12: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/12.jpg)
E nel frattempo?Studiamo il DOM tree
12 / 16
![Page 13: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/13.jpg)
E nel frattempo?Una soluzione (di successo): Lixto
13 / 16
![Page 14: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/14.jpg)
E nel frattempo?Una seconda possibile soluzione di successo (by Emilio Ferrara)
emilio.ferrara.name
14 / 16
![Page 15: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/15.jpg)
Sviluppi futuri (ma non troppo)Linked data
15 / 16
![Page 16: Introduzione al Semantic Web](https://reader033.vdocuments.site/reader033/viewer/2022042722/589bc6131a28ab082b8b6211/html5/thumbnails/16.jpg)
No bits were harmed during the making of this presentation
16 / 16