Drupal and the Semantic Web - The Neologism project

cluckvultureInternet and Web Development

Oct 20, 2013 (3 years and 9 months ago)

108 views

Chapter
§

Copyright 2008 Digital Enterprise Research Institute. All rights reserved.
www.deri.org
Digital Enterprise Research Institute
www.deri.ie
stephane.corlosquet@deri.org
DERI NUI Galway
Drupal and the Semantic Web
-
The Neologism project
Stéphane “scor” Corlosquet
1
DrupalCon Szeged 2008
Digital Enterprise Research Institute
www.deri.ie
Who am I - Semantic Web

Master student at DERI

Semantic Web research institute

120 researchers

27 nationalities

Industrial partners
2
http://www.deri.ie/
Digital Enterprise Research Institute
www.deri.ie
Who am I - Drupal

2.5 years

Core patches, co-maintain tasklist, SIOC

Security team

Documentation team
3
Digital Enterprise Research Institute
www.deri.ie
Presentation outline

The current web

The vision of the Semantic Web

GGG

One machine

Semantic Web technologies

RDF data

SPARQL query

Initiatives and projects

Data portability

Linking Open Data

Neologism

Demo
4
Digital Enterprise Research Institute
www.deri.ie
The current web
5
Digital Enterprise Research Institute
www.deri.ie
Many web applications
6
Digital Enterprise Research Institute
www.deri.ie
Many web applications
6
Digital Enterprise Research Institute
www.deri.ie
Many information silos
7
* Source: Pidgin Technologies,
www.pidgintech.com
Digital Enterprise Research Institute
www.deri.ie
Current Web

web pages

20 billion public pages

900 billion deep web pages

62 links per page

=
55 trillion links in the full web
8
Digital Enterprise Research Institute
www.deri.ie
Current Web

web pages

20 billion public pages

900 billion deep web pages

62 links per page

=
55 trillion links in the full web
8
http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php
Digital Enterprise Research Institute
www.deri.ie
Current Web

web storage

246 exabytes of data
(246 billion GB)

traffic

8 terabytes / s

2 million emails / s
9
Digital Enterprise Research Institute
www.deri.ie
Current Web

web storage

246 exabytes of data
(246 billion GB)

traffic

8 terabytes / s

2 million emails / s
9
http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php
Digital Enterprise Research Institute
www.deri.ie
Current Web

mostly text and links
10
Digital Enterprise Research Institute
www.deri.ie
The vision of the Semantic Web
11
Digital Enterprise Research Institute
www.deri.ie
Giant Global Graph (2007)

Transition


WWW = content+links

GGG = WWW+relationships+descriptions

Universal medium for data, information
and knowledge exchange
12
Tim Berners-Lee
Digital Enterprise Research Institute
www.deri.ie
Giant Global Graph (2007)

Transition


WWW = content+links

GGG = WWW+relationships+descriptions

Universal medium for data, information
and knowledge exchange
12
http://dig.csail.mit.edu/breadcrumbs/node/215
Tim Berners-Lee
Digital Enterprise Research Institute
www.deri.ie
The One machine
13
http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php
Digital Enterprise Research Institute
www.deri.ie
The One machine
13
http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php

The One machine (Kevin Kelly, 2007)

1.2 billion personal computers

27 million data servers
Digital Enterprise Research Institute
www.deri.ie
The One machine
13
http://www.kk.org/thetechnium/archives/2007/11/dimensions_of_t.php

The One machine (Kevin Kelly, 2007)

1.2 billion personal computers

27 million data servers

2.7 billion cell phones

80 million wireless PDAs

600 billion RFID tags in use
Digital Enterprise Research Institute
www.deri.ie
The Key
14
http://www.flickr.com/photos/11437726@N08/2781739886/
Digital Enterprise Research Institute
www.deri.ie
The Key
14
http://www.flickr.com/photos/11437726@N08/2781739886/
Digital Enterprise Research Institute
www.deri.ie
The Key
14
http://www.flickr.com/photos/11437726@N08/2781739886/
Agree on standards
Digital Enterprise Research Institute
www.deri.ie
The Key
14
http://www.flickr.com/photos/11437726@N08/2781739886/
Agree on standards
Open your data
Digital Enterprise Research Institute
www.deri.ie
Semantic Web technologies
15
Digital Enterprise Research Institute
www.deri.ie
Resources on the Semantic Web
16

Internet of Things

URI: Uniform Resource Identifier


http://dbpedia.org/resource/Apple


http://dbpedia.org/resource/Apple_Inc


http://dbpedia.org/resource/Apple_Corps


http://dbpedia.org/resource/Apple_River


http://dbpedia.org/resource/

URIs are dereferenceable
Digital Enterprise Research Institute
www.deri.ie
Links
page1 -> user1
page1 -> book1
page1 -> page24
page1 -> Cats
17

