SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Linked Data &
Semantic Web
Technology




                The Semantic Web
       Part 3. URI for the Semantic Web


                    Dr. Myungjin Lee
2
Linked Data & Semantic Web Technology
How to Identify Objects?



                                                      Object
                               refer to



                                                                                  Object
                                                               stand for                               refer to
          Concept
                                          symbolize
                                                                           stand for

                                                                                                                  Concept
                                                      “Namdeamun”
                                                                                           symbolize
                                                               Symbol
                                                                                   URI
                                                                             Symbol




                                                                                                                            3
Linked Data & Semantic Web Technology
URI, Thing, and Representation

                                          looks up
                                                              URI
          Person                                              http://data.kdata.kr/resource/Namdaemun
    Machine
                                                   refers

        URI
        http://data.kdata.kr/resource/Sungnyemun
                                                                        links                 identifies
                                                                                                 and
                                                                                                names
                                        URI
                                                                                                                               Thing
                                        http://dbpedia.org/resource/Namdaemun

                                                                                                        represents

                                         Representation
                                         <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
                                           <head>
                                             <title>Namdaemun | kdata.kr</title>
                                             <link rel="alternate" type="application/rdf+xml" href="http://data.kdata.kr/data/Namdaemun" title="RDF" />
                                         </head>
                                           <body onLoad="init();">
                                               <div id="header">
                                               <div>
                                                 <h1 id="title">Namdaemun</h1>
                                                 <div id="homelink"> &nbsp;at <a href="http://kdata.kr">kdata.kr</a>



                                                                                                                                                          4
Linked Data & Semantic Web Technology
URI (Uniform Resource Identifier)
      • a string of characters used to identify a name or a web resource




      • URN (Uniform Resource Name)
                – persistent, location-independent identifiers for resources


      • URL (Uniform Resource Locator)
                – a means of locating the resource



                                                                               5
Linked Data & Semantic Web Technology
How to call Jim?

                                                                         in a class
                                                                   1           2       3

                                                            1    John       Grace      Jin

                                                            2    Sam         Tom      Jim

      • URN                                                 3    Kevin       Dan      Scott
                – resource identification by name
                – teacher: “Student Jim!”


      • URL
                – resource identification as location
                – teacher: “Student who seats in the 2nd row and 3rd column


                                                                                              6
Linked Data & Semantic Web Technology
Syntax of URN and URL
      • URN
                – urn:<namespace identifier>:<namespace-specific string>
                – Examples
                          • urn:isbn:0451450523
                          • urn:issn:0167-6423
                          • urn:ietf:rfc:2648


      • URL
                – scheme://username:password@domain:port/path?query_string#fragment_id
                – Examples
                          • http://vnc.example.com:5800
                          • http://en.example.org/wiki/URL
                          • http://semantics.kr/search?first_name=John&last_name=Doe



                                                                                         7
Linked Data & Semantic Web Technology
Cool URIs for the Semantic Web
      • how to use URIs for things that are not Web pages, such as
        people, products, places, ideas and concepts
      • how the Semantic Web can (and should) be realized as a part of
        the Web
      • W3C Interest Group Note, 03 December 2008




                                                                         8
Linked Data & Semantic Web Technology
URIs for Real-World Objects
      • Be on the Web
                – Given only a URI, machines and people should be able to retrieve a
                  description about the resource identified by the URI from the Web.
                – Machines should get RDF data and humans should get a readable
                  representation, such as HTML.


      • Be unambiguous
                – There should be no confusion between identifiers for Web documents and
                  identifiers for other resources.




                                                                                           9
Linked Data & Semantic Web Technology
URIs for Real-World Objects
                          URI
                          http://data.kdata.kr/resource/Namdaemun                     looks up

                              identifies
                                 and                                                                        Person
                                names                                                                 Machine



                                                                         Description for Agents
                                                             describes
                                                                         <rdf:RDF>
                                                                           <rdf:Description rdf:about="http://dbpedia.org/resource/Namdaemun">
                                                                             <rdf:type rdf:resource="http://dbpedia.org/class/yago/GatesOfKorea" />
                                                                             <rdf:type rdf:resource="http://www.opengis.net/gml/_Feature" />
                                                                             <owl:sameAs rdf:resource="http://pl.dbpedia.org/resource/Sungnyemun" />
                                                                             <owl:sameAs rdf:resource="http://cs.dbpedia.org/resource/Namdemun" />
                                        Thing                                <owl:sameAs rdf:resource="http://es.dbpedia.org/resource/Namdaemun" />
                                                                             <owl:sameAs rdf:resource="http://dbpedia.org/resource/Namdaemun" />
                                                                             <owl:sameAs rdf:resource="http://it.dbpedia.org/resource/Namdaemun" />
                                                represents

