Introduction to the Semantic Web

Tomek Pluskiewicz
Tomek PluskiewiczMakoLab - we web it for you
Tomasz Pluskiewicz PGS Software
INTRODUCTION TO
THE SEMANTIC WEB
2012-11-28
Introduction to the Semantic Web 1
Agenda
 What is the Semantic Web?
 What is data in the Semantic Web?
 Storing and publishing semantic data
 Querying the Semantic Web
 What is there for developers?
 How does the Semantic Web compare?
 So who actually does the Semantic Web?
2012-11-28Introduction to the Semantic Web
2
What is the Semantic Web?
2012-11-28
3
Introduction to the Semantic Web
What is the Semantic Web?
 Semantics = meaning (from Greek)
 Set of practices and standards
 Synonymous or related to:
 Web of data
 Linked data (cloud)
 Giant Global Graph (GGG)
 Web 3.0
 Open Data
 Big Data
2012-11-28Introduction to the Semantic Web
4
So what is it about?
 Allowing machines to understand data
 Ease sharing and mixing data
 Extend the World Wide Web rather than
replace it
2012-11-28Introduction to the Semantic Web
5
Little bit of history
 1969: paper Semantic Information Processing
by Ross Quillial
 1980s: CYC and WordNet
 mid- to late 1990s: Tim Berners-Lee coins the
term Semantic Web
 Today: dbpedia: 1.2m triples
2012-11-28Introduction to the Semantic Web
6
Semantic Web building blocks
7
Representation
The basics of semantic data
2012-11-28
8
Introduction to the Semantic Web
It’s all about resources
9
It’s all about resources
 Extensive use of URIs (and most often URLs)
 (Almost) everyting is a URI
 Example URIs:
 http://infusion.com/people/tpluskiewicz
 urn:isbn:1898432023
 http://xmlns.com/foaf/0.1/firstName
2012-11-28Introduction to the Semantic Web
10
It’s all findable about resources
2012-11-28
 Identifier
 Representation
 Resource itself
11
 URI (URL?)
 HTML, RDF
 Described object
Introduction to the Semantic Web
Identifier URI should be different than the representationURI
Identifiers should not change
Cool URIs
 Resource and representation have different
URIs
 Hash URIs
 http://www.example.com/about#alice
 http://www.example.com/about.html
 „Normal” URIs
 http://www.example.com/id/bob
 http://www.example.com/people/bob.html
2012-11-28Introduction to the Semantic Web
12
Representing the data
13
Resource Description Format
 Facts and relations organized in triples
 Triples mimic natural language sentences
 Graphical representation is a directed graph
My name is Tomasz Pluskiewicz.
My age is 26.
I work for PGS Software.
2012-11-28Introduction to the Semantic Web
14
Resource Description Framework
ex:tpluskiewicz
2012-11-28Introduction to the Semantic Web
15
Tomasz
Pluskiewicz
26
foaf:fullName
ex:PGS-
Software
Serializing RDF triples
2012-11-28
 RDF/XML (.rdf)
 Notation3 (.n3)
 N-Triples (.nt)
 Turtle (.ttl)
 JSON-LD
 TriG (.trig)
 TriX (.trix)
 application/rdf+xml
 text/n3
 text/plain
 text/turtle
16
Format MIME type
Introduction to the Semantic Web
RDF/XML vs Turtle
2012-11-28
 Difficult to author
 Verbose
 No cannonical
serialization
 Simple
 Concise
 Has means of
further compressing
content
17
RDF/XML Turtle
Introduction to the Semantic Web
There can be multiple graphs
 Sets of triples form graphs
 Graphs can be named with a URI
 Named graph are also resources, hence there
can be triples describing those graphs
2012-11-28Introduction to the Semantic Web
18
Adding meaning
The basics of semantic data
2012-11-28
19
Introduction to the Semantic Web
Representing the data
20
Basics of RDF(S) resources
2012-11-28
 rdfs:Resource
 rdfs:Class
 rdfs:Property
 rdfs:Datatype
 rdfs:Literal
 rdf:type
 rdfs:label
 rdfs:subClassOf
 rdfs:subPropertyOf
 rdfs:range
 rdfs:domain
21
classes properties
Introduction to the Semantic Web
Web Ontology Language
 OWL: Lite, DL and Full
 OWL 2: EL, QL and RL
 Defining constraints
 Enables defining complex rules
 Uses specialized syntaxes
 Base terms: owl:Thing, owl:Nothing,
owl:DatatypeProperty, owl:ObjectProperty,
owl:sameAs
2012-11-28Introduction to the Semantic Web
22
Common ontologies
 Friend of a Friend
 Dublin Core
 SIOC
 SKOS
 UMBEL
 Suggested Upper Merged Ontology
2012-11-28Introduction to the Semantic Web
23
 Geonames
 BIBO
