riding the semantic web
TRANSCRIPT
Krimson
Riding the Semantic WebMatthias Vandermaesen
O hi!
Matthias Vandermaesen
Drupal Ninja
http://www.krimson.be
@netsensei
Outline
Semantic Web
The Archipel Project
Demonstration
Why you should participate too
The Semantic Web
What is the Semantic Web?
A group of technologies
Bringing meaning - semantics - to information
Allows applications to understand informationAnd make connections (cross references,...)
Automagically
For humans firstCombine, share and find more easily
The old web
The old web
HTML only describes structure of documents
HTML links documents not data
Data is ... human understandable ...
... but not machine understable
We can't do really cool stuff with it
Cool stuff
Search enginesYahoo, Google, Bing
Enriched search results with relevant information
Connect datasourcesPublic transport timetables vs Google Maps
Compare prices on different webshops
Moviereviews on imdb.com vs. Your local theatre
...
Connect people on social networksFacebook, Twitter, LinkedIn,...
How do we get on the semantic web?
Publishing semantic content
Make information machine understandable...... so they know what data they process
... and can respond to that data
We have to format informationWith a semantic markup language
Publish information in an accessible wayAccessible to machines
Machines?Browser, Search Engines, Calendars, Cars,...
Basically anything
Publishing semantic content
Using technologies such as:RDF : Resource Description FrameworkRDFa : RDF in Attributes
OWL : Web Ontology Language
XML : eXtensible Markup Language
SPARQL : SPARQL Protocol and RDF Query Language
RDF 1-on-1
Everything can be represented as a resource
URI's uniquely name resources on the webPersons, Events, Autoparts, Departements,...
Netsensei
Namespace:xmlns:sensei = http://www.netsensei.nl
URI = http://www.netsensei.nl#meCURIE = sensei:me
RDF 1-on-1
Netsensei
sensei:me
Properties:
Foaf:nameFoaf:birthdayFoaf:mbox
A resource can have properties
Those properties tell something about the resource
What is FOAF
Friend-of-a-friend
Machinereadable ontologyA formal representation of knowledge
Provides a shared vocabulary
Allows you to describe persons, their activities & their relations
Unambigiouslyhttp://xmlns.com/foaf/0.1
FOAF URI references the FOAF Spec
Foaf: is the namespace prefix for foaf CURIE's
RDF 1-on-1
You can create triples with URI's
Statements about resources
foaf:name Matthias Vandermaesen
foaf:name [email protected]
foaf:birthday 11.08.1981
RDF 1-on-1
Describe relations between objects
sensei:mebuytaert:dries
RDF 1-on-1
Triples create graphs
Publishing semantic content
Repositories with RDF modelled dataAlso called 'triple stores'
http://en.wikipedia.org/wiki/Triplestore
Embedded in your XHTMLUsing RDFa
Examples: blogposts, comments, users, newsarticles, moviereviews, calendarevents, books, hardwareparts, plants, zoo-animals,...
Publishing Semantic Content
Drupal 7 makes it really easyRDFa in Core
Mapping of entities vs. RDF namespaces
Automagically embed RFDa in your content
http://semantic-drupal.com/
Linked data
Semantic data is distributedNot contained within a single datastore
URI's interlink data
Through shared vocabularies
The web becomes a federated graphThe Giant Global Graph TBL
Linked Open Data
Linked data which is open for anyone to use
http://linkeddata.org/
Riding the Semantic Web
Riding the semantic web
SPARQLSPARQL Protocol and RDF Query Language
SQL like language
Allows you to travel through RDF graphs and retrieve/filter information
W3C Draft recommendation
SPARQL
A SPARQL QueryTriple pattern matching
Travel through a graph and fetch federated data
You can query A set of RDFa marked documents
A triple storeThrough a SPARQL endpoint
Example: DBPedia
http://dbpedia.org
Wikipedia in a triple store
Allows advanced queryingBeyond full text search based on keywords
Datamining
Through a SPARQL endpointhttp://dbpedia.org/snorql/
Example query (don't be scared!)
PREFIX owl: PREFIX xsd: PREFIX rdfs: ......
SELECT DISTINCT ?name, ?homepage WHERE { ?game rdf:type . ?game foaf:name ?name . ?game foaf:homepage ?homepage}
Research project: Archipel
Archipel
IWT funded Research project
Common platform for heritage institutesEnhance accessibility to digitized objects
Pictures, movies, audio, documents,...
Shared repository interlinks distributed data
Using SemWeb technology
Drupal
http://www.archipel-project.be
Archipel
SPARQL Views module
SPARQL Queries in Drupal
Leverages the Views module
Allows us to use Drupal API's topside...Theming layer, blocks,...
... while using RDF API's on the bottomThe RDFx library
Experimental!
http://drupal.org/project/SPARQL_Views
Toneelstof
A subproject of VTi
History of Performing Arts in the Low Countries'60, '70, '80, '90
Through interviews with actors, writers, directors,...
How?Data comes from the VTi
Stored in the Shared repository (Linked Open Data)
Retrieved and rendered with SPARQL Views
Toneelstof
Demonstration
The SemWeb is already here!
Facebook: Open Graph protocolEveryone can publish/parse OG formatted content
Like button
Already in Drupal 7
IMDB (Dublin Core)
Google Rich Snippets
Chicken or egg paradox
So, why isn't everyone on the SemWeb?Most tools are still experimental
Data makes the SemWeb interesting
People just don't know about it
Chicken or eggBusinesses are not inclined to get on the SemWeb
Without business models, the SemWeb will not take off
Why should you join?
New ways of combining data
Spawn new business models
New ways to foster coperation between partners
Faster/Easier developmentWhen you face distributed data access
Public sector: open up your data!!http://data.gov.uk
http://www.openbelgium.be
...
Thank you!
http://drupal.org/project/SPARQL_Views
http://semantic-drupal.com/
http://lin-clark.com/
http://openspring.net/
http://www.krimson.be (Riding the SemWeb)
Flickr CC: vegaseddie // puliarfanita // mrlins
Click to edit the title text format
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline LevelNinth Outline Level