Representation for Web Browsers
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Namdaemun | kdata.kr</title>
    <link rel="alternate" type="application/rdf+xml" href="http://data.kdata.kr/data/Namdaemun" title="RDF" />
</head>
  <body onLoad="init();">
      <div id="header">
      <div>
        <h1 id="title">Namdaemun</h1>
        <div id="homelink"> &nbsp;at <a href="http://kdata.kr">kdata.kr</a>




                                                                                                                                                  10
Linked Data & Semantic Web Technology
The Desired Relationships

                                        <URI-of-alice> a foaf:Person;
                                            foaf:name "Alice";
                                            foaf:mbox <mailto:alice@example.com>;
                                            foaf:homepage <http://www.example.com/people/alice> .




                                                                  Resource identifier (URI)

                                                                             ID


                                             for semantic web applications            for web browsers




                                                              RDF                        HTML


                                                  RDF document URI                HTML document URI


                                                                                                         11
Linked Data & Semantic Web Technology
Two Solutions for Identifying Real-World Objects
      • Hash URIs
                – using a fragment, a special part that is separated from the rest of the URI
                  by a hash symbol (“#”)


      • 303 URIs forwarding to Document(s)
                – to use a special HTTP status code, 303 See Other, to give an
                  indication




                                                                                                12
Linked Data & Semantic Web Technology
Hash URIs
      • URIs to represent the company, Alice, and Bob
                – http://www.example.com/about#exampleinc
                          • Example Inc., the company
                – http://www.example.com/about#bob
                          • Bob, the person
                – http://www.example.com/about#alice
                          • Alice, the person




                                                            13
Linked Data & Semantic Web Technology
303 URIs forwarding to Document(s)
      • URIs to represent the company, Alice and Bob
                – http://www.example.com/id/exampleinc
                          • Example Inc., the company
                – http://www.example.com/id/bob
                          • Bob, the person
                – http://www.example.com/id/alice
                          • Alice, the person




                                                         14
Linked Data & Semantic Web Technology
Choosing between 303 and Hash
      • Hash URIs
                – for small and stable sets of resources when the terms are often used
                  together
                – for simply uploading static RDF files to a Web server
                – for large sets of data that are beyond the point where it is practical to serve
                  all related resources in a single document


      • 303 URIs
                – for such data sets, making neater-looking URIs, but with an impact on
                  run-time performance and server load




                                                                                                    15
Linked Data & Semantic Web Technology
Cool URIs
      • Simplicity
                – short and mnemonic


      • Stability
                – remain as long as possible


      • Manageability
                – issue your URIs in a way that you can manage




                                                                 16
Linked Data & Semantic Web Technology
Linking
      • to be linked with each URI related to a real-word object to help
        information consumers understand their relation
      • three URIs related to Alice
                – http://www.example.com/id/alice
                          • Identifier for Alice, the person
                – http://www.example.com/people/alice
                          • Alice's homepage
                – http://www.example.com/data/alice
                          • RDF document with description of Alice


   <http://www.example.com/id/alice>
       foaf:page <http://www.example.com/people/alice>;
       rdfs:isDefinedBy <http://www.example.com/data/alice>;

           a foaf:Person;
           foaf:name "Alice";
           foaf:mbox <mailto:alice@example.com>;
           ...




                                                                           17
Linked Data & Semantic Web Technology
Designing URI Sets for the UK Public Sector
      • URIs:
                –     name the set and describe its characteristics
                –     identify for the real-world „Things‟ in a single concept
                –     provide a means of looking up data on the web
                –     provide mechanisms to:
                          • lookup an Identifier URI and be redirected to its Document URI
                          • discover and get each of the Representation URIs

        URI Type                              URI structure                                      Examples

         Identifier            http://{domain}/id/{concept}/{reference}     http://education.data.gov.uk/id/school/78


        Document               http://{domain}/doc/{concept}/{reference}    http://education.data.gov.uk/doc/school/78

                               http://{domain}/doc/{concept}/{reference}/
     Representation                                                         http://education.data.gov.uk/doc/school/78/doc.rdf
                               {doc.file-extension}

    Definition of the          http://{domain}/def/{concept}                http://education.data.gov.uk/def/school
    scheme concept
     List of scheme            http://{domain}/doc/{concept}                http://education.data.gov.uk/doc/school
        identifiers

            Set                http://{domain}/set/{concept}                http://education.data.gov.uk/set/school



                                                                                                                                 18
Linked Data & Semantic Web Technology
URI Design Principles: Creating Unique URIs for Government Linked Data
      • These principles should produce:
                – URIs that are easily re-hosted
                – Concise URIs with as little "cruft" as possible
                – URIs that span many domains including

      • URI Template:
                   'http://' BASE '/' 'id' '/' ORG '/' CATEGORY ( '/' TOKEN )+



      • Example
                – States and Territories
                          • Owner
                                    – federal
                          • Suggested
                                    – http://BASE/id/us/state/NAME
                          • Example
                                    – http://logd.tw.rpi.edu/id/us/state/Vermont



                                                                                   19
Linked Data & Semantic Web Technology
URI and IRI
      • IRI (Internationalized Resource Identifier)
                – While URIs are limited to a subset of the ASCII character set, IRIs may
                  contain characters from the Universal Character Set (Unicode/ISO 10646).
                – use UTF-8 and %HH-escaping for conversion to URIs


                                          Encoding
                                        (server side/                     us-asciior %HH   utf-8 or %HH
                                         undefined)
        original characters               <====>             bytes             URI             IRI
                   March                us-ascii/utf-8   4D 61 72 63 68       March           March
                    März                 iso-8859-1       4D E4 72 7A        M%E4rz          M%E4rz
                    März                 macintosh        4D 8A 72 7A        M%8Arz          M%8Arz
                    März                    utf-8        4D C3 A4 72 7A    M%C3%A4rz          März




                                                                                                          20
Linked Data & Semantic Web Technology
References
      •       http://www.slideshare.net/lysander07/open-hpi-semweb02part1
      •       http://www.slideshare.net/onlyjiny/linkeddata
      •       http://en.wikipedia.org/wiki/Uniform_resource_identifier
      •       http://en.wikipedia.org/wiki/Uniform_resource_name
      •       http://en.wikipedia.org/wiki/Uniform_resource_locator
      •       http://www.w3.org/TR/cooluris/
      •       https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/60975/designing-URI-sets-uk-public-sector.pdf
      •       http://data.gov.uk/resources/uris
      •       http://logd.tw.rpi.edu/instance-hub-uri-design
      •       http://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
      •       http://www.w3.org/2004/Talks/IUC25iri/Overview.html




                                                                                                                                        21
Linked Data & Semantic Web Technology

Weitere ähnliche Inhalte

Was ist angesagt?

Keycloak theme customization
Keycloak theme customizationKeycloak theme customization
Keycloak theme customizationRavi Yasas
 
A Technical Introduction to WiredTiger
A Technical Introduction to WiredTigerA Technical Introduction to WiredTiger
A Technical Introduction to WiredTigerMongoDB
 
Mongoose: MongoDB object modelling for Node.js
Mongoose: MongoDB object modelling for Node.jsMongoose: MongoDB object modelling for Node.js
Mongoose: MongoDB object modelling for Node.jsYuriy Bogomolov
 
Web application development with laravel php framework version 4
Web application development with laravel php framework version 4Web application development with laravel php framework version 4
Web application development with laravel php framework version 4Untung D Saptoto
 
REST API Development with Spring
REST API Development with SpringREST API Development with Spring
REST API Development with SpringKeesun Baik
 
Spring framework IOC and Dependency Injection
Spring framework  IOC and Dependency InjectionSpring framework  IOC and Dependency Injection
Spring framework IOC and Dependency InjectionAnuj Singh Rajput
 
Log4Shell Case Study - Suricon2022.pdf
Log4Shell Case Study - Suricon2022.pdfLog4Shell Case Study - Suricon2022.pdf
Log4Shell Case Study - Suricon2022.pdfBrandon DeVault
 
Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式
Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式
Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式Justin Lin
 
Rest API Security
Rest API SecurityRest API Security
Rest API SecurityStormpath
 
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)Adam Nurudini
 