Specialized ontologies
 Gene Ontology
 GOLD (General O. for Linguistic Description)
 Foundational Model of Anatomy
 GoodRelations
 Lexvo
2012-11-28Introduction to the Semantic Web
24
Storing and publishing
2012-11-28
26
Introduction to the Semantic Web
Storing in relational databases
 Mapping tables to triples:
 D2RQ
 R2RML
 Ultrawrap
 Using RDBMS with RDF built-in capabilities
 Oracle 11g
 Virtuoso
 Jena SDB
 IBM DB2
2012-11-28Introduction to the Semantic Web
27
Native triplestores
 Using native triple (quad) stores
 Virtuoso
 AllegroGraph
 BigOWLIM
 Jena TDB
 4store
 Stardog
 Dydra
2012-11-28Introduction to the Semantic Web
28
Publishing data easily
 Embedding semantic markup in HTML
 Microformats
 Microdata
 RDFa
 Directly publishing RDF documents
http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/
2012-11-28Introduction to the Semantic Web
29
Microformats example
2012-11-28
<ul>
<li>
Joe Doe</li>
<li>
The Example Company
</li>
<li>
604-555-1234</li>
<li>
<a>
Website</a>
</li>
</ul>
30
<ul class="vcard">
<li class="vcard">
Joe Doe</li>
<li class="org">
The Example Company
</li>
<li class="tel">
604-555-1234</li>
<li>
<a class="url">
Website</a>
</li>
</ul>
Introduction to the Semantic Web
Microdata example
<section itemscope itemtype="http://data-vocabulary.org/Person">
Hello, my name is <span itemprop="name">John Doe</span>,
I am a <span itemprop="title">graduate research assistant</span>
at the <span itemprop="affiliation">University of Dreams</span>.
My friends call me <span itemprop="nickname">Johnny</span>.
You can visit my homepage at
<a href="http://www.JohnnyD.com"
itemprop="url">www.JohnnyD.com</a>.
<section itemprop="address" itemscope
itemtype="http://data-vocabulary.org/Address">
I live at <span itemprop="street-address">1234 Peach Drive</span>
<span itemprop="locality">Warner Robins</span> ,
<span itemprop="region">Georgia</span>.
</section>
</section>
2012-11-28Introduction to the Semantic Web
31
RDFa example
<p xmlns:dc="http://purl.org/dc/elements/1.1/"
about="http://www.example.com/books/wikinomics">
In his latest book
<cite property="dc:title">Wikinomics</cite>,
<span property="dc:creator">Don Tapscott</span>
explains deep changes in technology, demographics and business.
The book is due to be published in
<span property="dc:date" content="2006-10-01">October
2006</span>.
</p>
2012-11-28Introduction to the Semantic Web
32
Querying the Semantic Web
33
Publishing queryable data
 SPARQL Protocol and RDF Query Language
 Remote queries through SPARQL Endpoints
 SPARQL 1.1 features:
 ASK, SELECT, DESCRIBE, CONSTRUCT
 Aggregates
 Federated queries
 Extensibilty, XPath, subqueries
 SPARQL Update
2012-11-28Introduction to the Semantic Web
34
SPARQL Examples
2012-11-28Introduction to the Semantic Web
35
SPARQL + rules = SPIN
 SPARQL Inferencing
 Developed by TopQuadrant
 Components of SPIN:
 Represent SPARQL queries as RDF triples
 Allow modularizing queries with spin:Function and
spin:Template
 spin:MagicProperty
 ASK to create constraints
 CONSTRUCT to create rules
2012-11-28Introduction to the Semantic Web
36
Constraints and rules
2012-11-28
37
Introduction to the Semantic Web
Functions and templates
2012-11-28
38
Introduction to the Semantic Web
What is there for developers?
 dotNetRDF
 Jena/ARQ
 Rdflib
 RDF.rb
 EasyRdf
 Rdfquery
 Redland
 (Web)Protégé
 TopBraid Composer
 NeOn
 OntoWiki
 Semantic MediaWiki
 Cubic Web
Programming tools Design tools and frameworks
Semantic Web vs X
2012-11-28
40
Introduction to the Semantic Web
Semantic Web vs XML
2012-11-28
 Data representation
(model)
 Graph
 xsd and XPath
 Schema defined with
RDFS or OWL
 URI identifiers
 Data serialization
(syntax)
 Tree
 xsd and XPath
 DTD or XML schema
 No built-in identifiers
41
Semantic Web (RDF) XML
Introduction to the Semantic Web
Semantic Web vs REST
2012-11-28
 URIs identify resources
 HTTP encouraged to
allow dereferencing
 Uniform RDF messages
 Resources are linked
(triples)
 Application specific
 Resource Identification
 Uniform Interface
 Self-Describing
Messages
 Hypermedia Driving
Application State
 Stateless Interactions
