Download presentation
Presentation is loading. Please wait.
Published byBenedict Snow Modified over 9 years ago
1
הווב הסמנטי אייל סלע מנהל פרויקטים, איגוד האינטרנט הישראלי ומשרד ה -W3C הישראלי אוניברסיטת בר אילן – 16/6/2011
2
תוכן עניינים מבוא - איגוד האינטרנט הישראלי ו - W3C אודות ה -Semantic Web דוגמאות 2
3
www.w3c.org.il איגוד האינטרנט הישראלי שלוחת האיגוד הבינלאומי עמותה ללא מטרת רווח פועל לקידום האינטרנט והטמעתו בישראל כתשתית טכנולוגית, מחקרית, חינוכית, חברתית ועסקית
4
www.w3c.org.il 4 W3C ארגון בינלאומי כ -350 ארגונים פורום ניטראלי ליצירת תקני הווב משימה : להוביל את הרשת למיצוי הפוטנציאל על ידי פיתוח פרוטוקולים וקווים מנחים שיאפשרו את צמיחתה לטווח ארוך.
5
תוכן עניינים מבוא - איגוד האינטרנט הישראלי ו - W3C טכנולוגיות ווב חדשות הווב הסמנטי הווב הנייד 5
6
ווב סמנטי ב -W3C 6 www.w3.org/standards/semanticweb
7
Semantic Web 7 Web of Data
8
דף אינטרנט רגיל בנוי באופן שבני אדם יכולים להבין את תוכנו 8 j.mp/w3cyd4
9
9
10
אבל המחשב יודע רק להציג את המידע. הוא אינו מבין איזה תוכן קיים בו. 10
11
11 j.mp/w3cyd4
12
מטרת הווב הסמנטי היא לגשר את הפער 12
13
13 machine interpretability of Web content applications can process the content of information instead of just presenting it to humans j.mp/w3cowl Semantic web is about…
14
תאור מידע, ברמת הקוד (כלומר, הוספת משמעות, סמנטיקה), כך שמכונות יכולות להבין את תוכנו.
15
Machines can read information about me 15
16
My blog on the Rich Snippets testing tool 16 j.mp/b7cIO9
17
17 או את זכויות היוצרים באתר שלי
18
18
19
19
20
זהו בעצם מנגנון מוסכם ( סטנדרט ) לייצוג נתונים.
21
21 הרשת הופכת מאוסף של מסמכים (שרק בני אדם מבינים) למאגר נתונים (שמכונות יכולות "להבין").
22
j.mp/w3civan מאגרי נתוניםדפי אינטרנטנתונים ב-RDFXML נתונים אבסטרקציה אפליקציות
23
23 The semantic technology stack
24
Web of data 24 Semantic technology stack Web of documents
25
XML & URI 25 syntax for structured documents Uniform resource Identifier
26
RDF 26
27
27 The building block of the Semantic Web Resource Description Framework (RDF)
28
28 The building block of the Semantic Web Resource Description Framework (RDF) דבריםלתארשיטה
29
(also) things not on the web 29
30
30 "Eyal Sela". subject predicateobject 1. With RDF we describe resources in terms of properties and property values
31
31 http://www.productivewise.com CreatedBy Eyal sela 2. Which are represented as a graph of nodes and arcs
32
32 3. things are identified by URI http://www.productivewise.com/#me
33
33 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
34
למשל.... 34
35
איך מבטאים את המידע בעזרת 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. 35 j.mp/w3crdf
36
נראה ( למשל ) ככה XML-based syntax 36
37
פריטים מוויקיפדיה על מפה DBpedia Mobile renders a map containing information about nearby locations from the DBpedia dataset. 37 beckr.org/DBpediaMobile
38
רגע. כשאומרים GivenName מתכוונים לשם של אדם או אולי משתנה בתוכנה ? 38
39
לא יודע... 39
40
לכן משתמשים ב URIs 40
41
41 http://xmlns.com/foaf/0.1/givennameThe given name of some person. j.mp/9tGcBh
42
These are known as Vocabularies set of URIs defined for some specific purpose (E.g. identify employees) 42
43
Why use URIs as properites? 1.Distinguish properties 2.Properties treated as resources (add information about them) 43
44
Another person/program familiar with the vocabulary will know what is meant by this relationship. 44
45
אז בעצם... רק אפליקציות שיודעות לקרוא vocabulary מסוים יבינו הצהרות RDF שמשתמשות בו. RDF statements using URIs from vocabularies convey the specific meanings associated with terms only to applications written to process these vocabularies. 45
46
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. 46
47
47 Vocabularies you should know
48
FOAF - describing people, the links between them and the things they create and do 48 Group Image LabelProperty OnlineAccount Organization Project Account Age Birthday Depiction familyName Knows …
49
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. 49 (illustration by David Simonds) [Economist 2008] j.mp/w3cweb Decentralization: The Future of Online Social Networking
50
Good relations - product, price, and company 50 ActualProductOrServiceInstance BusinessEntity BusinessEntityType BusinessFunction DayOfWeek DeliveryChargeSpecification -DeliveryMethod DeliveryModeParcelService LocationOfSalesOrServiceProvisioning N-Ary-Relations Offering … j.mp/w3cbar6
51
Dublin Core - 15 properties to describe esources (books, video, sound, image, web pages) 51 Title Creator Subject Description Publisher Contributor Date Type Format Identifier Source Language Relation Coverage Rights
52
האם יש הבדל בין זה 52 לזה?
53
( לא ) 53
54
But RDF can’t describe vocabularies 54 – 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).
55
RDFS 55
56
RDFS defines classes (groups of related resources) and properties (relationships between resources) that are used to describe classes, properties and other resources. 56 j.mp/w3crdfs
57
57 RDFS does NOT specify a vocabulary of descriptive properties such as "author". it specifies mechanisms to do that.
58
58
59
59
60
Inferred properties ( rdf:type #Fiction)
61
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 61 j.mp/cO5kdK :`(
62
OWL 62
63
63
64
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
65
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
66
SPARQL endpoint SPARQL endpoint is a URI to which Queries can be sent, and which returns answers to the Queries as a response. j.mp/semqle
67
וגם אתם יכולים להשתמש במידע הזה ! SELECT ?z ?i ?o FROM NAMED WHERE { GRAPH ?dummy { ?x ?z. ?x ?i. ?w ?o. } 67 querying RDFa from rotten tomatos : http://dbpedia.org/sparql
68
SPARQLer - הדגמה לשאילתות RDF sw.cs.technion.ac.il/eyalsela/
69
example - SPRQL Select the names and addresses of schools in London: prefix sch-ont: SELECT ?name ?address1 ?address2 ?postcode ?town WHERE { ?school a sch-ont:School; sch-ont:establishmentName ?name; sch-ont:districtAdministrative. } ORDER BY ?name ~result 69 j.mp/w3cbar5
70
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!|
71
יישומים
72
www.isoc.org.il www.w3c.org.il eyal@isoc.org.il מי מפרסם Linked Data? New York Times Newsweek dbPedia Data.gov.uk Tesco Best Buy BBC LOD דרופל 72
73
Facebook 73 יש RDFa אין RDFa
74
בוגר אוניברסיטאות שכתבו עליהם בניו - יורק טיימס 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 74 j.mp/w3cbar4
75
75 j.mp/tseyqw
76
מתכונים בגוגל 76 j.mp/w3cqug
77
schema.org בעיקר מיקרופורמט מיעוט/אי שימוש במילונים קיימים החלטה על ידי מנועי החיפוש בלבד?
78
Schema.org ‘s Type Hierarchy CreativeWork Event Intangible Organization Person Place Product
79
Data.gov Earthquakes + Exhibit = 79 j.mp/w3cqwg
80
dbrec 80 http://dbrec.net
81
81 j.mp/w3cben1
82
police.uk 82
83
RelFinder 83 j.mp/w3cda2
84
Faceted browsing wiki.dbpedia.org/FacetedSearch 84
85
תקנים – מה חדש ? 85
86
HTML5 (!) – HTML+RDFa – HTML Microdata 86
87
RDFa API draft by RDFa working group document.getElementsByType(“http://xmlns.com/foaf/0.1/Person") 87 j.mp/w3car2 The specification details how a developer may extract, store and query structured data contained within one or more RDFa-enabled documents.
88
RDB2RDF Use Cases and Requirements for Mapping Relational Databases to RDF example Wordpress…. 88
89
עדכונים אחרונים... 2011-05-25 HTML MicrodataHTML Microdata 2011-05-12 SPARQL 1.1 UpdateSPARQL 1.1 Update 2011-05-12 RIF In RDFRIF In RDF 2011-05-10 RDF Interfaces 1.0RDF Interfaces 1.0 2011-05-10 Pointer Methods in RDF 1.0Pointer Methods in RDF 1.0 2011-05-10 HTTP Vocabulary in RDF 1.0HTTP Vocabulary in RDF 1.0 2011-05-10 Representing Content in RDF 1.0Representing Content in RDF 1.0 2011-04-19 RDFa APIRDFa API 2011-03-24 A Direct Mapping of Relational Data to RDFA Direct Mapping of Relational Data to RDF 2011-03-24 R2RML: RDB to RDF Mapping LanguageR2RML: RDB to RDF Mapping Language 2011-03-31 RDFa Core 1.1RDFa Core 1.1 ……
90
אייל סלע eyal@isoc.org.il @isociltech @eyalsela המצגת : w3c.org.il/news/256w3c.org.il/news/256 90 תודה
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.