Tutoriel express pour Omeka sur Omeka.net
Tutoriel express pour Omeka sur Omeka.netTutoriel express pour Omeka sur Omeka.net
Tutoriel express pour Omeka sur Omeka.netLaurent Moccozet
 
What is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | EdurekaWhat is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | EdurekaEdureka!
 
OOP 설계 원칙 S.O.L.I.D.
OOP 설계 원칙 S.O.L.I.D.OOP 설계 원칙 S.O.L.I.D.
OOP 설계 원칙 S.O.L.I.D.Ryan Park
 
Information_Retrieval_Models_Nfaoui_El_Habib
Information_Retrieval_Models_Nfaoui_El_HabibInformation_Retrieval_Models_Nfaoui_El_Habib
Information_Retrieval_Models_Nfaoui_El_HabibEl Habib NFAOUI
 

Was ist angesagt? (20)

Keycloak theme customization
Keycloak theme customizationKeycloak theme customization
Keycloak theme customization
 
Spring User Guide
Spring User GuideSpring User Guide
Spring User Guide
 
Semantic web
Semantic webSemantic web
Semantic web
 
hacking with node.JS
hacking with node.JShacking with node.JS
hacking with node.JS
 
A Technical Introduction to WiredTiger
A Technical Introduction to WiredTigerA Technical Introduction to WiredTiger
A Technical Introduction to WiredTiger
 