42
Semantic Web REST
Introduction to the Semantic Web
Semantic Web vs RDBMS
2012-11-28
 SPARQL
 Felxible and extensible
schema
 Easy data distribution
 Depends on vendor
 Easier process BI
 Open World
 SQL
 Schema must be defined
first and is rather rigid
 Painful replication
 ACID Transactions
 Strict ETL
 Closed World
43
Semantic Web Relational databases
Introduction to the Semantic Web
Semantic Web vs NoSQL
2012-11-28
 SPARQL
 Graph
 Schemaless
 Named graphs
 Built on standards and
interoperability
 Can seem scientific and
complicated
 Various APIs
 Graph, doc, key-value
 Schemaless
 Documents (doc DBs)
 Tackle specific problems
(latency, scale, perf.)
 Designed for easy
adoption
44
Semantic Web NoSQL
Introduction to the Semantic Web
Who actually does the Semantic Web?
Is it happening?
2012-11-28
46
Introduction to the Semantic Web
Linked data and open data
 Dbpedia
 Freebase
 Geonames
 Social data
 Media
 Government data
 Publications
 Many many other
 datahub.io
 lod.openlinksw.com
 data.gov
 data.gov.uk
 datadotgc.ca
 openlibrary.org
 bnb.data.bl.uk
2012-11-28Introduction to the Semantic Web
http://richard.cyganiak.de/2007/10/lod/lod-datasets_2011-09-19_colored.html
Who does the Semantic Web?
2012-11-28
 IBM DB2
 Open Services
Lifecycle
Collaboration
 Linked Data
Platform
 Oracle 11g
 Triplestore
 Reasoner
48
IBM Oracle
Introduction to the Semantic Web
Who does the Semantic Web?
2012-11-28
 Webmaster tools
 Knowledge graph
 Freebase
 RDFa/Microdata
(also Yahoo)
 Open Graph
Protocol
49
Google Facebook
Introduction to the Semantic Web
Who does the Semantic Web?
2012-11-28
Thousands of datasets
Some offered in RDF
Linked by Linking Open
Government Data project
(200 datasets)
Open Government
Partnership (50+
countries)
 Gene research
 Language
processing
 Semantic MediaWiki
50
Government/public data Academic work
Introduction to the Semantic Web
Where to learn in person?
 Semantic Technology & Business Conference
 Berlin, London, New York, San Francisco
 European Semantic Web Symposium
 International Semantic Web Conference
 International World Wide Web Conference
 International Conference on Semantic Web
and Web Services
 Semantic Web Applications and Tools for Life
Sciences
2012-11-28Introduction to the Semantic Web
51
Some interesting links...
 http://semanticweb.com/
 http://patterns.dataincubator.org/book/
 http://www.w3.org/standards/semanticweb/
 http://spinrdf.org
 Wikipedia
 http://semanticweb.com/breaking-into-the-nosql-conversation_b27146
 http://gigaom.com/2012/03/11/is-big-data-new-or-have-we-forgotten-its-old-
heroes/
 http://www.snee.com/bobdc.blog/2012/10/sparql-and-big-data-and-
nosql.html
 http://dret.net/netdret/docs/soa-rest-www2009/rest
 http://www.mkbergman.com/
 http://www.cambridgesemantics.com/semantic-university
2012-11-28Introduction to the Semantic Web
52
...and some books
 David Wood, Linked Data, Manning
 Bob DuCharme, Learning SPARQL, O’Reilly
 Toby Segaran, Programming the Semantic Web, O’Reilly
 John Hebeler, Semantic Web Programming, Wiley
 David Siegel, Pull: The Power of the Semantic Web to Transform Your
Business, Portfolio
2012-11-28Introduction to the Semantic Web
53
1 of 51

Recommended

An Introduction to Semantic Web Technology by
An Introduction to Semantic Web TechnologyAn Introduction to Semantic Web Technology
An Introduction to Semantic Web TechnologyAnkur Biswas
1.1K views86 slides
Introduction to RDF by
Introduction to RDFIntroduction to RDF
Introduction to RDFNarni Rajesh
6.4K views17 slides
Chapter 1 semantic web by
Chapter 1 semantic webChapter 1 semantic web
Chapter 1 semantic webR A Akerkar
3.3K views14 slides
Semantic web by
Semantic web Semantic web
Semantic web Pallavi Srivastava
3.7K views35 slides
The Semantic Web #9 - Web Ontology Language (OWL) by
The Semantic Web #9 - Web Ontology Language (OWL)The Semantic Web #9 - Web Ontology Language (OWL)
The Semantic Web #9 - Web Ontology Language (OWL)Myungjin Lee
2.2K views43 slides
Semantic web by
Semantic webSemantic web
Semantic webImtiaz Siddique
456 views20 slides

More Related Content

What's hot

