74
www.w3c.org.il 1

Semntic Web Intro Eyal Sela

Embed Size (px)

DESCRIPTION

מצגת ממפגש מפתחים #1 - פיתוח אתרים ואפליקציות מבוססי טכנולוגיות סמנטיות (3 בפברואר, 2010) http://www.w3c.org.il/article/semanticweb

Citation preview

Page 1: Semntic Web Intro  Eyal Sela

www.w3c.org.il1

Page 2: Semntic Web Intro  Eyal Sela

www.w3c.org.il

W3CDF של ראשון מפגש1.

cdf3#w :בטוויטר תג2.

c3mp/noww.j ??עכשיו קורה מה3.

1cdf3j.mp/w -קישור זמני למצגות 4.

...המפגש הבא5.

2

Page 3: Semntic Web Intro  Eyal Sela

www.w3c.org.il

מובייל -המפגש הבא

3

אילן-מתארח באוניברסיטת בר•

במרץ 24•

•16:30-20:00

Page 4: Semntic Web Intro  Eyal Sela

www.w3c.org.il

W3C השנה

סידרת מפגשים למפתחים•

קבוצות עניין•

?פיתוח אפליקציה•

סדנאות תגובה למומחים•

(שלכם, שלנו)הרצאות אורח •

קהילות/תמיכה בפעילות קבוצות•

שילוב מומחים בקבוצות עבודה•

...עוד•

4

()

אבל אין

הודעות

Page 5: Semntic Web Intro  Eyal Sela

www.w3c.org.il

?רוצים סקירה

5

• CSS Styling Attributes Level 1

• Selectors API Level 2

• XQuery and XPath Full Text 1.0

• SPARQL 1.1 - Property Paths

• UK Government Launches Open Data Site

• Programmable HTTP Caching and Serving Draft Published

• New WAI Resource: Contacting Organizations about

Inaccessible Websites

Page 6: Semntic Web Intro  Eyal Sela

www.w3c.org.il

היום

.W3C-איגוד האינטרנט ו, אייל סלע17:00

The semantic web technology stack -מבוא לווב הסמנטי

Tikal Knowledge.-ראש צוות פייתון ב ,אודי באומן17:45

שימוש בתשתיות קיימות לפיתוח אפליקציות סמנטיות

OWL-ו RDFמבוססות

W3C invited expert. Former CEO UB Access ,ליסה סימן18:30

RDF in use in ARIA - How to use RDF ontologies for better Web interoperability adaptability and accessibility

6

Page 7: Semntic Web Intro  Eyal Sela

www.w3c.org.il 7

Page 8: Semntic Web Intro  Eyal Sela

www.w3c.org.il 8

Semantic web intro

אייל סלע

איגוד האינטרנט , מנהל פרויקטיםהישראלי W3C-הישראלי ומשרד ה

Page 9: Semntic Web Intro  Eyal Sela

www.w3c.org.il

cdoc3j.mp/w

9

Page 10: Semntic Web Intro  Eyal Sela

www.w3c.org.il

תוכן עניינים

ואיגוד האינטרנט הישראלי W3C - מבוא•

Semantic Web-ה אודות•

(קונספטואליות) דוגמאותכמה •

RDF ,RDFS ,RDFa ,OWL–הטכנולוגיות•

דוגמאותעוד כמה •

10

Page 11: Semntic Web Intro  Eyal Sela

www.w3c.org.il 11

איגוד האינטרנט הישראלי: אודות

: שלוחת האיגוד הבינלאומי•

עמותה ללא מטרת רווח •

פועל לקידום האינטרנט והטמעתו בישראל

חברתית , חינוכית, מחקרית, כתשתית טכנולוגית

.ועסקית

Page 12: Semntic Web Intro  Eyal Sela

www.w3c.org.il 12

טכנלוגיה

תשתיות•

IIX-שמות מתחם ו–

קידום•

–W3C - המשרד הישראלי

–OPN - מערכות פתוחות וקוד פתוח

–STS - מאגר נתוני האינטרנט בישראל

נושאים נוספים•

Page 13: Semntic Web Intro  Eyal Sela

www.w3c.org.il 13

W3C

ארגון בינלאומי •

ארגונים 350-כ•

. פורום ניטראלי ליצירת תקני רשת באינטרנט•

:משימה•

להוביל את הרשת למיצוי הפוטנציאל על ידי פיתוח

פרוטוקולים וקווים מנחים שיאפשרו את צמיחתה .לטווח ארוך

Page 14: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Semantic Web-אודות ה

14

Page 15: Semntic Web Intro  Eyal Sela

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

Is about…

Page 16: Semntic Web Intro  Eyal Sela

www.w3c.org.il

הוספת , כלומר)ברמת הקוד , תאור מידע

כך שמכונות , (סמנטיקה, משמעות

.יכולות להבין את תוכנו

Page 17: Semntic Web Intro  Eyal Sela

www.w3c.org.il

.לייצוג נתונים( סטנדרט)זה בעצם מנגנון מוסכם

Page 18: Semntic Web Intro  Eyal Sela

www.w3c.org.il18

שרק בני )הרשת הופכת מאוסף של מסמכים , כך