Mongoose: MongoDB object modelling for Node.js
Mongoose: MongoDB object modelling for Node.jsMongoose: MongoDB object modelling for Node.js
Mongoose: MongoDB object modelling for Node.js
 
Web application development with laravel php framework version 4
Web application development with laravel php framework version 4Web application development with laravel php framework version 4
Web application development with laravel php framework version 4
 
REST API Development with Spring
REST API Development with SpringREST API Development with Spring
REST API Development with Spring
 
Why do I hate Hibernate?
Why do I hate Hibernate?Why do I hate Hibernate?
Why do I hate Hibernate?
 
Spring framework IOC and Dependency Injection
Spring framework  IOC and Dependency InjectionSpring framework  IOC and Dependency Injection
Spring framework IOC and Dependency Injection
 
Log4Shell Case Study - Suricon2022.pdf
Log4Shell Case Study - Suricon2022.pdfLog4Shell Case Study - Suricon2022.pdf
Log4Shell Case Study - Suricon2022.pdf
 
Sécurité des applications web
Sécurité des applications webSécurité des applications web
Sécurité des applications web
 
Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式
Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式
Servlet & JSP 教學手冊第二版 - 第 1 章:簡介Web應用程式
 
Rest API Security
Rest API SecurityRest API Security
Rest API Security
 
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)Unrestricted file upload CWE-434 -  Adam Nurudini (ISACA)
Unrestricted file upload CWE-434 - Adam Nurudini (ISACA)
 
Sql injection
Sql injectionSql injection
Sql injection
 
Tutoriel express pour Omeka sur Omeka.net
Tutoriel express pour Omeka sur Omeka.netTutoriel express pour Omeka sur Omeka.net
Tutoriel express pour Omeka sur Omeka.net
 
What is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | EdurekaWhat is Dependency Injection in Spring Boot | Edureka
What is Dependency Injection in Spring Boot | Edureka
 
OOP 설계 원칙 S.O.L.I.D.
OOP 설계 원칙 S.O.L.I.D.OOP 설계 원칙 S.O.L.I.D.
OOP 설계 원칙 S.O.L.I.D.
 
Information_Retrieval_Models_Nfaoui_El_Habib
Information_Retrieval_Models_Nfaoui_El_HabibInformation_Retrieval_Models_Nfaoui_El_Habib
Information_Retrieval_Models_Nfaoui_El_Habib
 

Ähnlich wie The Semantic Web #3 - URI

Linked Data Technology and Status
Linked Data Technology and StatusLinked Data Technology and Status
Linked Data Technology and StatusMyungjin Lee
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)Myungjin Lee
 
Semantic web assignment 3
Semantic web assignment 3Semantic web assignment 3
Semantic web assignment 3BarryK88
 
Madrid Building blocks of Linked Data
Madrid Building blocks of Linked DataMadrid Building blocks of Linked Data
Madrid Building blocks of Linked DataVictor de Boer
 
Linked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and MuseumsLinked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and Museumstrevorthornton
 
Ur Lversus Urn
Ur Lversus UrnUr Lversus Urn
Ur Lversus UrnLiquidHub
 
Subj3ct - Oxford Geek Night
Subj3ct - Oxford Geek NightSubj3ct - Oxford Geek Night
Subj3ct - Oxford Geek NightNetworkedPlanet
 
Devoxx 2008 - REST in Peace
Devoxx 2008 - REST in PeaceDevoxx 2008 - REST in Peace
Devoxx 2008 - REST in Peacestevenn
 
Schema.org, an ontology for discovery on the web
Schema.org, an ontology for discovery on the webSchema.org, an ontology for discovery on the web
Schema.org, an ontology for discovery on the webPhil Barker
 
Researcher Identifiers and National Federated Search Portal for Japanese Inst...
Researcher Identifiers and National Federated Search Portal for Japanese Inst...Researcher Identifiers and National Federated Search Portal for Japanese Inst...
Researcher Identifiers and National Federated Search Portal for Japanese Inst...National Institute of Informatics
 
One day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic WebOne day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic WebVictor de Boer
 
Lexical Pattern- Based Approach for Extracting Name Aliases
Lexical Pattern- Based Approach for Extracting Name AliasesLexical Pattern- Based Approach for Extracting Name Aliases
Lexical Pattern- Based Approach for Extracting Name AliasesIJMER
 
Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Hong (Jenny) Jing
 
Semantic Search using RDF Metadata (SemTech 2005)
Semantic Search using RDF Metadata (SemTech 2005)Semantic Search using RDF Metadata (SemTech 2005)
Semantic Search using RDF Metadata (SemTech 2005)Bradley Allen
 

Ähnlich wie The Semantic Web #3 - URI (20)

Linked Data Technology and Status
Linked Data Technology and StatusLinked Data Technology and Status
Linked Data Technology and Status
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)
 
