ICE0534 – Web-based Software Development ICE1338 – Programming for WWW Lecture #12 Lecture #12 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information.

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

SWOG - Semantic Web Ontology Generator Masters Defense of Dackral Scott Phillips Committee Members: Juan E. Gilbert, Ph. D. T. Dean Hendrix, Ph. D. N.
Jim Hendler Chief Scientist - Information Systems Office DARPA.
1 ICS-FORTH EU-NSF Semantic Web Workshop 3-5 Oct Christophides Vassilis Database Technology for the Semantic Web Vassilis Christophides Dimitris Plexousakis.
1 ICS-FORTH & Univ. of Crete SeLene November 15, 2002 A View Definition Language for the Semantic Web Maganaraki Aimilia.
Metadata vocabularies and ontologies Dr. Manjula Patel Technical Research and Development
An ontology server for the agentcities.NET project Dr. Manjula Patel Technical Research and Development
W3C and RDF. Why OCLC is a W3C Member Access to networked information resources –the browser and online access –the breath and depth of networked information.
Three Theses of Representation in the Semantic Web
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Language (Formalisms) For Ontology Building Neda Alipanah 22 October 2012.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Processing of structured documents Part 8. 2 Resource Description Framework (RDF) zWeb was originally built for human consumption yalthough everything.
Semantic Web Thanks to folks at LAIT lab Sources include :
The Semantic Web – WEEK 4: RDF
An Introduction to RDF(S) and a Quick Tour of OWL
1 RDF Tutorial. C. Abela RDF Tutorial2 What is RDF? RDF stands for Resource Description Framework It is used for describing resources on the web Makes.
An Introduction to Semantic Web Portal
1 UIM with DAML-S Service Description Team Members: Jean-Yves Ouellet Kevin Lam Yun Xu.
Natural Language and Speech Processing Professor: Dr. Christel Kemke Winter 2004 Knowledge Representation on the Semantic Web by Femi G. Olumofin.
XML Technology in E-Commerce
27 January Semantically Coordinated E-Market Semantic Web Term Project Prepared by Melike Şah 27 January 2005.
E © 2002 Dario Aganovic Resource Description Framework Schema (RDFS) Dario Aganovic Industrial PhD-student NPI Production Kista, Ericsson AB and Production.
CS570 Artificial Intelligence Semantic Web & Ontology 2
Introduction to RDF and RDFS Editor: MR 3 Susumu Tamagawa OSM 2011, Lecture and Exercise, Web Intelligence.
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
By Ahmet Can Babaoğlu Abdurrahman Beşinci.  Suppose you want to buy a Star wars DVD having such properties;  wide-screen ( not full-screen )  the extra.
Master Informatique 1 Semantic Technologies Part 4Jena Werner Nutt.
RDF Tutorial.
Ontology Notes are from:
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
Dr. Alexandra I. Cristea RDF.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
Semantic Web Presented by: Edward Cheng Wayne Choi Tony Deng Peter Kuc-Pittet Anita Yong.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
OIL: An Ontology Infrastructure for the Semantic Web D. Fensel, F. van Harmelen, I. Horrocks, D. L. McGuinness, P. F. Patel-Schneider Presenter: Cristina.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
Practical RDF Chapter 1. RDF: An Introduction
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
Of 39 lecture 2: ontology - basics. of 39 ontology a branch of metaphysics relating to the nature and relations of being a particular theory about the.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Logics for Data and Knowledge Representation
The Semantic Web Web Science Systems Development Spring 2015.
RDF and OWL Developing Semantic Web Services by H. Peter Alesso and Craig F. Smith CMPT 455/826 - Week 6, Day Sept-Dec 2009 – w6d21.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Semantic Web - an introduction By Daniel Wu (danielwujr)
RDF and XML 인공지능 연구실 한기덕. 2 개요  1. Basic of RDF  2. Example of RDF  3. How XML Namespaces Work  4. The Abbreviated RDF Syntax  5. RDF Resource Collections.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
Metadata : an overview XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN is supported.
Problems with XML & XML Schemas XML falls apart on the Scalability design goal. 1.The order in which elements appear in an XML document is significant.
1cs The Need “Most of the Web's content today is designed for humans to read, not for computer programs to manipulate meaningfully.” Berners-Lee,
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
An Introduction and UML Profile for the Web Ontology Language (OWL) October 23, 2002 Elisa F. KendallMark E. Dutra CEO & FounderChief Architect
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
The Semantic Web By: Maulik Parikh.
ece 627 intelligent web: ontology and beyond
Semantic Web - Ontologies
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Presentation transcript:

