web 3.0 - part ii
DESCRIPTION
TRANSCRIPT
![Page 1: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/1.jpg)
IIWeb 3.0explained with a stamp
(English version)
Part I: the basics
Part II: techniques
![Page 2: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/2.jpg)
A presentation from: Freek Bijl(Dutch) blog: Bijlbrand.nl
![Page 3: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/3.jpg)
Web 3.0 - the semantic web - is about the meaning of data.
![Page 4: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/4.jpg)
This is a stampThis is a stamp
This stamp is from the United KingdomThis stamp is from the United Kingdom
This stamp is designed by John Bryan DunmoreThis stamp is designed by John Bryan Dunmore
In 1980 you could buy this stamp for 1 centIn 1980 you could buy this stamp for 1 cent
Now it’s worth 3 eurosNow it’s worth 3 euros
This stamp is used between 1978 - 1981This stamp is used between 1978 - 1981
The picture on the stamp is a PO BoxThe picture on the stamp is a PO Box
![Page 5: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/5.jpg)
Why do we want to add meaning to
data ?
![Page 6: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/6.jpg)
When a computer understands what data
means, it can do intelligent search,
reasoning and combining.
![Page 7: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/7.jpg)
This makes our live more easy.
![Page 8: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/8.jpg)
The next technologies are used to make a
more semantic web…
![Page 9: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/9.jpg)
RDF XML URI SPARQL XDI XRI SWRL XFN OWL
API OAUTH
![Page 10: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/10.jpg)
!Complicated
![Page 11: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/11.jpg)
An explanation with a stamp collection.
![Page 12: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/12.jpg)
Meaning is about understanding. To
understand we need a language. A language
starts with words.
![Page 13: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/13.jpg)
Things mean something in words. Online, we describe things with
XML.
![Page 14: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/14.jpg)
This is my stamp collection
The first stamp is called “Red dragon” and is from China. It was made in the year: 1984.
The second stamp is called “PO Box” and is from England. It was made in the year: 1992.
< .. etc >
![Page 15: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/15.jpg)
=
![Page 16: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/16.jpg)
<?xml version="1.0" encoding="ISO-8859-1"?>
<collection name=”My stamp collection">
<stamp>
<title>Red dragon</title>
<country>China</country>
<year>1984</year>
</stamp>
<stamp>
<title>PO Box</title>
<country>England</country>
<year>1992</year>
</stamp>
</collection>
![Page 17: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/17.jpg)
We can’t understand words alone. We also need
grammar. Online grammar is RDF (Resource
Description Framework).
![Page 18: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/18.jpg)
This stamp is from England.
![Page 19: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/19.jpg)
This stamp is from England.subject
predicate
object
![Page 20: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/20.jpg)
With RDF Scheme we can define
concepts and make simple relations between them.
![Page 21: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/21.jpg)
This stamp is from England,
hence from Europe.
![Page 22: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/22.jpg)
But, RDF scheme is limited. A language needs more
expression and logic to make good reasoning possible.
That’s why OWL (The Web Ontology Language) was
invented.
![Page 23: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/23.jpg)
Finally, to reason you need rules.
![Page 24: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/24.jpg)
I got this stamp from my uncle.
![Page 25: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/25.jpg)
The rule for calling someone my uncle is that one of my parents has a brother.
mother or fatherIson of brother
![Page 26: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/26.jpg)
Rules are formulated in SWRL (Semantic
Web Rule Language).
![Page 27: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/27.jpg)
<ruleml:imp>
<ruleml:_rlab ruleml:href="#example1"/>
<ruleml:_body>
<swrlx:individualPropertyAtom swrlx:property="hasParent">
<ruleml:var>x1</ruleml:var>
<ruleml:var>x2</ruleml:var>
</swrlx:individualPropertyAtom>
<swrlx:individualPropertyAtom swrlx:property="hasBrother">
<ruleml:var>x2</ruleml:var>
<ruleml:var>x3</ruleml:var>
</swrlx:individualPropertyAtom>
</ruleml:_body>
<ruleml:_head>
<swrlx:individualPropertyAtom swrlx:property="hasUncle">
<ruleml:var>x1</ruleml:var>
<ruleml:var>x3</ruleml:var>
</swrlx:individualPropertyAtom>
</ruleml:_head>
</ruleml:imp>
![Page 28: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/28.jpg)
So,
![Page 29: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/29.jpg)
Words in XMLGrammar in RDF (scheme) and OWLRules in SWRL
![Page 30: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/30.jpg)
There are a lot of things, that can be
described using standard formats.
![Page 31: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/31.jpg)
For example: contact information.
![Page 32: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/32.jpg)
These things are described with microformats.
hCard > contacts
hCalendar > events
hReview > reviews
hResume > resumes
XFN > social networks (relation= a friend or colleague)
![Page 33: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/33.jpg)
Suppose, I want to search for a specific stamp.
![Page 34: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/34.jpg)
“I want all the red stamps, designed in Europe, but
used in the U.S.A., between 1980 and 1990”
![Page 35: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/35.jpg)
We can use SPARQL (Protocol
and RDF Query Language).
![Page 36: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/36.jpg)
Because the web is decentralized and data is in many places, not only language is important.
Exchange of data between different machines is key.
![Page 37: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/37.jpg)
A database with stampsA database with countriesA database with colorsA database with stamp traders
![Page 38: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/38.jpg)
To make a connection a machine needs a source. For this, we use resource identifiers. Best known
resource identifier is the URI (which consists of a name (urn) and a
location (url)).
![Page 39: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/39.jpg)
![Page 40: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/40.jpg)
Because URI’s have international limitations and the need for data-exchange
between machines is rapidly growing there is a successor:
XRI (Extensible Resource Identifier)
![Page 41: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/41.jpg)
There is a standard for sharing, linking and synchronizing data.
This standard is called XDI (XRI Data Interchange).
![Page 42: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/42.jpg)
With all this I am capable of using the
power of all different data resources on the
web.
![Page 43: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/43.jpg)
But…
![Page 44: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/44.jpg)
Data is protected. We need consent and a key to gain acces.
![Page 45: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/45.jpg)
The key to certain data is described in an API (an
application programming interface).
![Page 46: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/46.jpg)
An open standard for accessing (authentication)
the API is OAuth.
![Page 47: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/47.jpg)
So,
![Page 48: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/48.jpg)
RDF XML URI SPARQL XDI XRI SWRL XFN OWL
API OAUTH
![Page 49: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/49.jpg)
… are now words with a meaning for you !
![Page 50: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/50.jpg)
.end
My (Dutch) blog: http://www.bijlbrand.nl
![Page 51: Web 3.0 - part II](https://reader036.vdocuments.net/reader036/viewer/2022062511/54b7a1504a795998738b46a6/html5/thumbnails/51.jpg)
Most important references:
• http://en.wikipedia.org/
• Presentation JeenBroekstra (Wageningen UR)