Semantic web assignment 3
Semantic web assignment 3Semantic web assignment 3
Semantic web assignment 3
 
58 64
58 6458 64
58 64
 
Biodiversity Informatics on the Semantic Web
Biodiversity Informatics on the Semantic WebBiodiversity Informatics on the Semantic Web
Biodiversity Informatics on the Semantic Web
 
Madrid Building blocks of Linked Data
Madrid Building blocks of Linked DataMadrid Building blocks of Linked Data
Madrid Building blocks of Linked Data
 
Linked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and MuseumsLinked Open Data Fundamentals for Libraries, Archives and Museums
Linked Open Data Fundamentals for Libraries, Archives and Museums
 
ITWS Capstone: Engineering a Semantic Web (Fall 2022)
ITWS Capstone: Engineering a Semantic Web (Fall 2022)ITWS Capstone: Engineering a Semantic Web (Fall 2022)
ITWS Capstone: Engineering a Semantic Web (Fall 2022)
 
Ur Lversus Urn
Ur Lversus UrnUr Lversus Urn
Ur Lversus Urn
 
Subj3ct - Oxford Geek Night
Subj3ct - Oxford Geek NightSubj3ct - Oxford Geek Night
Subj3ct - Oxford Geek Night
 
Devoxx 2008 - REST in Peace
Devoxx 2008 - REST in PeaceDevoxx 2008 - REST in Peace
Devoxx 2008 - REST in Peace
 
Schema.org, an ontology for discovery on the web
Schema.org, an ontology for discovery on the webSchema.org, an ontology for discovery on the web
Schema.org, an ontology for discovery on the web
 
Researcher Identifiers and National Federated Search Portal for Japanese Inst...
Researcher Identifiers and National Federated Search Portal for Japanese Inst...Researcher Identifiers and National Federated Search Portal for Japanese Inst...
Researcher Identifiers and National Federated Search Portal for Japanese Inst...
 
En24877880
En24877880En24877880
En24877880
 
One day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic WebOne day workshop Linked Data and Semantic Web
One day workshop Linked Data and Semantic Web
 
Lexical Pattern- Based Approach for Extracting Name Aliases
Lexical Pattern- Based Approach for Extracting Name AliasesLexical Pattern- Based Approach for Extracting Name Aliases
Lexical Pattern- Based Approach for Extracting Name Aliases
 
Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)
 
General Introduction for Semantic Web and Linked Open Data
General Introduction for Semantic Web and Linked Open DataGeneral Introduction for Semantic Web and Linked Open Data
General Introduction for Semantic Web and Linked Open Data
 
Hacking with Semantic Web
Hacking with Semantic WebHacking with Semantic Web
Hacking with Semantic Web
 
Semantic Search using RDF Metadata (SemTech 2005)
Semantic Search using RDF Metadata (SemTech 2005)Semantic Search using RDF Metadata (SemTech 2005)
Semantic Search using RDF Metadata (SemTech 2005)
 

Mehr von Myungjin Lee

지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)Myungjin Lee
 
JSP 프로그래밍 #05 HTML과 JSP
JSP 프로그래밍 #05 HTML과 JSPJSP 프로그래밍 #05 HTML과 JSP
JSP 프로그래밍 #05 HTML과 JSPMyungjin Lee
 
JSP 프로그래밍 #04 JSP 의 기본
JSP 프로그래밍 #04 JSP 의 기본JSP 프로그래밍 #04 JSP 의 기본
JSP 프로그래밍 #04 JSP 의 기본Myungjin Lee
 
JSP 프로그래밍 #03 서블릿
JSP 프로그래밍 #03 서블릿JSP 프로그래밍 #03 서블릿
JSP 프로그래밍 #03 서블릿Myungjin Lee
 
JSP 프로그래밍 #02 서블릿과 JSP 시작하기
JSP 프로그래밍 #02 서블릿과 JSP 시작하기JSP 프로그래밍 #02 서블릿과 JSP 시작하기
JSP 프로그래밍 #02 서블릿과 JSP 시작하기Myungjin Lee
 
JSP 프로그래밍 #01 웹 프로그래밍
JSP 프로그래밍 #01 웹 프로그래밍JSP 프로그래밍 #01 웹 프로그래밍
JSP 프로그래밍 #01 웹 프로그래밍Myungjin Lee
 
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)Myungjin Lee
 
오픈 데이터와 인공지능
오픈 데이터와 인공지능오픈 데이터와 인공지능
오픈 데이터와 인공지능Myungjin Lee
 
법령 온톨로지의 구축 및 검색
법령 온톨로지의 구축 및 검색법령 온톨로지의 구축 및 검색
법령 온톨로지의 구축 및 검색Myungjin Lee
 
도서관과 Linked Data
도서관과 Linked Data도서관과 Linked Data
도서관과 Linked DataMyungjin Lee
 
