introducing the semantic web · introducing the semantic web brian sletten, bosatsu consulting,...
TRANSCRIPT
![Page 1: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/1.jpg)
Introducing the Semantic WebBrian Sletten, Bosatsu Consulting, Inc.
![Page 2: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/2.jpg)
Speaker Qualifications
Over 13 years of software development experience
Has own software consulting company for design, mentoring, training and development
Currently working in Semantic Web, AOP, Grid Computing, P2P and security consulting
Mulgara Committer
![Page 3: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/3.jpg)
Agenda
The Web So Far
Semantic Web
SemWeb Tools
Related Non-Semantic Web Technologies
The Future
References
![Page 4: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/4.jpg)
The Web So Far
![Page 5: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/5.jpg)
What We Like About the Web
Global data store
Universal Addressability
Common Transports
Common Structured/Presentation Formats
Search
Web Services
Anyone can publish
![Page 6: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/6.jpg)
What Still Isn’t Right
Mixture of Content and Presentation
People Can’t Agree On Anything!
Information Overload
Search Could Be Better
Web Services are difficult to manage in a global and orchestrated way
Seriously, ANYONE can publish!
![Page 7: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/7.jpg)
Google Is Just the Beginning
How comfortable would you be letting your child use the Internet to find information about Louisa May Alcott’s “Little Women”?
Keyword search has its limits: “tank”
![Page 8: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/8.jpg)
Screen-Scraping Stinks
What does this mean? What happens when the presentation changes?<html> <body> <table> <tr><th>Product</th><th>Price</th></tr> <tr><td>Book</td><td>13.00</td> <tr><td>CD</td><td>16.00</td> </table> </body></html>
(cue RDF/A & GRDDL theme music)
![Page 9: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/9.jpg)
Network Effects Rule!
Metcalfe’s Law Lives : “The value of a network equals approximately the square of the numbers of users of the system.”
We’re good on numbers, we just need to capture what is there
What’s wrong with sites like Orkut, Friendster, tribe.net?
(cue FOAF theme music)
![Page 10: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/10.jpg)
The Semantic Web
![Page 11: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/11.jpg)
History
Tim Berners-Lee (TBL) had a vision that surpassed where we are today
Talked about “Semantic Web” in a few slides back in 1994 at 1st WWW Conference
“The Semantic Web is specifically a web of machine-readable information whose meaning is well-defined by standards: it absolutely needs the interoperable infrastructure that only
global standard protocols can provide” -- from the foreword to “Spinning the Semantic Web”
![Page 12: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/12.jpg)
Syntax vs Semantics
XML provides a syntax for web documents
“Format”
Must agree upon semantics upfront
We still need something to represent concepts
“Meaning”
![Page 13: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/13.jpg)
Requirements for the Semantic Web
Ability to address arbitrary web resources, concepts, people, organizations
Formal languages to express facts and relationships in common formats
Ability to encode shared conceptualizations around communities and domains of interest
Ability to map between shared conceptualizations
Ability to discover implicit relationships
![Page 14: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/14.jpg)
Classes/Concepts
Example
A computer is a thing; a person is a thing
A Software Engineer is a person with one or more computers
A Mac is a subclass of computer with a property “creator”=”Apple”
A Mac User is a person with one or more Macs
Brian is a Software Engineer
Brian is a Mac User
![Page 15: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/15.jpg)
Class Statements
Example
A computer is a thing; a person is a thing
A Software Engineer is a person with one or more computers
A Mac is a subclass of computer with a property “creator”=”Apple”
A Mac User is a person with one or more Macs
Brian is a Software Engineer
Brian is a Mac User
![Page 16: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/16.jpg)
Instance Statements
Example
A computer is a thing; a person is a thing
A Software Engineer is a person with one or more computers
A Mac is a subclass of computer with a property “creator”=”Apple”
A Mac User is a person with a property with one or more Macs
Brian is a Software Engineer
Brian is a Mac User
![Page 17: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/17.jpg)
Inference
Example
A computer is a thing; a person is a thing
A Software Engineer is a person with one or more computers
A Mac is a subclass of computer with a property “creator”=”Apple”
A Mac User is a person with one or more Macs
Brian is a Software Engineer
Brian is a Mac User
What can we conclude?
![Page 18: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/18.jpg)
Mapping Classes
Example
A computer is a thing; a person is a thing
A Software Engineer is a person with one or more computers
A Mac is a subclass of computer with a property “creator”=”Apple”
A Mac User is a person with one or more Macs
A Programmer is the same thing as a Software Engineer
Steve is a Programmer
What can we conclude?
![Page 19: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/19.jpg)
SemWeb vs. semweb
Famous debate about the scope of the vision
Top-Down: Visionaries
“Computer, find me anything about anything.”
Bottom-Up: Doers
“Browser, find me images tagged as being about dogs.”
![Page 20: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/20.jpg)
Where are the semantics?
“The problem is not that there are no semantics, the problem is that the semantics is hidden in software
components.” --Stefan Decker
Goal is to move away from stove pipes and push the meaning out of the software into the data
Increases the potential for integration by maintaining meaning out of context
![Page 21: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/21.jpg)
Technologies
Let them eat cake!
URI Unicode
XML NamespacesSignature
Encryption
RDF
RDFS
Ontology
Rules
Logic
Proof
Trust
![Page 22: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/22.jpg)
Technologies
URI Unicode
XML Namespaces
Sig
na
ture
En
cry
pti
on
RDF
RDFS
Ontology
Rules
Logic
Proof
Trust
Encoding and Addressability
Syntax and Grouping
Facts
Classification
Verifiability
Provenance
Belief/Acceptance
![Page 23: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/23.jpg)
RDF
Resource Description Framework
W3C Recommendation
Specification for a graph metamodel to comment on web resources (or anything)
Uses a triple form
Subject Predicate Object
http://www.bosatsu.net dc:creator “Brian Sletten”
![Page 24: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/24.jpg)
RDF
RDF objects can be URIs or literals (strings or XSD datatypes)
Subjects can be blank nodes or URIS
Predicates can only be URIs
Objects may be URIs, literals or unnamed blank nodes
http://www.bosatsu.net
"Brian Sletten"
dc:creator
URI
URI
Literal
Subject
Object
Predicate
![Page 25: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/25.jpg)
http://www.bosatsu.net
dc:creator
"Sletten"
"Brian""[email protected]"
firstname
lastnamee-mail
RDF Graphs
![Page 26: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/26.jpg)
http://www.bosatsu.net dc:creator
"Sletten"
"Brian"
firstname
lastnamee-mail
"Hatcher"
"Erik""[email protected]"
firstnamelastname
foaf:knows
RDF Graphs (cont)
![Page 27: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/27.jpg)
RDF Formats
#XML<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="http://www.bosatsu.net"> <dc:creator>Brian Sletten</dc:creator> </rdf:Description></rdf:RDF>
#NTriples<http://www.bosatsu.net> <http://purl.org/dc/elements/1.1/creator> "Brian Sletten" .
#N3@prefix dc: <http://purl.org/dc/elements/1.1/> .@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .<http://www.bosatsu.net> dc:creator "Brian Sletten" .
http://www.mindswap.org/2002/rdfconvert/
![Page 28: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/28.jpg)
rdf:ID vs rdf:about
rdf:ID introduces a new resource within an xml:base
rdf:about adds statements about external resources
<rdf:Description rdf:about=”http://www.bosatsu.net”> <dc:creator>Brian Sletten</dc:creator></rdf>
<rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xml:base=”http://www.bosatsu.net”>
<rdf:Description rdf:ID=”vacationPolicy”> <dc:creator>Brian Sletten</dc:creator></rdf:Description></rdf:RDF>
![Page 29: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/29.jpg)
RDF Examples
![Page 30: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/30.jpg)
Sample RDF Vocabularies
Dublin Core
FOAF
DOAP
MusicBrainz
WordNet
![Page 31: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/31.jpg)
RDFS
A specification for describing vocabularies via RDF
W3C Recommendation
Introduces
Class/Concept and Property definitions
Class/Concept and Property inheritance hierarchies
Domain and range restrictions for properties
![Page 32: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/32.jpg)
Classes and Properties
Class
A Set of instances with common properties
Explicit properties are stated
Implicit properties are inherited based on other relationships
Property
A binary relationship relating an object instance to a value
![Page 33: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/33.jpg)
Individual
Class Property
instance of has value
restricts
Classes, Properties and Instances
Based on a diagram from [Lacey2005]
Membership Attributes
![Page 34: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/34.jpg)
rdf:type
Introduce instances of classes
Individuals can belong to multiple classes
<rdf:Description rdf:ID=”http://www.bosatsu.net”> <rdf:type rdf:resource=”#webPage” /></rdf>
![Page 35: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/35.jpg)
Typed Literals
Syntactic Convenience
<rdf:Description rdf:ID=”http://www.bosatsu.net”> <rdf:type rdf:resource=”#webPage” /></rdf>
<webPage rdf:ID=”http://www.bosatsu.net”>...</webPage>
![Page 36: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/36.jpg)
Language Expressivity
The more expressive a language is, the more complicated it can be to reason about the language semantics
Quickly get into theoretical computer science and decidability
We want to strike a balance between being able to say interesting things and being able to get answers back
before t→∞
![Page 37: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/37.jpg)
Subclassification
Has narrower meaning than
Class hierarchies
Disjoint subclass
Intensional
Strong Semantics
Relational
Model
Weak Semantics
Taxonomy
Thesaurus
RDF/S
UML
Description
Logics
OWL
FOL
Modal
Logics
Semantic Strength in Modeling Languages
Based on a diagramfrom [Daconta2003]
![Page 38: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/38.jpg)
SKOS
Simple Knowledge Organization System (SKOS)
W3C Working Draft (Recommendation in 2006)
RDFS++/OWL Lite Lite
Used to specify particular ‘concept schemes’ as RDF graphs
![Page 39: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/39.jpg)
Where SKOS Fits
URI Unicode
XML NamespacesSignature
Encryption
RDF
RDFS
Ontology
Rules
Logic
Proof
Trust
SKOS
![Page 40: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/40.jpg)
Concept Schemes
Thesauri
Taxonomies
Subject Headers
Controlled Vocabularies
![Page 41: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/41.jpg)
SKOS Example
Picture Courtesy of Alistair Miles
![Page 42: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/42.jpg)
SKOS Example
Picture Courtesy of Alistair Miles
![Page 43: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/43.jpg)
OWL
Web Ontology Language (OWL)
W3C Recommendation
Designed to support different levels of expression with different computational requirements
OWL Lite
OWL DL
OWL Full
![Page 44: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/44.jpg)
Predefined OWL Classes
owl:Thing
Superclass of all classes
owl:Nothing
Subclass of all classes
![Page 45: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/45.jpg)
OWL Lite
Allows class definitions and properties from RDFS
rdfs:subClassOf, owl:objectProperty, owl:datatypeProperty
Domain and range qualification
owl:domain, owl:range
Basic quantifier expressions
owl:allValuesFrom, owl:someValuesFrom
Only supports cardinality restrictions of 0 or 1
![Page 46: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/46.jpg)
OWL Properties
Subclasses rdf:Property
owl:DatatypeProperty (instance->data type)
owl:ObjectProperty (instance->individual)
owl:AnnotationProperty
rdfs:label, rdfs:comment, rdfs:isDefinedBy
owl:OntologyProperty
![Page 47: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/47.jpg)
OWL DL
Builds on OWL Lite features
Based on Description Logics
A family of knowledge representation languages to formally describe the terminological knowledge of an application domain*
Allows arbitrary cardinality restrictions
(*Thanks to Wikipedia for a concise way to describe Description Logics!)
![Page 48: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/48.jpg)
OWL DL (cont)
Class definition based on property values
owl:hasValue
Class expressions via boolean combinators
owl:unionOf, owl:intersectionOf, owl:complementOf
Class enumeration and disjunction
owl:oneOf, owl:disjointWith
![Page 49: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/49.jpg)
OWL Full
Builds on OWL DL
Classes can be treated as instances
Inverse functional properties
Undecidable but useful given the “Open World” assumption about the Web
![Page 50: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/50.jpg)
OWL Property Restrictions
owl:FunctionalProperty
Only one value per individual (reasoner hint)
owl:InverseFunctionalProperty
Relates two properties
owl:equivalentProperty
Equates two properties
![Page 51: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/51.jpg)
OWL Property Restrictions (cont)
owl:TransitiveProperty
Allows inference by following the transitivity
owl:SymmetricProperty
An object property that simplifies expression
![Page 52: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/52.jpg)
SPARQL
Emerging W3C Standard for querying RDF
It has been a moving target, but various tools are starting to support it
ARQ SPARQL Processor for Jena
Rasqal RDF query library for Redland
Pellet, KAON2 OWL DL Reasoners
![Page 53: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/53.jpg)
SPARQL Syntax
Designed to be comfortable to SQL usersPREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?subject FROM <http://www.bosatsu.net/foaf/brian.rdf>
WHERE { ?brian foaf:interest ?subject. }
![Page 54: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/54.jpg)
SPARQL Syntax (cont)
PREFIX rss: <http://purl.org/rss/1.0/>SELECT ?subject ?description FROM <http://www.slashdot.org/index.rss>WHERE {?article rss:title ?subject. ?article rss:description ?description.}
...
![Page 55: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/55.jpg)
GRDDL
Gleaning Resource Descriptions from Dialects of Languages
Means of embedding metadata in XHTML
Extractable using existing parsers/transformation tools
<html xmlns="http://www.w3.org/1999/xhtml"> <head profile="http://www.w3.org/2003/g/data-view"> <title>Some Document</title> <link rel="transformation" href="http://www.w3.org/2000/06/dc-extract/dc-extract.xsl" /> <meta name="DC.Subject" content="ADAM; Simple Search; Index+; prototype" /> ... </head> ...</html>
![Page 56: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/56.jpg)
RDF/A
Also for embedding metadata in XHTML
Extractable using parsers
<html xmlns:dc="http://purl.org/dc/elements/1.1/"> <head> <title>On <em>Crime and Punishment</em></title> </head> <body> <blockquote> <link rel="dc:source" href="urn:isbn:0140449132" /> <meta property="dc:creator" content="Fyodor Dostoevsky" /> <p> Rodion Romanovitch! My dear friend! If you go on in this way you will go mad, I am positive! Drink, pray, if only a few drops! </p> </blockquote> </body></html>
![Page 57: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/57.jpg)
SemWeb Tools
![Page 58: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/58.jpg)
RDF Parsers
Redland
Fast, multiple language bindings, supports multiple RDF serialization formats
Parser, query engine, SPARQL Support
Rio
Java library (part of Sesame)
Fast, supports multiple RDF serialization formats
![Page 59: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/59.jpg)
RDF Triplestores
Mulgara
100% Java with native RDF support
SQL-like Query language (moving toward SPARQL support)
Can be embedded or standalone
RDFS inference
![Page 60: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/60.jpg)
Why Not an RDBMS?
Semantic Web stack is based on RDF triples
Generalized RDBMSes could certainly store RDF, but the tables would end up very long
Mulgara is optimized for storing triples
Complex, dynamic data and complex queries don’t fit RDBMes as well Image courtesy of Dave Wood
![Page 61: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/61.jpg)
Kowari Model 1
S P O M
Kowari Model 2
Kowari Model 3
<rdf:RDF>
...
</rdf:RDF>
<rdf:RDF>
...
</rdf:RDF>
<rdf:RDF>
...
</rdf:RDF>
RDF File #1
RDF File #2
RDF File #1
9 3 4 0
9 3 5 0
6 7 8 0
6 3 4 0
9 3 4 2
9 3 5 2
6 7 8 2
6 3 4 2
12 3 4 1
12 3 5 1
12 7 11 1
6 3 4 1
6 3 4 1
Mulgara Storage
![Page 62: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/62.jpg)
RDF Triplestores (cont)
Sesame
Open source RDF database
RDFS Inferencing
Can be deployed on top of multiple backends
RDBMs, in-memory, filesystems
Embeds more easily than Mulgara for desktop applications
Object models (i.e. Elmo) live on top of the store
![Page 63: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/63.jpg)
RDF Triplestores (cont)
Redland Application Framework supports storing triples in
Memory
Oracle Berkeley DB (née Sleepycat)
MySQL
AKT Triplestore
SQLLite
flat files
![Page 64: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/64.jpg)
Jena/Joseki
Jena
Java-based API for reading and writing RDF
OWL API
In-Memory and persistent storage
Joseki
RDF publishing server
![Page 65: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/65.jpg)
Simile
Joint project between W3C and MIT
Application of SemWeb technologies to DSpace digital repository for
digital assets
schemata
vocabularies
ontologies
![Page 66: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/66.jpg)
Tupelo
Project at NCSA supported by NEES and OGCE
RDF-OWL-based metadata and data archiving system
Version and access control at the object-level
Grid Service interfaces for metadata and data services
![Page 67: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/67.jpg)
Protégé
Established Stanford Ontology Editor and Knowledge Acquisition System
OWL support was added on
![Page 68: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/68.jpg)
SWOOP
Ontology Editor from UMD MindSwap group
GUI with ontology debugging support
“Dave, your class definition subsumes nothing”
![Page 69: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/69.jpg)
Related Non-SemWeb Technologies
![Page 70: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/70.jpg)
Related Non-SemWeb Technologies
CNet has new ontology-driven “Big Picture” navigator
Identifies related stories based on keywords and central concepts
![Page 71: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/71.jpg)
Related Non-SemWeb Technologies (cont)
del.icio.us
Social bookmarks driven by decentralized user-tagging
![Page 72: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/72.jpg)
Related Non-SemWeb Technologies (cont)
del.icio.us + RSS + PodCasts + iTunes = decentralized content feeds based on user-driven metadata tagging
![Page 73: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/73.jpg)
Related Non-SemWeb Technologies (cont)
Flickr : decentralized user-driven metadata tagging of photos
![Page 74: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/74.jpg)
The Future
![Page 75: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/75.jpg)
What’s Ahead?
Interest in SemWeb technologies is rising
RDF and OWL are starting to show up in more places
SPARQL will standardize RDF query
Altova just announced a SemWeb editing product
Oracle is announcing SemWeb capabilities
Yahoo and Google are hiring SemWeb personalities
![Page 76: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/76.jpg)
SemWeb Directions
One complaint is that no one wants to enter metadata
Oh yeah? MusicBrainz, Flickr, del.icio.us, etc.
Still we want to minimize the burden on humans to improve the web experience for computers
Ontology editors will improve for better user experience
![Page 77: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/77.jpg)
SemWeb Directions (cont)
Entity extraction will get better for automagic tagging
Embedded RDF/OWL via GRDDL and RDF/A
Continued adoption of Doer technologies like FOAF/DOAP
Web Service annotation with semantic markup for easier and richer orchestration
![Page 78: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/78.jpg)
References
![Page 79: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/79.jpg)
Specifications
Tool LocationURI http://www.w3.org/Addressing/
XML http://www.w3.org/XML/
RDF http://www.w3.org/RDF/
RDFS http://www.w3.org/TR/rdf-schema/
SKOS http://www.w3.org/2004/02/skos/core
OWL http://www.w3.org/TR/owl-features/
SPARQL http://www.w3.org/TR/rdf-sparql-query/
GRDDL http://www.w3.org/2004/01/rdxh/spec
RDF/A http://www.formsplayer.com/notes/rdf-a.html
![Page 80: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/80.jpg)
Books
[Alesso2005], Alesso, Smith, “Developing Semantic Web Services”, A.K. Peters Ltd., 2005.
[Antoniou2004], Antoniou, van Harmelen, “A Semantic Web Primer”, MIT Press, 2004.
[Daconta2003], Daconta, Obrst, and Smith, “The Semantic Web: A Guide to the Future of XML, Web Services, and Knowledge Management”, Wiley, 2003.
[Fensel2003], Fensel, Hendler, Lieberman and Wahlster, “Spinning the Semantic Web: Bringing the World Wide Web to Its Full Potential”, MIT Press, 2003.
[Lacey2005] “OWL: Representing Information Using the Web Ontology Language, Trafford, 2005.
[Passin2004], Passin, “Explorer’s Guide to the Semantic Web”, Manning, 2004.
[Powers2003], Powers, “Practical RDF”, O’Reilly, 2003.
![Page 81: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/81.jpg)
Links
Topic Location
Mulgara http://www.mulgara.org
Sesame http://www.openrdf.org
Redland http://www.librdf.org
FOAF http://www.foaf-project.org/
DOAP http://usefulinc.com/doap
Dublin Core http://dublincore.org/
MusicBrainz http://musicbrainz.org/
Online SPARQL Tool http://xmlarmyknife.org/api/rdf/sparql/query
![Page 82: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/82.jpg)
Links
Topic LocationJena http://jena.sourceforge.net/
Joseki http://www.joseki.org/
Simile http://simile.mit.edu
Tupelo http://dlt.ncsa.uiuc.edu/wiki/index.php/Main_Page
SWOOP http://www.mindswap.org/2004/SWOOP/
Protégé http://protege.stanford.edu/
Danny Ayer’s SemWeb
Starting Points
http://dannyayers.com/archives/2005/10/03/semantic-web-starting-points/
![Page 83: Introducing the Semantic Web · Introducing the Semantic Web Brian Sletten, Bosatsu Consulting, Inc. brian@bosatsu.net](https://reader034.vdocuments.mx/reader034/viewer/2022050303/5f6c58da950cfe5cd3376207/html5/thumbnails/83.jpg)
Contact
Please send questions/feedback to [email protected]
Slides: http://www.bosatsu.net/talks/IntroSemWeb.pdf
Examples: http://www.bosatsu.net/talks/SemWebExamples.zip
Please Write Your Reviews