3. תוכן עניינים
• מבוא - איגוד האינטרנט הישראלי ו-W3C
• אודות ה-Semantic Web
• דוגמאות
www.w3c.org.il 3
4. אודות: איגוד האינטרנט הישראלי
• שלוחת האיגוד הבינלאומי:
• עמותה ללא מטרת רווח
פועל לקידום האינטרנט והטמעתו בישראל
כתשתית טכנולוגית, מחקרית, חינוכית, חברתית
ועסקית.
www.w3c.org.il 4
5. W3C
ארגון בינלאומי •
כ-053 ארגונים •
פורום ניטראלי ליצירת תקני רשת באינטרנט. •
משימה: •
להוביל את הרשת למיצוי הפוטנציאל על ידי פיתוח
פרוטוקולים וקווים מנחים שיאפשרו את צמיחתה
לטווח ארוך.
www.w3c.org.il 5
15. Semantic web is about…
machine interpretability of Web
content
applications can
process the content of information
instead of just
presenting it to humans
j.mp/w3cowl
15 www.w3c.org.il
16. תאור מידע, ברמת הקוד (כלומר, הוספת
משמעות, סמנטיקה), כך שמכונות
יכולות להבין את תוכנו.
www.w3c.org.il
26. פריטים מוויקיפדיה על מפה
DBpedia Mobile
renders a map
containing
information about
nearby locations
from the DBpedia
dataset.
beckr.org/DBpediaMobile
www.w3c.org.il 26
28. RDF איך מבטאים את המידע בעזרת
there is a Person identified by http://www.w3.org/People/EM/contact#me, whose
name is Eric Miller, whose email address is em@w3.org, and whose title is Dr.
j.mp/w3crdf
www.w3c.org.il 28
36. FOAF - describing people, the links between
them and the things they create and do
Group
Image
LabelProperty
OnlineAccount
Organization
Project
Account
Age
Birthday
Depiction
familyName
Knows
…
www.w3c.org.il 36
37. Decentralization: The Future of Online Social Networking
you (will) have a
personal Website, with
your photos, your family
tree, your business
details, and aggregators
then (will) turn this into
added value by finding
the links across the
whole web.
]Economist 2008[ )illustration by David Simonds(
j.mp/w3cweb
37 www.w3c.org.il
39. Good relations - product, price, and company
ActualProductOrServiceInstance
BusinessEntity
BusinessEntityType
BusinessFunction
DayOfWeek
DeliveryChargeSpecification
-DeliveryMethod
DeliveryModeParcelService
LocationOfSalesOrServiceProvisioning
N-Ary-Relations
Offering
…
j.mp/w3cbar6
www.w3c.org.il 39
40. Dublin Core - 15 properties to describe esources
(books, video, sound, image, web pages)
Title
Creator
Subject
Description
Publisher
Contributor
Date
Type
Format
Identifier
Source
Language
Relation
Coverage
Rights
www.w3c.org.il 40
43. !וגם אתם יכולים להשתמש במידע הזה
querying RDFa from rotten tomatos :
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 .
}
}
http://dbpedia.org/sparql
www.w3c.org.il 43
44. ?Linked Data מי מפרסם
• New York Times
• Newsweek
• dbPedia
• Data.gov.uk
• LOD
www.w3c.org.il 44
45. בוגר אוניברסיטאות שכתבו עליהם
בניו-יורק טיימס
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
j.mp/w3cbar4
www.w3c.org.il 45
47. 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
50. HTML5 (!)
– HTML+RDFa
– HTML Microdata
www.w3c.org.il 51
51. RDFa API draft by RDFa working group
New! New!
document.getElementsByType(“http://xmlns.com/foaf/0.1/Person")
The specification details how
a developer may extract,
store and query structured
data contained within one or
more RDFa-enabled
documents.
j.mp/w3car2
www.w3c.org.il 52
52. RDB2RDF
Use Cases and Requirements for Mapping Relational
Databases to RDF
example
Wordpress….
www.w3c.org.il 53
53. SPRQL - example
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
j.mp/w3cbar5
www.w3c.org.il 54