공공데이터, 현재 우리는?
공공데이터, 현재 우리는?공공데이터, 현재 우리는?
공공데이터, 현재 우리는?Myungjin Lee
 
LODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data WorkshopLODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data WorkshopMyungjin Lee
 
Introduction of Deep Learning
Introduction of Deep LearningIntroduction of Deep Learning
Introduction of Deep LearningMyungjin Lee
 
쉽게 이해하는 LOD
쉽게 이해하는 LOD쉽게 이해하는 LOD
쉽게 이해하는 LODMyungjin Lee
 
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스Myungjin Lee
 
LOD(Linked Open Data) Recommendations
LOD(Linked Open Data) RecommendationsLOD(Linked Open Data) Recommendations
LOD(Linked Open Data) RecommendationsMyungjin Lee
 
Interlinking for Linked Data
Interlinking for Linked DataInterlinking for Linked Data
Interlinking for Linked DataMyungjin Lee
 
Linked Open Data Tutorial
Linked Open Data TutorialLinked Open Data Tutorial
Linked Open Data TutorialMyungjin Lee
 
Linked Data Usecases
Linked Data UsecasesLinked Data Usecases
Linked Data UsecasesMyungjin Lee
 
공공데이터와 Linked open data
공공데이터와 Linked open data공공데이터와 Linked open data
공공데이터와 Linked open dataMyungjin Lee
 

Mehr von Myungjin Lee (20)

지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
지식그래프 개념과 활용방안 (Knowledge Graph - Introduction and Use Cases)
 
JSP 프로그래밍 #05 HTML과 JSP
JSP 프로그래밍 #05 HTML과 JSPJSP 프로그래밍 #05 HTML과 JSP
JSP 프로그래밍 #05 HTML과 JSP
 
JSP 프로그래밍 #04 JSP 의 기본
JSP 프로그래밍 #04 JSP 의 기본JSP 프로그래밍 #04 JSP 의 기본
JSP 프로그래밍 #04 JSP 의 기본
 
JSP 프로그래밍 #03 서블릿
JSP 프로그래밍 #03 서블릿JSP 프로그래밍 #03 서블릿
JSP 프로그래밍 #03 서블릿
 
JSP 프로그래밍 #02 서블릿과 JSP 시작하기
JSP 프로그래밍 #02 서블릿과 JSP 시작하기JSP 프로그래밍 #02 서블릿과 JSP 시작하기
JSP 프로그래밍 #02 서블릿과 JSP 시작하기
 
JSP 프로그래밍 #01 웹 프로그래밍
JSP 프로그래밍 #01 웹 프로그래밍JSP 프로그래밍 #01 웹 프로그래밍
JSP 프로그래밍 #01 웹 프로그래밍
 
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
관광 지식베이스와 스마트 관광 서비스 (Knowledge base and Smart Tourism)
 
오픈 데이터와 인공지능
오픈 데이터와 인공지능오픈 데이터와 인공지능
오픈 데이터와 인공지능
 
법령 온톨로지의 구축 및 검색
법령 온톨로지의 구축 및 검색법령 온톨로지의 구축 및 검색
법령 온톨로지의 구축 및 검색
 
도서관과 Linked Data
도서관과 Linked Data도서관과 Linked Data
도서관과 Linked Data
 
공공데이터, 현재 우리는?
공공데이터, 현재 우리는?공공데이터, 현재 우리는?
공공데이터, 현재 우리는?
 
LODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data WorkshopLODAC 2017 Linked Open Data Workshop
LODAC 2017 Linked Open Data Workshop
 
Introduction of Deep Learning
Introduction of Deep LearningIntroduction of Deep Learning
Introduction of Deep Learning
 
쉽게 이해하는 LOD
쉽게 이해하는 LOD쉽게 이해하는 LOD
쉽게 이해하는 LOD
 
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스서울시 열린데이터 광장 문화관광 분야 LOD 서비스
서울시 열린데이터 광장 문화관광 분야 LOD 서비스
 
LOD(Linked Open Data) Recommendations
LOD(Linked Open Data) RecommendationsLOD(Linked Open Data) Recommendations
LOD(Linked Open Data) Recommendations
 
Interlinking for Linked Data
Interlinking for Linked DataInterlinking for Linked Data
Interlinking for Linked Data
 
Linked Open Data Tutorial
Linked Open Data TutorialLinked Open Data Tutorial
Linked Open Data Tutorial
 
Linked Data Usecases
Linked Data UsecasesLinked Data Usecases
Linked Data Usecases
 
공공데이터와 Linked open data
공공데이터와 Linked open data공공데이터와 Linked open data
공공데이터와 Linked open data
 