שמכונות )למאגר נתונים ( אדם מבינים את תוכנם

"(.להבין"יכולות

Page 19: Semntic Web Intro  Eyal Sela

www.w3c.org.il

דוגמאותכמה

(קונספטואליות)

19

Page 20: Semntic Web Intro  Eyal Sela

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

20

Decentralization: The Future of Online Social Networking

Page 22: Semntic Web Intro  Eyal Sela

www.w3c.org.il 22

הטכנולוגיות

Page 23: Semntic Web Intro  Eyal Sela

www.w3c.org.il24

The semantic technology stack

Page 24: Semntic Web Intro  Eyal Sela

www.w3c.org.il

XML

&

URI25

syntax for structured documents

Uniform resource Identifier

Page 25: Semntic Web Intro  Eyal Sela

www.w3c.org.il

RDF26

Page 26: Semntic Web Intro  Eyal Sela

www.w3c.org.il

(RDF primer- crdf3j.mp/wמבוסס בעיקר על )

27

Page 27: Semntic Web Intro  Eyal Sela

www.w3c.org.il28

The building block of the Semantic WebResource Description Framework (RDF)

Page 28: Semntic Web Intro  Eyal Sela

www.w3c.org.il29

The building block of the Semantic WebResource Description Framework (RDF)

לתאר דברים שיטה

Page 29: Semntic Web Intro  Eyal Sela

www.w3c.org.il

בסיס רעיוני

language for representing information about resources

A model for data interchange on the Web.allows structured and semi-structured data to be mixed, exposed, and shared across different applications.

30

Page 30: Semntic Web Intro  Eyal Sela

www.w3c.org.il

(also) things not on the web

31

Page 31: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Therefore!

The ability to exchange information between different applications means that the

information may be made available to applications other than those for which it was

originally created.

32

Page 32: Semntic Web Intro  Eyal Sela

www.w3c.org.il

לאפליקציות -מנתונים

civan3j.mp/wRDF-נתונים בדפי אינטרנטמאגרי נתונים XML

Page 33: Semntic Web Intro  Eyal Sela

www.w3c.org.il

קצת יותר טכני

34

Page 34: Semntic Web Intro  Eyal Sela

www.w3c.org.il35

<http://www.productivewise.com/> <CreatedBy> "Eyal Sela" .

subject predicate object

1. With RDF we describe resources in terms of

properties and property values

Page 35: Semntic Web Intro  Eyal Sela

www.w3c.org.il36

http://www.productivewise.com

CreatedBy

Eyal sela

2. Which are represented as a graph of nodes and arcs

Page 36: Semntic Web Intro  Eyal Sela

www.w3c.org.il37

3. things are identified by URI

http://www.productivewise.com/#me

Page 37: Semntic Web Intro  Eyal Sela

www.w3c.org.il38

1. With RDF we describe resources in terms of

properties and property values

2. Which are represented as a graph of nodes

and arcs

3. Things are identified by URIs

Page 38: Semntic Web Intro  Eyal Sela

www.w3c.org.il

דוגמא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.

39

crdf3j.mp/w

Page 39: Semntic Web Intro  Eyal Sela

www.w3c.org.il

הכי טכני

XML-based syntax

40

Page 40: Semntic Web Intro  Eyal Sela

www.w3c.org.il 41

Page 41: Semntic Web Intro  Eyal Sela

www.w3c.org.il 42

Page 42: Semntic Web Intro  Eyal Sela

www.w3c.org.il

RDF is: nodes-and-arcs diagrams interpreted

as statements about things identified by

URIrefs.

43

Page 43: Semntic Web Intro  Eyal Sela

www.w3c.org.il

.רגע

מתכוונים לשם של אדם או GivenNameכשאומרים

?אולי משתנה בתוכנה

44

Page 44: Semntic Web Intro  Eyal Sela

www.w3c.org.il

...לא יודע

45

Page 45: Semntic Web Intro  Eyal Sela

www.w3c.org.il

URIsלכן משתמשים ב

46

Page 46: Semntic Web Intro  Eyal Sela

www.w3c.org.il 47

http://xmlns.com/foaf/0.1/givenname The given name of

some person.

tGcBh9j.mp/

Page 47: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Why use URIs as properites?

1.Distinguish properties

2. Properties treated as resources (add information about them)

48

Page 48: Semntic Web Intro  Eyal Sela

www.w3c.org.il

These are known as Vocabularies

set of URIs defined for some specific purpose (E.g. identify employees)

49

Page 49: Semntic Web Intro  Eyal Sela

www.w3c.org.il

dc:creator = "creator" attribute in the Dublin Core

the relationship between the Web page and the creator of the page is exactly the concept identified by http://purl.org/dc/elements/1.1/creator.

50

Page 50: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Another person/program familiar with the Dublin Core vocabulary will know what is meant by this relationship.

51

Page 51: Semntic Web Intro  Eyal Sela

www.w3c.org.il

...אז בעצם

52

the inside story” « Feminist Law Professors–From: “Kermit

Page 52: Semntic Web Intro  Eyal Sela

www.w3c.org.il

...אז בעצם

רק אפליקציות שיודעות לקרוא

vocabulary מסוים יבינו הצהרותRDF

.שמשתמשות בו

RDF statements using URIs from vocabularies

convey the specific meanings associated with

terms only to applications written to

process these vocabularies.

53

Page 53: Semntic Web Intro  Eyal Sela

www.w3c.org.il

An application cannot actually "understand" such statements.

any more than a database system "understands" terms like "employee" or "salary" in processing a query like

SELECT NAME FROM EMPLOYEE WHERE SALARY > 35000.

54

Page 54: Semntic Web Intro  Eyal Sela

www.w3c.org.il

It only makes it seem like it understands them.

( just as a database system and its applications can do useful work in processing employee and payroll information without understanding

"employee" and "payroll". )

55

Page 55: Semntic Web Intro  Eyal Sela

www.w3c.org.il

האם יש הבדל בין זה

56

?לזה

Page 56: Semntic Web Intro  Eyal Sela

www.w3c.org.il 57

Page 57: Semntic Web Intro  Eyal Sela

www.w3c.org.il

But RDF can’t describe vocabularies

58

– types of things (like exterms:Person)

– properties (like exterms:age and exterms:creation-date)

– types of things that can serve as the subjects or objects of statements involving those properties (like specifying that the value of

an exterms:age property should always be an xsd:integer).

Page 58: Semntic Web Intro  Eyal Sela

www.w3c.org.il

RDFS

59

Page 59: Semntic Web Intro  Eyal Sela

www.w3c.org.il

RDFS

defines classes (groups of related resources) and properties (relationships between resources) that are used to describe classes, properties and other resources.

60

crdfs3j.mp/w

Page 60: Semntic Web Intro  Eyal Sela

www.w3c.org.il 61

RDFS does NOT specify a vocabulary of descriptive properties such as "author". it specifies mechanisms to do that.

Page 61: Semntic Web Intro  Eyal Sela

www.w3c.org.il 62

Page 62: Semntic Web Intro  Eyal Sela

www.w3c.org.il 63

Page 63: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Inferred properties

(<http://…/isbn/000651409X> rdf:type #Fiction)

Page 64: Semntic Web Intro  Eyal Sela

www.w3c.org.il

RDFS Limits

Can’t say:

– “the domain of hasParent is Child when applied to Human and Calf when applied to Elephants”

–“all instances of person have a mother that is also a person”, or that persons have exactly 2 parents

– isAncestorOf is a transitive property

– isMarriedTo or isPeeredWith is symmetrical

– identification of objects with different URI-s

65

kdK5j.mp/cO :`(

Page 65: Semntic Web Intro  Eyal Sela

www.w3c.org.il

OWL

66

Page 66: Semntic Web Intro  Eyal Sela

www.w3c.org.il 67

Page 67: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Term equivalences

For classes: owl:equivalentClass: two classes have the same

individuals

owl:disjointWith: no individuals in common

For properties: owl:equivalentProperty

remember the a:author vs. f:auteur

owl:propertyDisjointWith

For individuals: owl:sameAs: two URIs refer to the same concept

(“individual”)

owl:differentFrom: negation of owl:sameAs

Page 68: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Classes in OWL

In RDFS, you can subclass existing classes… that’s all

In OWL, you can construct classes from existing ones:

enumerate its content

through intersection, union, complement

Page 69: Semntic Web Intro  Eyal Sela

www.w3c.org.il70

(RDFa)

Page 70: Semntic Web Intro  Eyal Sela

www.w3c.org.il71

Page 71: Semntic Web Intro  Eyal Sela

www.w3c.org.il72

.בגדול, זהו

Page 72: Semntic Web Intro  Eyal Sela

www.w3c.org.il

דוגמאותעוד כמה Use examples• dbrec.net

• BBC - j.mp/w3cabcd

• ProductiveWise in the validator: j.mp/w3ceyalsite

• ProductiveWise and reach snippets: j.mp/b7cIO9

• RelFinder : j.mp/77JV63

• RDFa and Drupal

RDF Sources• data.gov.uk

• data.gov

• About MusicBrainz - MusicBrainz Wiki

• UK Retail Chain Tesco adopts RDFa

73

Page 73: Semntic Web Intro  Eyal Sela

www.w3c.org.il

Resources• Semantic web standarts wiki - j.mp/w3csemw

• http://semanticweb.org/wiki/Main_Page

• http://www.w3.org/TR/2004/REC-rdf-primer-20040210/

• RDFa in Javascript - j.mp/w3clet

• http://www.w3.org/2001/sw/SW-FAQ

• http://www.w3.org/2007/11/Talks/Semantic_Web.html

• Main areas of SWLinked Data, Vocabularies, Queries, Inference, Vertical Applications

• Official publicationsW3C SW Publications

• http://semanticweb.org/wiki/Main_Page

• Semantic web standarts wiki - j.mp/w3csemw

• RDFa Wiki

74

Page 74: Semntic Web Intro  Eyal Sela

www.w3c.org.il

הירשמו לידיעון•

צרו קשר•

75

ccon3j.mp/w @isociltech @eyalsela

תודה