Let's give a meaning to the hyperlinks
Digital Enterprise Research Institute
www.deri.ie
Links
page1 -> user1
page1 -> book1
page1 -> page24
page1 -> Cats
17

Let's give a meaning to the hyperlinks
page1 -hasAuthor-> user1
page1 -isPartOf--> book1
page1 -refersTo--> page24
page1 -isAbout---> Cats

Digital Enterprise Research Institute
www.deri.ie
Links
page1 -> user1
page1 -> book1
page1 -> page24
page1 -> Cats
17

Let's give a meaning to the hyperlinks
page1 -hasAuthor-> user1
page1 -isPartOf--> book1
page1 -refersTo--> page24
page1 -isAbout---> Cats

triple: subject -property-> object
Digital Enterprise Research Institute
www.deri.ie
Graph Model - RDF
18
Digital Enterprise Research Institute
www.deri.ie
RDF - Vocabularies

Semantic links are categorized in vocabularies

Dublin Core - DC

title, creator, description, date

Friend of a Friend - FOAF

hasName, knows, homepage

Description of a Project - DOAP

Semantically Interlinked Online Communities - SIOC

Simple Knowledge Organization System - SKOS
19
Digital Enterprise Research Institute
www.deri.ie
RDF - Describe your data

Various RDF formats

RDF is not XML! XML is a way to write RDF data, ie. it's a
language/syntax

RDF/XML

N-triple

N3

Turtle

RDFa
20
PREFIX abc: <
http://example.com/exampleOntology#
>
SELECT ?capital ?country
WHERE {
?x abc:cityname ?capital ;
abc:isCapitalOf ?y .
?y abc:countryname ?country ;
abc:isInContinent abc:Africa .
}
Digital Enterprise Research Institute
www.deri.ie
SPARQL - query the GGG data

standardized in January 2008

Example, return the capital of all the african countries:
21
Digital Enterprise Research Institute
www.deri.ie
The Semantic Web for dummies
exisiting web
+
XML customised tags
, like:
<dog>Nena</dog>
+
RDF relations, in triples
, like:
(Nena) (is_dog_of) (Kimiko/Stefan)
+
Vocabularies / hierarchies of concepts
, like:
mammal -> canine -> Cotton de Tulear -> Nena
=
Semantic Web
!
22
* Sources: Text by Stefan Marti; Picture by Duncan Hull
Digital Enterprise Research Institute
www.deri.ie
Semantic Web initiatives
and projects
23
Digital Enterprise Research Institute
www.deri.ie
Dataportability

Merge my social networks between various sites

Move information from one service to another
24
Digital Enterprise Research Institute
www.deri.ie
Local communities
25
* Source: Pidgin Technologies,
www.pidgintech.com
Digital Enterprise Research Institute
www.deri.ie
Many isolated and disparate communities
26
* Source: Pidgin Technologies,
www.pidgintech.com
Digital Enterprise Research Institute
www.deri.ie
Technologies exist...
27
... let’s not create new ones
we simply need a complete reference design
to put the pieces together
Digital Enterprise Research Institute
www.deri.ie
(De-)centralized profile
28
http://www.johnbreslin.com/blog/
Digital Enterprise Research Institute
www.deri.ie
Decentralized profiles
29
http://www.johnbreslin.com/blog/
Digital Enterprise Research Institute
www.deri.ie
Linking Open Data
30
http://richard.cyganiak.de/2007/10/lod/
Digital Enterprise Research Institute
www.deri.ie
Sindice - The Semantic Web index
31
http://sindice.com/
Digital Enterprise Research Institute
www.deri.ie
Neologism Demo
32
Digital Enterprise Research Institute
www.deri.ie
Vocabulary example

SIOC


S
emantically-
I
nterlinked
O
nline
C
ommunities
33
Digital Enterprise Research Institute
www.deri.ie
RDF CCK Demo
34
Digital Enterprise Research Institute
www.deri.ie
Vocabulary example

SIOC

Semantically-Interlinked Online Communities

fixme
35
RDF in Drupal
roadmap?
Digital Enterprise Research Institute
www.deri.ie
Vocabulary example

SIOC

Semantically-Interlinked Online Communities

fixme
36
RDF in Drupal - Schema
http://groups.drupal.org/node/9311
Digital Enterprise Research Institute
www.deri.ie
Vocabulary example

SIOC

Semantically-Interlinked Online Communities

fixme
37
RDF in Drupal - architecture
Digital Enterprise Research Institute
www.deri.ie
Vocabulary example

SIOC

Semantically-Interlinked Online Communities

fixme
38
RDF in Drupal

Neologism - Vocabulary editing and publishing

RDF CCK

RDF API

Let’s do it right in Drupal 7:

Basic RDF terms into core

RDF Field API

RDF enabled search

Openings:

Import/Export of Content structure

Import/Export of Data
Digital Enterprise Research Institute
www.deri.ie
Vocabulary example

SIOC

Semantically-Interlinked Online Communities

fixme
39
Thanks!
Questions?