Kürzlich hochgeladen

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Kürzlich hochgeladen (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

The Semantic Web #3 - URI

  • 1. Linked Data & Semantic Web Technology The Semantic Web Part 3. URI for the Semantic Web Dr. Myungjin Lee
  • 2. 2 Linked Data & Semantic Web Technology
  • 3. How to Identify Objects? Object refer to Object stand for refer to Concept symbolize stand for Concept “Namdeamun” symbolize Symbol URI Symbol 3 Linked Data & Semantic Web Technology
  • 4. URI, Thing, and Representation looks up URI Person http://data.kdata.kr/resource/Namdaemun Machine refers URI http://data.kdata.kr/resource/Sungnyemun links identifies and names URI Thing http://dbpedia.org/resource/Namdaemun represents Representation <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Namdaemun | kdata.kr</title> <link rel="alternate" type="application/rdf+xml" href="http://data.kdata.kr/data/Namdaemun" title="RDF" /> </head> <body onLoad="init();"> <div id="header"> <div> <h1 id="title">Namdaemun</h1> <div id="homelink"> &nbsp;at <a href="http://kdata.kr">kdata.kr</a> 4 Linked Data & Semantic Web Technology
  • 5. URI (Uniform Resource Identifier) • a string of characters used to identify a name or a web resource • URN (Uniform Resource Name) – persistent, location-independent identifiers for resources • URL (Uniform Resource Locator) – a means of locating the resource 5 Linked Data & Semantic Web Technology
  • 6. How to call Jim? in a class 1 2 3 1 John Grace Jin 2 Sam Tom Jim • URN 3 Kevin Dan Scott – resource identification by name – teacher: “Student Jim!” • URL – resource identification as location – teacher: “Student who seats in the 2nd row and 3rd column 6 Linked Data & Semantic Web Technology
  • 7. Syntax of URN and URL • URN – urn:<namespace identifier>:<namespace-specific string> – Examples • urn:isbn:0451450523 • urn:issn:0167-6423 • urn:ietf:rfc:2648 • URL – scheme://username:password@domain:port/path?query_string#fragment_id – Examples • http://vnc.example.com:5800 • http://en.example.org/wiki/URL • http://semantics.kr/search?first_name=John&last_name=Doe 7 Linked Data & Semantic Web Technology
  • 8. Cool URIs for the Semantic Web • how to use URIs for things that are not Web pages, such as people, products, places, ideas and concepts • how the Semantic Web can (and should) be realized as a part of the Web • W3C Interest Group Note, 03 December 2008 8 Linked Data & Semantic Web Technology
  • 9. URIs for Real-World Objects • Be on the Web – Given only a URI, machines and people should be able to retrieve a description about the resource identified by the URI from the Web. – Machines should get RDF data and humans should get a readable representation, such as HTML. • Be unambiguous – There should be no confusion between identifiers for Web documents and identifiers for other resources. 9 Linked Data & Semantic Web Technology
  • 10. URIs for Real-World Objects URI http://data.kdata.kr/resource/Namdaemun looks up identifies and Person names Machine Description for Agents describes <rdf:RDF> <rdf:Description rdf:about="http://dbpedia.org/resource/Namdaemun"> <rdf:type rdf:resource="http://dbpedia.org/class/yago/GatesOfKorea" /> <rdf:type rdf:resource="http://www.opengis.net/gml/_Feature" /> <owl:sameAs rdf:resource="http://pl.dbpedia.org/resource/Sungnyemun" /> <owl:sameAs rdf:resource="http://cs.dbpedia.org/resource/Namdemun" /> Thing <owl:sameAs rdf:resource="http://es.dbpedia.org/resource/Namdaemun" /> <owl:sameAs rdf:resource="http://dbpedia.org/resource/Namdaemun" /> <owl:sameAs rdf:resource="http://it.dbpedia.org/resource/Namdaemun" /> represents Representation for Web Browsers <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Namdaemun | kdata.kr</title> <link rel="alternate" type="application/rdf+xml" href="http://data.kdata.kr/data/Namdaemun" title="RDF" /> </head> <body onLoad="init();"> <div id="header"> <div> <h1 id="title">Namdaemun</h1> <div id="homelink"> &nbsp;at <a href="http://kdata.kr">kdata.kr</a> 10 Linked Data & Semantic Web Technology
  • 11. The Desired Relationships <URI-of-alice> a foaf:Person; foaf:name "Alice"; foaf:mbox <mailto:alice@example.com>; foaf:homepage <http://www.example.com/people/alice> . Resource identifier (URI) ID for semantic web applications for web browsers RDF HTML RDF document URI HTML document URI 11 Linked Data & Semantic Web Technology
  • 12. Two Solutions for Identifying Real-World Objects • Hash URIs – using a fragment, a special part that is separated from the rest of the URI by a hash symbol (“#”) • 303 URIs forwarding to Document(s) – to use a special HTTP status code, 303 See Other, to give an indication 12 Linked Data & Semantic Web Technology
  • 13. Hash URIs • URIs to represent the company, Alice, and Bob – http://www.example.com/about#exampleinc • Example Inc., the company – http://www.example.com/about#bob • Bob, the person – http://www.example.com/about#alice • Alice, the person 13 Linked Data & Semantic Web Technology
  • 14. 303 URIs forwarding to Document(s) • URIs to represent the company, Alice and Bob – http://www.example.com/id/exampleinc • Example Inc., the company – http://www.example.com/id/bob • Bob, the person – http://www.example.com/id/alice • Alice, the person 14 Linked Data & Semantic Web Technology
  • 15. Choosing between 303 and Hash • Hash URIs – for small and stable sets of resources when the terms are often used together – for simply uploading static RDF files to a Web server – for large sets of data that are beyond the point where it is practical to serve all related resources in a single document • 303 URIs – for such data sets, making neater-looking URIs, but with an impact on run-time performance and server load 15 Linked Data & Semantic Web Technology
  • 16. Cool URIs • Simplicity – short and mnemonic • Stability – remain as long as possible • Manageability – issue your URIs in a way that you can manage 16 Linked Data & Semantic Web Technology
  • 17. Linking • to be linked with each URI related to a real-word object to help information consumers understand their relation • three URIs related to Alice – http://www.example.com/id/alice • Identifier for Alice, the person – http://www.example.com/people/alice • Alice's homepage – http://www.example.com/data/alice • RDF document with description of Alice <http://www.example.com/id/alice> foaf:page <http://www.example.com/people/alice>; rdfs:isDefinedBy <http://www.example.com/data/alice>; a foaf:Person; foaf:name "Alice"; foaf:mbox <mailto:alice@example.com>; ... 17 Linked Data & Semantic Web Technology
  • 18. Designing URI Sets for the UK Public Sector • URIs: – name the set and describe its characteristics – identify for the real-world „Things‟ in a single concept – provide a means of looking up data on the web – provide mechanisms to: • lookup an Identifier URI and be redirected to its Document URI • discover and get each of the Representation URIs URI Type URI structure Examples Identifier http://{domain}/id/{concept}/{reference} http://education.data.gov.uk/id/school/78 Document http://{domain}/doc/{concept}/{reference} http://education.data.gov.uk/doc/school/78 http://{domain}/doc/{concept}/{reference}/ Representation http://education.data.gov.uk/doc/school/78/doc.rdf {doc.file-extension} Definition of the http://{domain}/def/{concept} http://education.data.gov.uk/def/school scheme concept List of scheme http://{domain}/doc/{concept} http://education.data.gov.uk/doc/school identifiers Set http://{domain}/set/{concept} http://education.data.gov.uk/set/school 18 Linked Data & Semantic Web Technology
  • 19. URI Design Principles: Creating Unique URIs for Government Linked Data • These principles should produce: – URIs that are easily re-hosted – Concise URIs with as little "cruft" as possible – URIs that span many domains including • URI Template: 'http://' BASE '/' 'id' '/' ORG '/' CATEGORY ( '/' TOKEN )+ • Example – States and Territories • Owner – federal • Suggested – http://BASE/id/us/state/NAME • Example – http://logd.tw.rpi.edu/id/us/state/Vermont 19 Linked Data & Semantic Web Technology
  • 20. URI and IRI • IRI (Internationalized Resource Identifier) – While URIs are limited to a subset of the ASCII character set, IRIs may contain characters from the Universal Character Set (Unicode/ISO 10646). – use UTF-8 and %HH-escaping for conversion to URIs Encoding (server side/ us-asciior %HH utf-8 or %HH undefined) original characters <====> bytes URI IRI March us-ascii/utf-8 4D 61 72 63 68 March March März iso-8859-1 4D E4 72 7A M%E4rz M%E4rz März macintosh 4D 8A 72 7A M%8Arz M%8Arz März utf-8 4D C3 A4 72 7A M%C3%A4rz März 20 Linked Data & Semantic Web Technology
  • 21. References • http://www.slideshare.net/lysander07/open-hpi-semweb02part1 • http://www.slideshare.net/onlyjiny/linkeddata • http://en.wikipedia.org/wiki/Uniform_resource_identifier • http://en.wikipedia.org/wiki/Uniform_resource_name • http://en.wikipedia.org/wiki/Uniform_resource_locator • http://www.w3.org/TR/cooluris/ • https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/60975/designing-URI-sets-uk-public-sector.pdf • http://data.gov.uk/resources/uris • http://logd.tw.rpi.edu/instance-hub-uri-design • http://en.wikipedia.org/wiki/Internationalized_Resource_Identifier • http://www.w3.org/2004/Talks/IUC25iri/Overview.html 21 Linked Data & Semantic Web Technology