SlideShare a Scribd company logo
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

More Related Content

What's hot

Semantic web
Semantic webSemantic web
Semantic web
Tanvi Vahora
 
The impact of web on ir
The impact of web on irThe impact of web on ir
The impact of web on ir
Primya Tamil
 
Web Database
Web DatabaseWeb Database
Web Database
idroos7
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
Stanley Wang
 
Rdf
RdfRdf
Semantic web technology
Semantic web technologySemantic web technology
Semantic web technology
Stanley Wang
 
Web application framework
Web application frameworkWeb application framework
Web application framework
Pankaj Chand
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
Marin Dimitrov
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
guest0df6b0
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit II
pkaviya
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
Ramakant Soni
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Ravi Teja
 
Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)
Ameer Sameer
 
Information Retrieval Models
Information Retrieval ModelsInformation Retrieval Models
Information Retrieval Models
Nisha Arankandath
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
valuebound
 
CS6010 Social Network Analysis Unit I
CS6010 Social Network Analysis Unit ICS6010 Social Network Analysis Unit I
CS6010 Social Network Analysis Unit I
pkaviya
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
Narni Rajesh
 

What's hot (20)

Sgml
SgmlSgml
Sgml
 
Semantic web
Semantic webSemantic web
Semantic web
 
The impact of web on ir
The impact of web on irThe impact of web on ir
The impact of web on ir
 
Web Database
Web DatabaseWeb Database
Web Database
 
Resource description framework
Resource description frameworkResource description framework
Resource description framework
 
Rdf
RdfRdf
Rdf
 
Semantic web technology
Semantic web technologySemantic web technology
Semantic web technology
 
Web application framework
Web application frameworkWeb application framework
Web application framework
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
Web Service Presentation
Web Service PresentationWeb Service Presentation
Web Service Presentation
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit II
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
FOAF
FOAFFOAF
FOAF
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Web ontology language (owl)
Web ontology language (owl)Web ontology language (owl)
Web ontology language (owl)
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
Information Retrieval Models
Information Retrieval ModelsInformation Retrieval Models
Information Retrieval Models
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
 
CS6010 Social Network Analysis Unit I
CS6010 Social Network Analysis Unit ICS6010 Social Network Analysis Unit I
CS6010 Social Network Analysis Unit I
 
Introduction to RDF
Introduction to RDFIntroduction to RDF
Introduction to RDF
 

Similar to Introduction to the Semantic Web

Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
Sören Auer
 
Pragmatic Approaches to the Semantic Web
Pragmatic Approaches to the Semantic WebPragmatic Approaches to the Semantic Web
Pragmatic Approaches to the Semantic Web
Mike Bergman
 
DCMI Keynote: Bridging the Semantic Gaps and Interoperability
DCMI Keynote: Bridging the Semantic Gaps and InteroperabilityDCMI Keynote: Bridging the Semantic Gaps and Interoperability
DCMI Keynote: Bridging the Semantic Gaps and Interoperability
Mike Bergman
 
20100614 ISWSA Keynote
20100614 ISWSA Keynote20100614 ISWSA Keynote
20100614 ISWSA Keynote
Axel Polleres
 
Michael Lang Sr. Presentation
Michael Lang Sr. PresentationMichael Lang Sr. Presentation
Michael Lang Sr. PresentationMediabistro
 
Linked Data for Architecture, Engineering and Construction (AEC)
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 Dietze
 
OSLC & The Future of Interoperability
OSLC & The Future of InteroperabilityOSLC & The Future of Interoperability
OSLC & The Future of Interoperability
Koneksys
 
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...
ESWC SS 2012 - Monday Tutorial 1 Aidan Hogan: Semantic Web Languages and Stan...eswcsummerschool
 
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...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
Gezim Sejdiu
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
Ivan Herman
 
Linked Data Planet Key Note
Linked Data Planet Key NoteLinked Data Planet Key Note
Linked Data Planet Key Noterumito
 
Semantic Technology In Oracle Database 12c
Semantic Technology In Oracle Database 12cSemantic Technology In Oracle Database 12c
Semantic Technology In Oracle Database 12c
Martin Toshev
 
The Social Data Web
The Social Data WebThe Social Data Web
The Social Data Web
George Thomas
 
Datamining at SemWebPro 2012
Datamining at SemWebPro 2012Datamining at SemWebPro 2012
Datamining at SemWebPro 2012
Vincent Michel
 
Web 3 Mark Greaves
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark GreavesMediabistro
 
Web 3.0 & IoT (English)
Web 3.0 & IoT (English)Web 3.0 & IoT (English)
Web 3.0 & IoT (English)
Peter Waher
 
Web 3.0 & io t (en)
Web 3.0 & io t (en)Web 3.0 & io t (en)
Web 3.0 & io t (en)
Rikard Strid
 
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?
What Factors Influence the Design of a Linked Data Generation Algorithm?
andimou
 

Similar to Introduction to the Semantic Web (20)

Linked data and voyager
Linked data and voyagerLinked data and voyager
Linked data and voyager
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
 
Pragmatic Approaches to the Semantic Web
Pragmatic Approaches to the Semantic WebPragmatic Approaches to the Semantic Web
Pragmatic Approaches to the Semantic Web
 
DCMI Keynote: Bridging the Semantic Gaps and Interoperability
DCMI Keynote: Bridging the Semantic Gaps and InteroperabilityDCMI Keynote: Bridging the Semantic Gaps and Interoperability
DCMI Keynote: Bridging the Semantic Gaps and Interoperability
 
20100614 ISWSA Keynote
20100614 ISWSA Keynote20100614 ISWSA Keynote
20100614 ISWSA Keynote
 
Michael Lang Sr. Presentation
Michael Lang Sr. PresentationMichael Lang Sr. Presentation
Michael Lang Sr. Presentation
 
Linked Data for Architecture, Engineering and Construction (AEC)
Linked Data for Architecture, Engineering and Construction (AEC)Linked Data for Architecture, Engineering and Construction (AEC)
Linked Data for Architecture, Engineering and Construction (AEC)
 
OSLC & The Future of Interoperability
OSLC & The Future of InteroperabilityOSLC & The Future of Interoperability
OSLC & The Future of Interoperability
 
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...
ESWC SS 2012 - Monday Tutorial 1 Aidan Hogan: Semantic Web Languages and Stan...
 
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...
The Best of Both Worlds: Unlocking the Power of (big) Knowledge Graphs with S...
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Linked Data Planet Key Note
Linked Data Planet Key NoteLinked Data Planet Key Note
Linked Data Planet Key Note
 
Semantic Technology In Oracle Database 12c
Semantic Technology In Oracle Database 12cSemantic Technology In Oracle Database 12c
Semantic Technology In Oracle Database 12c
 
Gt ea2009
Gt ea2009Gt ea2009
Gt ea2009
 
The Social Data Web
The Social Data WebThe Social Data Web
The Social Data Web
 
Datamining at SemWebPro 2012
Datamining at SemWebPro 2012Datamining at SemWebPro 2012
Datamining at SemWebPro 2012
 
Web 3 Mark Greaves
Web 3 Mark GreavesWeb 3 Mark Greaves
Web 3 Mark Greaves
 
Web 3.0 & IoT (English)
Web 3.0 & IoT (English)Web 3.0 & IoT (English)
Web 3.0 & IoT (English)
 
Web 3.0 & io t (en)
Web 3.0 & io t (en)Web 3.0 & io t (en)
Web 3.0 & io t (en)
 
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?
What Factors Influence the Design of a Linked Data Generation Algorithm?
 

Recently uploaded

Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 

Recently uploaded (20)

Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 

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