Semntic Web Intro Eyal Sela

Post on 07-Nov-2014

36068 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

Transcript

www.w3c.org.il1

www.w3c.org.il

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

3

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

במרץ 24•

•16:30-20:00

www.w3c.org.il

W3C השנה

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

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

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

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

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

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

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

...עוד•

4

()

אבל אין

הודעות

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

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

www.w3c.org.il 7

www.w3c.org.il 8

Semantic web intro

אייל סלע

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

www.w3c.org.il

תוכן עניינים

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

Semantic Web-ה אודות•

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

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

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

10

www.w3c.org.il 11

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

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

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

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

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

.ועסקית

www.w3c.org.il 12

טכנלוגיה

תשתיות•

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

קידום•

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

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

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

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

www.w3c.org.il 13

W3C

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

ארגונים 350-כ•

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

:משימה•

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

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

www.w3c.org.il

Semantic Web-אודות ה

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

Is about…

www.w3c.org.il

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

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

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

www.w3c.org.il

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

www.w3c.org.il18

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

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

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

www.w3c.org.il

דוגמאותכמה

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

19

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

www.w3c.org.il 22

הטכנולוגיות

www.w3c.org.il24

The semantic technology stack

www.w3c.org.il

XML

&

URI25

syntax for structured documents

Uniform resource Identifier

www.w3c.org.il

RDF26

www.w3c.org.il

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

27

www.w3c.org.il28

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

www.w3c.org.il29

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

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

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

www.w3c.org.il

(also) things not on the web

31

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

www.w3c.org.il

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

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

www.w3c.org.il

קצת יותר טכני

34

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

www.w3c.org.il36

http://www.productivewise.com

CreatedBy

Eyal sela

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

www.w3c.org.il37

3. things are identified by URI

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

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

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 em@w3.org, and whose title is Dr.

39

crdf3j.mp/w

www.w3c.org.il

הכי טכני

XML-based syntax

40

www.w3c.org.il 41

www.w3c.org.il 42

www.w3c.org.il

RDF is: nodes-and-arcs diagrams interpreted

as statements about things identified by

URIrefs.

43

www.w3c.org.il

.רגע

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

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

44

www.w3c.org.il

...לא יודע

45

www.w3c.org.il

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

46

www.w3c.org.il 47

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

some person.

tGcBh9j.mp/

www.w3c.org.il

Why use URIs as properites?

1.Distinguish properties

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

48

www.w3c.org.il

These are known as Vocabularies

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

49

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

www.w3c.org.il

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

51

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

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

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

www.w3c.org.il

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

56

?לזה

www.w3c.org.il 57

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).

www.w3c.org.il

RDFS

59

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

www.w3c.org.il 61

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

www.w3c.org.il 62

www.w3c.org.il 63

www.w3c.org.il

Inferred properties

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

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 :`(

www.w3c.org.il

OWL

66

www.w3c.org.il 67

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

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

www.w3c.org.il70

(RDFa)

www.w3c.org.il71

www.w3c.org.il72

.בגדול, זהו

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

www.w3c.org.il

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

צרו קשר•

75

ccon3j.mp/w @isociltech @eyalsela

תודה

top related