The semantic web by
The semantic web The semantic web
The semantic web ap
1.8K views19 slides
Xml databases by
Xml databasesXml databases
Xml databasesSrinivasan R
3K views20 slides
Semantic web by
Semantic webSemantic web
Semantic webMyungjin Lee
11.7K views79 slides
Linked Data: principles and examples by
Linked Data: principles and examples Linked Data: principles and examples
Linked Data: principles and examples Victor de Boer
3.6K views81 slides
An introduction to Semantic Web and Linked Data by
An introduction to Semantic Web and Linked DataAn introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked DataFabien Gandon
38.8K views228 slides
Semantic web technology by
Semantic web technologySemantic web technology
Semantic web technologyStanley Wang
4.6K views17 slides

What's hot(20)

The semantic web by ap
The semantic web The semantic web
The semantic web
ap 1.8K views
Linked Data: principles and examples by Victor de Boer
Linked Data: principles and examples Linked Data: principles and examples
Linked Data: principles and examples
Victor de Boer3.6K views
An introduction to Semantic Web and Linked Data by Fabien Gandon
An introduction to Semantic Web and Linked DataAn introduction to Semantic Web and Linked Data
An introduction to Semantic Web and Linked Data
Fabien Gandon38.8K views
Semantic web technology by Stanley Wang
Semantic web technologySemantic web technology
Semantic web technology
Stanley Wang4.6K views
Introduction to Dublin Core Metadata by Hannes Ebner
Introduction to Dublin Core MetadataIntroduction to Dublin Core Metadata
Introduction to Dublin Core Metadata
Hannes Ebner4.3K views
Debunking some “RDF vs. Property Graph” Alternative Facts by Neo4j
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
Neo4j6.5K views
Introduction To RDF and RDFS by Nilesh Wagmare
Introduction To RDF and RDFSIntroduction To RDF and RDFS
Introduction To RDF and RDFS
Nilesh Wagmare1.2K views
A Brief Introduction to SKOS by Heather Hedden
A Brief Introduction to SKOSA Brief Introduction to SKOS
A Brief Introduction to SKOS
Heather Hedden235 views
Linked Data and Libraries: What? Why? How? by Emily Nimsakont
Linked Data and Libraries: What? Why? How?Linked Data and Libraries: What? Why? How?
Linked Data and Libraries: What? Why? How?
Emily Nimsakont758 views
Semantic Web: an Introduction by Luigi De Russis
Semantic Web: an IntroductionSemantic Web: an Introduction
Semantic Web: an Introduction
Luigi De Russis2.2K views
Lecture: Ontologies and the Semantic Web by Marina Santini
Lecture: Ontologies and the Semantic WebLecture: Ontologies and the Semantic Web
Lecture: Ontologies and the Semantic Web
Marina Santini5.6K views
Ontologies and semantic web by Stanley Wang
Ontologies and semantic webOntologies and semantic web
Ontologies and semantic web
Stanley Wang1.9K views
Alphabet Soup: Choosing Among DC, QDC, MARC, MARCXML, and MODS by Jenn Riley
Alphabet Soup: Choosing Among DC, QDC, MARC, MARCXML, and MODSAlphabet Soup: Choosing Among DC, QDC, MARC, MARCXML, and MODS
Alphabet Soup: Choosing Among DC, QDC, MARC, MARCXML, and MODS
Jenn Riley1.9K views

Similar to Introduction to the Semantic Web

Linked data and voyager by
Linked data and voyagerLinked data and voyager
Linked data and voyagerEdmund Chamberlain
669 views39 slides
Linked Data Tutorial by
Linked Data TutorialLinked Data Tutorial
Linked Data TutorialSören Auer
9.2K views73 slides
Pragmatic Approaches to the Semantic Web by
Pragmatic Approaches to the Semantic WebPragmatic Approaches to the Semantic Web
Pragmatic Approaches to the Semantic WebMike Bergman
1.7K views40 slides
DCMI Keynote: Bridging the Semantic Gaps and Interoperability by
DCMI Keynote: Bridging the Semantic Gaps and InteroperabilityDCMI Keynote: Bridging the Semantic Gaps and Interoperability
DCMI Keynote: Bridging the Semantic Gaps and InteroperabilityMike Bergman
1.8K views42 slides
20100614 ISWSA Keynote by
20100614 ISWSA Keynote20100614 ISWSA Keynote
20100614 ISWSA KeynoteAxel Polleres
1.8K views56 slides
Michael Lang Sr. Presentation by
Michael Lang Sr. PresentationMichael Lang Sr. Presentation
Michael Lang Sr. PresentationMediabistro
1K views36 slides

Similar to Introduction to the Semantic Web(20)

Linked Data Tutorial by Sören Auer
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
Sören Auer9.2K views
Pragmatic Approaches to the Semantic Web by Mike Bergman
Pragmatic Approaches to the Semantic WebPragmatic Approaches to the Semantic Web
Pragmatic Approaches to the Semantic Web
Mike Bergman1.7K views
DCMI Keynote: Bridging the Semantic Gaps and Interoperability by Mike Bergman
DCMI Keynote: Bridging the Semantic Gaps and InteroperabilityDCMI Keynote: Bridging the Semantic Gaps and Interoperability
DCMI Keynote: Bridging the Semantic Gaps and Interoperability
Mike Bergman1.8K views
20100614 ISWSA Keynote by Axel Polleres
20100614 ISWSA Keynote20100614 ISWSA Keynote
20100614 ISWSA Keynote
Axel Polleres1.8K views
Michael Lang Sr. Presentation by Mediabistro
Michael Lang Sr. PresentationMichael Lang Sr. Presentation
Michael Lang Sr. Presentation
Mediabistro1K views
Linked Data for Architecture, Engineering and Construction (AEC) by Stefan Dietze
Linked Data for Architecture, Engineering and Construction (AEC)Linked Data for Architecture, Engineering and Construction (AEC)
Linked Data for Architecture, Engineering and Construction (AEC)
Stefan Dietze806 views
OSLC & The Future of Interoperability by Koneksys
OSLC & The Future of InteroperabilityOSLC & The Future of Interoperability
OSLC & The Future of Interoperability
Koneksys350 views
ESWC SS 2012 - Monday Tutorial 1 Aidan Hogan: Semantic Web Languages and Stan... by eswcsummerschool
ESWC SS 2012 - Monday Tutorial 1 Aidan Hogan: Semantic Web Languages and Stan...ESWC SS 2012 - Monday Tutorial 1 Aidan Hogan: Semantic Web Languages and Stan...
ESWC SS 2012 - Monday Tutorial 1 Aidan Hogan: Semantic Web Languages and Stan...
eswcsummerschool1.2K views
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S... by Gezim Sejdiu
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
Gezim Sejdiu391 views
State of the Semantic Web by Ivan Herman
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
Ivan Herman923 views
Linked Data Planet Key Note by rumito
Linked Data Planet Key NoteLinked Data Planet Key Note
Linked Data Planet Key Note
rumito1.5K views
Semantic Technology In Oracle Database 12c by Martin Toshev
Semantic Technology In Oracle Database 12cSemantic Technology In Oracle Database 12c
Semantic Technology In Oracle Database 12c
Martin Toshev304 views
Datamining at SemWebPro 2012 by Vincent Michel
Datamining at SemWebPro 2012Datamining at SemWebPro 2012
Datamining at SemWebPro 2012
Vincent Michel108 views
Web 3 Mark Greaves by Mediabistro
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark Greaves
Mediabistro2.5K views
Web 3.0 & IoT (English) by Peter Waher
Web 3.0 & IoT (English)Web 3.0 & IoT (English)
Web 3.0 & IoT (English)
Peter Waher4.5K views
What Factors Influence the Design of a Linked Data Generation Algorithm? by andimou
What Factors Influence the Design of a Linked Data Generation Algorithm?What Factors Influence the Design of a Linked Data Generation Algorithm?
What Factors Influence the Design of a Linked Data Generation Algorithm?
andimou152 views

Recently uploaded

"Node.js Development in 2024: trends and tools", Nikita Galkin by
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin Fwdays
33 views38 slides
This talk was not generated with ChatGPT: how AI is changing science by
This talk was not generated with ChatGPT: how AI is changing scienceThis talk was not generated with ChatGPT: how AI is changing science
This talk was not generated with ChatGPT: how AI is changing scienceElena Simperl
32 views13 slides
The Coming AI Tsunami.pptx by
The Coming AI Tsunami.pptxThe Coming AI Tsunami.pptx
The Coming AI Tsunami.pptxjohnhandby
13 views12 slides
LLMs in Production: Tooling, Process, and Team Structure by
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team StructureAggregage
57 views77 slides
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023BookNet Canada
44 views19 slides
MVP and prioritization.pdf by
MVP and prioritization.pdfMVP and prioritization.pdf
MVP and prioritization.pdfrahuldharwal141
39 views8 slides

Recently uploaded(20)