ICE0534 – Web-based Software Development ICE1338 – Programming for WWW Lecture #12 Lecture #12 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information and Communications University (ICU) - Summer

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Announcements Project Presentation (Aug. 11) Project Presentation (Aug. 11) Introduce the team members and their roles Introduce the team members and their roles Explain the main objectives and design goals Explain the main objectives and design goals Explain the system architecture Explain the system architecture Show results (a demo) Show results (a demo) Evaluate the system (pros and cons) Evaluate the system (pros and cons) Discuss about the main contributions of the system and future work Discuss about the main contributions of the system and future work Q&A Q&A

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Last Lecture Web Services Composition Web Services Composition Ph.D. Lecture Ph.D. Lecture Modeling Stateful Resource with Web Services [p1: Byung-sang Kim] Modeling Stateful Resource with Web Services [p1: Byung-sang Kim] Technology Reviews Technology Reviews BPEL4WS [u16: Sungjun Park] BPEL4WS [u16: Sungjun Park] Technology Surveys Technology Surveys Business process [g22: Kuyul Noh] Business process [g22: Kuyul Noh] Service brokering [g23: Yusik Park] Service brokering [g23: Yusik Park]

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University This Lecture Semantic Web Semantic Web Ph.D. Lecture Ph.D. Lecture Integration of Biological XML data [p2: Woo-Hyuck Jang] Integration of Biological XML data [p2: Woo-Hyuck Jang] Technology Surveys Technology Surveys Semantic Web Services [g24: Chan-kyu Park] Semantic Web Services [g24: Chan-kyu Park] Web-services Challenges [g21.1: Janarbek] Web-services Challenges [g21.1: Janarbek] Web Services Security [g21.2: Jongsoo Bae] Web Services Security [g21.2: Jongsoo Bae] (1) (3) (2) (4)

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Search for ‘Jordan’

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University What is the problem of the current Web? No way to represent and transmit users intention (meaning) to a Web Service Irrelevant information returned from a search engine

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University What is metadata ? Metadata: machine-understandable information about Web resources or other things - Tim Berners-Lee Metadata: machine-understandable information about Web resources or other things - Tim Berners-Lee Data about data Data about data Well defined semantic structure Well defined semantic structure Set of assertions(attributes) about data Set of assertions(attributes) about data e.g., RFC822 Header e.g., RFC822 Header Dublin Core [ Dublin Core [ author-generated description of Web resources author-generated description of Web resources (15 elements) (15 elements)

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Benefits of Metadata Readable by both humans and machines Readable by both humans and machines Interchangeable among heterogeneous agents Interchangeable among heterogeneous agents Facilitate and improve the retrieval of resources Facilitate and improve the retrieval of resources

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Semantic Web Semantic Web provides a model to represent and exchange metadata of Web resources Semantic Web provides a model to represent and exchange metadata of Web resources Definition: "The Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in cooperation." – Tim Berners-Lee, James Hendler, Ora Lassila, The Semantic Web, Scientific American, May 2001 Definition: "The Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in cooperation." – Tim Berners-Lee, James Hendler, Ora Lassila, The Semantic Web, Scientific American, May 2001The Semantic WebThe Semantic Web

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Syntactic vs. Semantic Web HTML (Hypertext Markup Language) URL (Uniform Resource Locator) Keyword-based Queries e.g., ICU Kildong RDF (Resource Description Framework) URI (Uniform Resource Identifier) Semantically-based Queries e.g., Find Kildong who is a student at ICU at ICU University isA Educational Unit isA ICU hasName hasStudents hasWeb … hasMember Kildong hasName

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF (Resource Description Framework) An infrastructure that enables the encoding, exchange and reuse of structured metadata An infrastructure that enables the encoding, exchange and reuse of structured metadata Design of common conventions of semantics, syntax and structure Design of common conventions of semantics, syntax and structure Components: Components: RDF Data Model: Graph-based model for representing named properties and their values RDF Data Model: Graph-based model for representing named properties and their values RDF Syntax: Use XML, N3, etc. RDF Syntax: Use XML, N3, etc. RDF Schema: Declare vocabularies for representing the properties and their relations RDF Schema: Declare vocabularies for representing the properties and their relations

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF Data Model RDF Graph-based Model RDF Graph-based Model Represent attributes of resources and relationships between resources Represent attributes of resources and relationships between resources Triple: Triple: Description: a collection of triples describing a resource Description: a collection of triples describing a resource Subject Predicate Object

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University XML-based RDF Syntax Use XML for encoding metadata Use XML for encoding metadata Uniquely identifies property-types by using the XML namespace Uniquely identifies property-types by using the XML namespace e.g., e.g., document1 Author1 dc:creator <rdf:RDF xmlns:rdf=" xmlns:dc=" Author1

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University N3 (Notation 3) A RDF syntax that is easier to write A RDF syntax that is easier to write General statement syntax: General statement syntax:.. e.g., dc:. :document1 dc:creator "Author1". document1 Author1 dc:creator

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF Schemas Declare vocabularies, the set of semantics property- types defined by a particular community Declare vocabularies, the set of semantics property- types defined by a particular community Define restrictions of usage for properties Define restrictions of usage for properties Object-oriented modeling Object-oriented modeling Accessed by de-referencing the schema URI Accessed by de-referencing the schema URI Components: Components: Picture from “RDF Schema Specification,” W3C

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Ontology “The study of existence” [John Sowa] “The study of existence” [John Sowa] “A particular theory about the nature of being or the kinds of existents” [Merriam-Webster] “A particular theory about the nature of being or the kinds of existents” [Merriam-Webster] “Explicit specification of a conceptualization” [Tom Gruber] “Explicit specification of a conceptualization” [Tom Gruber] The names of entities in the universe of discourse (the set of objects that can be represented, e.g., classes, relations, functions, objects) The names of entities in the universe of discourse (the set of objects that can be represented, e.g., classes, relations, functions, objects) Text descriptions about what the names mean Text descriptions about what the names mean Formal axioms that constrain the interpretation Formal axioms that constrain the interpretation Vocabularies of representing semantics Vocabularies of representing semantics

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University An Ontology Spectrum Catalog/ID Controlled Vocabulary (Terms/Glossary) Thesauri (Synonyms) Term Hierarchies (Informal is-a) Subclass Hierarchies (Formal is-a) Frames with Properties General Logic

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Open Directory

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Cyc Ontology Thing Individual Object Intangible Event Represented Thing StuffIntangibleObject Collection Relationship IntangibleStuff Subsumption Relations … … …

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF Schemas – Core Elements Core Classes Core Classes rdfs:Resource: all things being described by RDF rdfs:Resource: all things being described by RDF rdfs:Class: generic concept of a Type or Category rdfs:Class: generic concept of a Type or Category rdf:Property: subset of resources that are properties rdf:Property: subset of resources that are properties Core Properties Core Properties rdf:type: a member of a class (an instance of a class) rdf:type: a member of a class (an instance of a class) rdfs:subClassOf: a subset/superset relations between classes rdfs:subClassOf: a subset/superset relations between classes rdfs:subPropertyOf: a specialization of a property rdfs:subPropertyOf: a specialization of a property Core Constraints Core Constraints rdfs:rage: value of a property whose range is constrained to be an instance of a certain class rdfs:rage: value of a property whose range is constrained to be an instance of a certain class rdfs:domain: a class on which a property may be used rdfs:domain: a class on which a property may be used

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF Schemas – Example car:MotorVehicle rdfs:subClassOf car:Vancar:PassengerVehiclecar:Truck car:MiniVan kia:Carnival ford:Sedan hyundai :Sonat a rdfs:type <rdfs:subClassOf rdf:resource="...rdf-schema-…#Resource"/> Instance Description

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF Containers To refer to a collection of resources or literals To refer to a collection of resources or literals Three types - Bag(unordered list), Sequence(ordered list), and Alternative Three types - Bag(unordered list), Sequence(ordered list), and Alternative e.g., e.g., Document1 Author1 dc:Creator rdf:Bag rdf:type Author2 Author3 rdf:_1 rdf:_3 rdf:_2 Author1 Author2 Author3

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University RDF Reifications Making statements about other RDF statements Making statements about other RDF statements e.g., e.g., Model the original statement as a resource Model the original statement as a resource e.g., e.g., $ product1$10.50 a:validUtil rdf:Statement rdf:predicate a:hasPrice rdf:object rdf:subject rdf:type product1 $10.50 a:hasPrice a:validUntil

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Benefits of RDF Independent: allows independent communities to define descriptive vocabularies without central coordination Independent: allows independent communities to define descriptive vocabularies without central coordination Scalable: supports the following features to make the system ubiquitous Scalable: supports the following features to make the system ubiquitous Canonicalization of a graph using triples Canonicalization of a graph using triples Easy to handle and look up Easy to handle and look up Incremental modifications to the base schema Incremental modifications to the base schema Reusable: allows users to define sharable schemas Reusable: allows users to define sharable schemas Object-oriented Object-oriented Extensible: subclass refinement Extensible: subclass refinement Interchangeable: RDF provides serialization syntaxes which allows the graph model to be exchanged between agents Interchangeable: RDF provides serialization syntaxes which allows the graph model to be exchanged between agents Syntax Neutral: evaluate equivalence in meaning (model) Syntax Neutral: evaluate equivalence in meaning (model)

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University HTML vs. RDF <rdf:RDF xmlns:rdf= xmlns:rdf= ' ' xmlns:aca=' xmlns:aca=' Information and Communications University Information and Communications University <rdf:type rdf:resource= <rdf:type rdf:resource= " " </rdf:RDF> <HTML><HEAD> Information and Communications University Information and Communications University </HEAD> </frameset></HTML>

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University XML vs. RDF Metadata syntax Metadata syntax XML Schema; syntactic validation XML Schema; syntactic validation Parsing result: a parse tree Parsing result: a parse tree Semantic structure Semantic structure RDF Schema; semantic validation RDF Schema; semantic validation Parsing result: a semantic graph Parsing result: a semantic graph Document1 Author1 :document1 :creator "Author1". subelement creatoruridocument1 content nameAuthor1 content subelement document1Author1 creator

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University DAML & OWL DAML (DARPA Agent Markup Language) DAML (DARPA Agent Markup Language) Semantic extension (vocabularies) of RDF Semantic extension (vocabularies) of RDF Provide a language to represent classes, subclasses, properties, sub-properties, domain, range, cardinality, inverse relation, etc. Provide a language to represent classes, subclasses, properties, sub-properties, domain, range, cardinality, inverse relation, etc. OWL (Web Ontology Language) OWL (Web Ontology Language) Revision of DAML + OIL (Ontology Inference Layer) Revision of DAML + OIL (Ontology Inference Layer) Ontologies that can be represented by OWL is located higher in the ontology spectrum Ontologies that can be represented by OWL is located higher in the ontology spectrum

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Jena A Java API which can be used to create and manipulate RDF graphs A Java API which can be used to create and manipulate RDF graphs Provides object classes to represent graphs, resources, properties and literals Provides object classes to represent graphs, resources, properties and literals Developed by HP Lab in UK Developed by HP Lab in UK Supports a mechanism to connect to a database system to manage triple data Supports a mechanism to connect to a database system to manage triple data Provides facilities to read/write RDF data from/to XML and N3 files Provides facilities to read/write RDF data from/to XML and N3 files

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Use of the Jena API // some definitions String personURI = " String givenName = "John"; String familyName = "Smith"; String fullName = givenName + " " + familyName; // create an empty Model Model model=ModelFactory.createDefaultModel(); // create the resource // and add the properties cascading style Resource johnSmith = model.createResource(personURI) = model.createResource(personURI).addProperty(VCARD.FN, fullName).addProperty(VCARD.FN, fullName).addProperty(VCARD.N,.addProperty(VCARD.N, model.createResource() model.createResource().addProperty(VCARD.Given, givenName).addProperty(VCARD.Given, givenName).addProperty(VCARD.Family, familyName));.addProperty(VCARD.Family, familyName));

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Writing a Model in XML // now write the model in XML form to a file model.write(System.out); The output should look something like this: <rdf:RDF xmlns:rdf=' xmlns:rdf=' xmlns:vcard=' xmlns:vcard=' John Smith John Smith John John Smith Smith </rdf:RDF>

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Protégé A graphical ontology editor developed by Stanford A graphical ontology editor developed by Stanford

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University A Semantic Web Application Architecture Abstraction & Visualization Protege Memory Jena Triple Store MySQL DBMS’ ProtegeKnowledgeAcquisitionProtegeKnowledgeAcquisition Adaptor Code … Jena Triple Store Adaptor Code … RDF Files … Semantic Web Applications

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University A Semantic Application – CHIME

Summer ICE 0534/ICE1338 – WWW © In-Young Ko, Information and Communications University Semantic Web References W3C’s RDF Page: W3C’s RDF Page: RDF Interest Group: RDF Interest Group: Semantic Web Road map: Semantic Web Road map: RDF Primer: RDF Primer: Semantic Web Tutorial Using N3: Semantic Web Tutorial Using N3: An Introduction to RDF and the Jena RDF API: An Introduction to RDF and the Jena RDF API: