טכנולוגיות אינטרנט מתפתחות הווב הסמנטי ויישומיו -...
DESCRIPTION
TRANSCRIPT
www.w3c.org.il 1
: טכנולוגיות אינטרנט מתפתחות
הווב הסמנטי ויישומיו
אייל סלע
איגוד האינטרנט , מנהל פרויקטים
הישראלי W3C-הישראלי ומשרד ה
23/6/2010
www.w3c.org.il
תוכן עניינים
W3C-איגוד האינטרנט הישראלי ו - מבוא•
Semantic Web-ה אודות•
דוגמאות•
3
www.w3c.org.il 4
איגוד האינטרנט הישראלי: אודות
: שלוחת האיגוד הבינלאומי•
עמותה ללא מטרת רווח •
פועל לקידום האינטרנט והטמעתו בישראל
חברתית , חינוכית, מחקרית, כתשתית טכנולוגית
.ועסקית
www.w3c.org.il 5
W3C
ארגון בינלאומי •
ארגונים 350-כ•
. פורום ניטראלי ליצירת תקני רשת באינטרנט•
:משימה•
להוביל את הרשת למיצוי הפוטנציאל על ידי פיתוח
פרוטוקולים וקווים מנחים שיאפשרו את צמיחתה .לטווח ארוך
www.w3c.org.il 6
cgro3j.mp/w
23 Activities
71 groups
www.w3c.org.il 7
cpro3bit.ly/w
Recommendation
track
•Review
•implementation
•interoperability.
www.w3c.org.il
W3C-ווב סמנטי ב
8
www.w3.org/standards/semanticweb
www.w3c.org.il
Semantic Web
9
Web of Data
www.w3c.org.il
דף אינטרנט רגיל בנוי באופן שבני
אדם יכולים להבין את תוכנו
10
4cyd3j.mp/w
www.w3c.org.il 11
www.w3c.org.il
.אבל המחשב יודע רק להציג את המידע
.הוא אינו מבין איזה תוכן קיים בו
12
www.w3c.org.il 13
4cyd3j.mp/w
www.w3c.org.il
מטרת הווב הסמנטי היא לגשר את הפער
14
www.w3c.org.il15
machine interpretability of Web
content
applications can
process the content of information
instead of just
presenting it to humans
cowl3j.mp/w
Semantic web is about…
www.w3c.org.il
הוספת , כלומר)ברמת הקוד , תאור מידע
כך שמכונות , (סמנטיקה, משמעות
.יכולות להבין את תוכנו
www.w3c.org.il
Machines can read information about me
17
www.w3c.org.il 18
j.mp/b7cIO9
www.w3c.org.il19
או את זכויות היוצרים באתר שלי
www.w3c.org.il 20
www.w3c.org.il 21
www.w3c.org.il
.לייצוג נתונים( סטנדרט)זהו בעצם מנגנון מוסכם
www.w3c.org.il23
שרק בני אדם )הרשת הופכת מאוסף של מסמכים
(מבינים
"(.להבין"שמכונות יכולות )למאגר נתונים
www.w3c.org.il
civan3j.mp/w
RDF-נתונים בדפי אינטרנטמאגרי נתונים XML
נתונים
אבסטרקציה
אפליקציות
www.w3c.org.il
....למשל
25
www.w3c.org.il
פריטים מוויקיפדיה על מפהDBpedia Mobile
renders a map containing information about nearby locations from the DBpedia dataset.
26
beckr.org/DBpediaMobile
www.w3c.org.il 27
3cbar3j.mp/w
www.w3c.org.il
RDFאיך מבטאים את המידע בעזרת there is a Person identified by http://www.w3.org/People/EM/contact#me, whose name is Eric Miller, whose email address is [email protected], and whose title is Dr.
28
crdf3j.mp/w
www.w3c.org.il
.רגע
מתכוונים לשם של אדם או GivenNameכשאומרים
?אולי משתנה בתוכנה
29
www.w3c.org.il
...לא יודע
30
www.w3c.org.il
URIsלכן משתמשים ב
31
www.w3c.org.il 32
http://xmlns.com/foaf/0.1/givenname The given name of
some person.
tGcBh9j.mp/
www.w3c.org.il
These are known as Vocabularies
set of URIs defined for some specific purpose (E.g. identify employees)
33
www.w3c.org.il
Another person/program familiar with the vocabulary will know what is meant by this relationship.
34
www.w3c.org.il 35
Vocabularies you should know
www.w3c.org.il
FOAF - describing people, the links between them and the things they create and do
36
Group
Image
LabelProperty
OnlineAccount
Organization
Project
Account
Age
Birthday
Depiction
familyName
Knows
…
www.w3c.org.il
you (will) have a personal Website, with your photos, your family tree, your business details, and aggregatorsthen (will) turn this into added value by finding the links across the whole web.
(illustration by David Simonds) [2008Economist ]
cweb3j.mp/w
37
Decentralization: The Future of Online Social Networking
www.w3c.org.il38
civn3j.mp/w
cfoafe3j.mp/w
www.w3c.org.il
Good relations - product, price, and company
39
ActualProductOrServiceInstance
BusinessEntity
BusinessEntityType
BusinessFunction
DayOfWeek
DeliveryChargeSpecification
-DeliveryMethod
DeliveryModeParcelService
LocationOfSalesOrServiceProvisioning
N-Ary-Relations
Offering
…
6 cbar3j.mp/w
www.w3c.org.il
Dublin Core - 15 properties to describe esources (books, video, sound, image, web pages)
40
Title
Creator
Subject
Description
Publisher
Contributor
Date
Type
Format
Identifier
Source
Language
Relation
Coverage
Rights
www.w3c.org.il
• Facebook…
• Google….
41
www.w3c.org.il
42
RDFaיש
RDFaאין
www.w3c.org.il
!וגם אתם יכולים להשתמש במידע הזה
SELECT ?z ?i ?o
FROM NAMED <http://www.w3.org/2007/08/pyRdfa/extract?uri=http://www.rottentomatoes.com/m/karate_kid_2010/>
FROM NAMED <http://www.w3.org/2007/08/pyRdfa/extract?uri=http://www.rottentomatoes.com/m/a_team/>
FROM NAMED <http://www.w3.org/2007/08/pyRdfa/extract?uri=http://www.rottentomatoes.com/m/prince_of_persia_sands_of_time/>
FROM NAMED <http://www.w3.org/2007/08/pyRdfa/extract?uri=http://www.rottentomatoes.com/m/sex_and_the_city_2/>
FROM NAMED <http://www.w3.org/2007/08/pyRdfa/extract?uri=http://www.rottentomatoes.com/m/1208173-splice/>
WHERE { GRAPH ?dummy {
?x <http://rdf.data-vocabulary.org/#name> ?z .
?x <http://rdf.data-vocabulary.org/#summary> ?i .
?w <http://opengraphprotocol.org/schema/image> ?o .
}
}
43
querying RDFa from rotten tomatos :
http://dbpedia.org/sparql
www.w3c.org.il
?Linked Dataמי מפרסם
• New York Times
• Newsweek
• dbPedia
• Data.gov.uk
• LOD
44
www.w3c.org.il
בוגר אוניברסיטאות שכתבו עליהם
יורק טיימס-בניוWho Went Where
1. colleges and universities from DBpedia.
2. queries DBpedia for the NYT identifiers of all the alumni
3. identifiers are then used to query the New York Times Article Search API
45
j.mp/w3cbar4
www.w3c.org.il
Let us put it together:לסיכום
What we need for a Web of Data:
use URI-s to publish data, not only full
documents
allow the data to link to other data
characterize/classify the data and the links (the
“terms”) to convey some extra meaning
and use standards for all these!
www.w3c.org.il
?מה חדש–תקנים
48
www.w3c.org.il49
The semantic technology stack
www.w3c.org.il
HTML5 (!)
– HTML+RDFa
– HTML Microdata
51
www.w3c.org.il
RDFa API draft by RDFa working group
document.getElementsByType(“http://xmlns.com/foaf/0.1/Person")
52
j.mp/w3car2
The specification details how
a developer may extract,
store and query structured
data contained within one or
more RDFa-enabled
documents.
New! New!
www.w3c.org.il
RDB2RDF
Use Cases and Requirements for Mapping Relational Databases to RDF
example
Wordpress….
53
www.w3c.org.il
example - SPRQL
54
Select the names and addresses of schools in London:
prefix sch-ont: <http://education.data.gov.uk/def/school/>
SELECT ?name ?address1 ?address2 ?postcode ?town WHERE {
?school a sch-ont:School;
sch-ont:establishmentName ?name;
sch-ont:districtAdministrative
<http://statistics.data.gov.uk/id/local-authority-district/00AA> .
}
ORDER BY ?name
~result
5cbar3j.mp/w
www.w3c.org.il
Mailing lists
Semantic Web Activity
mp/w3cbar1
55
www.w3c.org.il 56
j.mp/w3cben1
www.w3c.org.il
RelFinder
57
2cda3j.mp/w
www.w3c.org.il
ThisWeKnow
58
3cda3j.mp/w
www.w3c.org.il
Faceted browsing
59
wiki.dbpedia.org/FacetedSearch
www.w3c.org.il
?מה דעתכם
... קבוצת עניין
...פרוייקט
60