"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays33 views
This talk was not generated with ChatGPT: how AI is changing science by Elena Simperl
This talk was not generated with ChatGPT: how AI is changing scienceThis talk was not generated with ChatGPT: how AI is changing science
This talk was not generated with ChatGPT: how AI is changing science
Elena Simperl32 views
The Coming AI Tsunami.pptx by johnhandby
The Coming AI Tsunami.pptxThe Coming AI Tsunami.pptx
The Coming AI Tsunami.pptx
johnhandby13 views
LLMs in Production: Tooling, Process, and Team Structure by Aggregage
LLMs in Production: Tooling, Process, and Team StructureLLMs in Production: Tooling, Process, and Team Structure
LLMs in Production: Tooling, Process, and Team Structure
Aggregage57 views
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 views
Deep Tech and the Amplified Organisation: Core Concepts by Holonomics
Deep Tech and the Amplified Organisation: Core ConceptsDeep Tech and the Amplified Organisation: Core Concepts
Deep Tech and the Amplified Organisation: Core Concepts
Holonomics17 views
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell by Fwdays
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
Fwdays14 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li91 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays58 views
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And... by ShapeBlue
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
ShapeBlue108 views
Discover Aura Workshop (12.5.23).pdf by Neo4j
Discover Aura Workshop (12.5.23).pdfDiscover Aura Workshop (12.5.23).pdf
Discover Aura Workshop (12.5.23).pdf
Neo4j15 views
The Power of Generative AI in Accelerating No Code Adoption.pdf by Saeed Al Dhaheri
The Power of Generative AI in Accelerating No Code Adoption.pdfThe Power of Generative AI in Accelerating No Code Adoption.pdf
The Power of Generative AI in Accelerating No Code Adoption.pdf
Saeed Al Dhaheri39 views
Measurecamp Brussels - Synthetic data.pdf by Human37
Measurecamp Brussels - Synthetic data.pdfMeasurecamp Brussels - Synthetic data.pdf
Measurecamp Brussels - Synthetic data.pdf
Human37 26 views
"Running students' code in isolation. The hard way", Yurii Holiuk by Fwdays
"Running students' code in isolation. The hard way", Yurii Holiuk "Running students' code in isolation. The hard way", Yurii Holiuk
"Running students' code in isolation. The hard way", Yurii Holiuk
Fwdays36 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
Mobile Core Solutions & Successful Cases.pdf by IPLOOK Networks
Mobile Core Solutions & Successful Cases.pdfMobile Core Solutions & Successful Cases.pdf
Mobile Core Solutions & Successful Cases.pdf
IPLOOK Networks14 views
AI + Memoori = AIM by Memoori
AI + Memoori = AIMAI + Memoori = AIM
AI + Memoori = AIM
Memoori14 views

Introduction to the Semantic Web

  • 1. Tomasz Pluskiewicz PGS Software INTRODUCTION TO THE SEMANTIC WEB 2012-11-28 Introduction to the Semantic Web 1
  • 2. Agenda  What is the Semantic Web?  What is data in the Semantic Web?  Storing and publishing semantic data  Querying the Semantic Web  What is there for developers?  How does the Semantic Web compare?  So who actually does the Semantic Web? 2012-11-28Introduction to the Semantic Web 2
  • 3. What is the Semantic Web? 2012-11-28 3 Introduction to the Semantic Web
  • 4. What is the Semantic Web?  Semantics = meaning (from Greek)  Set of practices and standards  Synonymous or related to:  Web of data  Linked data (cloud)  Giant Global Graph (GGG)  Web 3.0  Open Data  Big Data 2012-11-28Introduction to the Semantic Web 4
  • 5. So what is it about?  Allowing machines to understand data  Ease sharing and mixing data  Extend the World Wide Web rather than replace it 2012-11-28Introduction to the Semantic Web 5
  • 6. Little bit of history  1969: paper Semantic Information Processing by Ross Quillial  1980s: CYC and WordNet  mid- to late 1990s: Tim Berners-Lee coins the term Semantic Web  Today: dbpedia: 1.2m triples 2012-11-28Introduction to the Semantic Web 6
  • 8. Representation The basics of semantic data 2012-11-28 8 Introduction to the Semantic Web
  • 9. It’s all about resources 9
  • 10. It’s all about resources  Extensive use of URIs (and most often URLs)  (Almost) everyting is a URI  Example URIs:  http://infusion.com/people/tpluskiewicz  urn:isbn:1898432023  http://xmlns.com/foaf/0.1/firstName 2012-11-28Introduction to the Semantic Web 10
  • 11. It’s all findable about resources 2012-11-28  Identifier  Representation  Resource itself 11  URI (URL?)  HTML, RDF  Described object Introduction to the Semantic Web Identifier URI should be different than the representationURI Identifiers should not change
  • 12. Cool URIs  Resource and representation have different URIs  Hash URIs  http://www.example.com/about#alice  http://www.example.com/about.html  „Normal” URIs  http://www.example.com/id/bob  http://www.example.com/people/bob.html 2012-11-28Introduction to the Semantic Web 12
  • 14. Resource Description Format  Facts and relations organized in triples  Triples mimic natural language sentences  Graphical representation is a directed graph My name is Tomasz Pluskiewicz. My age is 26. I work for PGS Software. 2012-11-28Introduction to the Semantic Web 14
  • 15. Resource Description Framework ex:tpluskiewicz 2012-11-28Introduction to the Semantic Web 15 Tomasz Pluskiewicz 26 foaf:fullName ex:PGS- Software
  • 16. Serializing RDF triples 2012-11-28  RDF/XML (.rdf)  Notation3 (.n3)  N-Triples (.nt)  Turtle (.ttl)  JSON-LD  TriG (.trig)  TriX (.trix)  application/rdf+xml  text/n3  text/plain  text/turtle 16 Format MIME type Introduction to the Semantic Web
  • 17. RDF/XML vs Turtle 2012-11-28  Difficult to author  Verbose  No cannonical serialization  Simple  Concise  Has means of further compressing content 17 RDF/XML Turtle Introduction to the Semantic Web
  • 18. There can be multiple graphs  Sets of triples form graphs  Graphs can be named with a URI  Named graph are also resources, hence there can be triples describing those graphs 2012-11-28Introduction to the Semantic Web 18
  • 19. Adding meaning The basics of semantic data 2012-11-28 19 Introduction to the Semantic Web
  • 21. Basics of RDF(S) resources 2012-11-28  rdfs:Resource  rdfs:Class  rdfs:Property  rdfs:Datatype  rdfs:Literal  rdf:type  rdfs:label  rdfs:subClassOf  rdfs:subPropertyOf  rdfs:range  rdfs:domain 21 classes properties Introduction to the Semantic Web
  • 22. Web Ontology Language  OWL: Lite, DL and Full  OWL 2: EL, QL and RL  Defining constraints  Enables defining complex rules  Uses specialized syntaxes  Base terms: owl:Thing, owl:Nothing, owl:DatatypeProperty, owl:ObjectProperty, owl:sameAs 2012-11-28Introduction to the Semantic Web 22
  • 23. Common ontologies  Friend of a Friend  Dublin Core  SIOC  SKOS  UMBEL  Suggested Upper Merged Ontology 2012-11-28Introduction to the Semantic Web 23  Geonames  BIBO
  • 24. Specialized ontologies  Gene Ontology  GOLD (General O. for Linguistic Description)  Foundational Model of Anatomy  GoodRelations  Lexvo 2012-11-28Introduction to the Semantic Web 24
  • 26. Storing in relational databases  Mapping tables to triples:  D2RQ  R2RML  Ultrawrap  Using RDBMS with RDF built-in capabilities  Oracle 11g  Virtuoso  Jena SDB  IBM DB2 2012-11-28Introduction to the Semantic Web 27
  • 27. Native triplestores  Using native triple (quad) stores  Virtuoso  AllegroGraph  BigOWLIM  Jena TDB  4store  Stardog  Dydra 2012-11-28Introduction to the Semantic Web 28
  • 28. Publishing data easily  Embedding semantic markup in HTML  Microformats  Microdata  RDFa  Directly publishing RDF documents http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/ 2012-11-28Introduction to the Semantic Web 29
  • 29. Microformats example 2012-11-28 <ul> <li> Joe Doe</li> <li> The Example Company </li> <li> 604-555-1234</li> <li> <a> Website</a> </li> </ul> 30 <ul class="vcard"> <li class="vcard"> Joe Doe</li> <li class="org"> The Example Company </li> <li class="tel"> 604-555-1234</li> <li> <a class="url"> Website</a> </li> </ul> Introduction to the Semantic Web
  • 30. Microdata example <section itemscope itemtype="http://data-vocabulary.org/Person"> Hello, my name is <span itemprop="name">John Doe</span>, I am a <span itemprop="title">graduate research assistant</span> at the <span itemprop="affiliation">University of Dreams</span>. My friends call me <span itemprop="nickname">Johnny</span>. You can visit my homepage at <a href="http://www.JohnnyD.com" itemprop="url">www.JohnnyD.com</a>. <section itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address"> I live at <span itemprop="street-address">1234 Peach Drive</span> <span itemprop="locality">Warner Robins</span> , <span itemprop="region">Georgia</span>. </section> </section> 2012-11-28Introduction to the Semantic Web 31
  • 31. RDFa example <p xmlns:dc="http://purl.org/dc/elements/1.1/" about="http://www.example.com/books/wikinomics"> In his latest book <cite property="dc:title">Wikinomics</cite>, <span property="dc:creator">Don Tapscott</span> explains deep changes in technology, demographics and business. The book is due to be published in <span property="dc:date" content="2006-10-01">October 2006</span>. </p> 2012-11-28Introduction to the Semantic Web 32
  • 33. Publishing queryable data  SPARQL Protocol and RDF Query Language  Remote queries through SPARQL Endpoints  SPARQL 1.1 features:  ASK, SELECT, DESCRIBE, CONSTRUCT  Aggregates  Federated queries  Extensibilty, XPath, subqueries  SPARQL Update 2012-11-28Introduction to the Semantic Web 34
  • 35. SPARQL + rules = SPIN  SPARQL Inferencing  Developed by TopQuadrant  Components of SPIN:  Represent SPARQL queries as RDF triples  Allow modularizing queries with spin:Function and spin:Template  spin:MagicProperty  ASK to create constraints  CONSTRUCT to create rules 2012-11-28Introduction to the Semantic Web 36
  • 38. What is there for developers?  dotNetRDF  Jena/ARQ  Rdflib  RDF.rb  EasyRdf  Rdfquery  Redland  (Web)Protégé  TopBraid Composer  NeOn  OntoWiki  Semantic MediaWiki  Cubic Web Programming tools Design tools and frameworks
  • 39. Semantic Web vs X 2012-11-28 40 Introduction to the Semantic Web
  • 40. Semantic Web vs XML 2012-11-28  Data representation (model)  Graph  xsd and XPath  Schema defined with RDFS or OWL  URI identifiers  Data serialization (syntax)  Tree  xsd and XPath  DTD or XML schema  No built-in identifiers 41 Semantic Web (RDF) XML Introduction to the Semantic Web
  • 41. Semantic Web vs REST 2012-11-28  URIs identify resources  HTTP encouraged to allow dereferencing  Uniform RDF messages  Resources are linked (triples)  Application specific  Resource Identification  Uniform Interface  Self-Describing Messages  Hypermedia Driving Application State  Stateless Interactions 42 Semantic Web REST Introduction to the Semantic Web
  • 42. Semantic Web vs RDBMS 2012-11-28  SPARQL  Felxible and extensible schema  Easy data distribution  Depends on vendor  Easier process BI  Open World  SQL  Schema must be defined first and is rather rigid  Painful replication  ACID Transactions  Strict ETL  Closed World 43 Semantic Web Relational databases Introduction to the Semantic Web
  • 43. Semantic Web vs NoSQL 2012-11-28  SPARQL  Graph  Schemaless  Named graphs  Built on standards and interoperability  Can seem scientific and complicated  Various APIs  Graph, doc, key-value  Schemaless  Documents (doc DBs)  Tackle specific problems (latency, scale, perf.)  Designed for easy adoption 44 Semantic Web NoSQL Introduction to the Semantic Web
  • 44. Who actually does the Semantic Web? Is it happening? 2012-11-28 46 Introduction to the Semantic Web
  • 45. Linked data and open data  Dbpedia  Freebase  Geonames  Social data  Media  Government data  Publications  Many many other  datahub.io  lod.openlinksw.com  data.gov  data.gov.uk  datadotgc.ca  openlibrary.org  bnb.data.bl.uk 2012-11-28Introduction to the Semantic Web http://richard.cyganiak.de/2007/10/lod/lod-datasets_2011-09-19_colored.html
  • 46. Who does the Semantic Web? 2012-11-28  IBM DB2  Open Services Lifecycle Collaboration  Linked Data Platform  Oracle 11g  Triplestore  Reasoner 48 IBM Oracle Introduction to the Semantic Web
  • 47. Who does the Semantic Web? 2012-11-28  Webmaster tools  Knowledge graph  Freebase  RDFa/Microdata (also Yahoo)  Open Graph Protocol 49 Google Facebook Introduction to the Semantic Web
  • 48. Who does the Semantic Web? 2012-11-28 Thousands of datasets Some offered in RDF Linked by Linking Open Government Data project (200 datasets) Open Government Partnership (50+ countries)  Gene research  Language processing  Semantic MediaWiki 50 Government/public data Academic work Introduction to the Semantic Web
  • 49. Where to learn in person?  Semantic Technology & Business Conference  Berlin, London, New York, San Francisco  European Semantic Web Symposium  International Semantic Web Conference  International World Wide Web Conference  International Conference on Semantic Web and Web Services  Semantic Web Applications and Tools for Life Sciences 2012-11-28Introduction to the Semantic Web 51
  • 50. Some interesting links...  http://semanticweb.com/  http://patterns.dataincubator.org/book/  http://www.w3.org/standards/semanticweb/  http://spinrdf.org  Wikipedia  http://semanticweb.com/breaking-into-the-nosql-conversation_b27146  http://gigaom.com/2012/03/11/is-big-data-new-or-have-we-forgotten-its-old- heroes/  http://www.snee.com/bobdc.blog/2012/10/sparql-and-big-data-and- nosql.html  http://dret.net/netdret/docs/soa-rest-www2009/rest  http://www.mkbergman.com/  http://www.cambridgesemantics.com/semantic-university 2012-11-28Introduction to the Semantic Web 52
  • 51. ...and some books  David Wood, Linked Data, Manning  Bob DuCharme, Learning SPARQL, O’Reilly  Toby Segaran, Programming the Semantic Web, O’Reilly  John Hebeler, Semantic Web Programming, Wiley  David Siegel, Pull: The Power of the Semantic Web to Transform Your Business, Portfolio 2012-11-28Introduction to the Semantic Web 53