SlideShare a Scribd company logo
1 of 20
Intro to the
Semantic Web
     Peter Snyder
  snyderp@gmail.com




          1
Outline

• What Is the Semantic Web?
• What Problem is it Trying to Solve?
• How does it Solve the problem?

                     2
What is the SW?

• Effort to
  1. make data on the web machine friendly
  2. using existing open technologies
  3. in order to aid information retrieval



                      3
What is the SW? ....
• Made up of
 - XML
 - XML Schema
 - RDF
 - RDF Schema / OWL
 - SPARQL
                4
Outline

• What Is the Semantic Web?
• What Problem is it Trying to Solve?
• How does it Solve the problem?

                     5
What is the Problem?

• Web is human oriented
• All nonsense to machines
• Humans waste time

                    6
Example
http://www.peteresnyder.com/fake
<div>

 <h1>My Homepage</h1>

 <p>Hi, I'm Peter E. Snyder.

 <p>I live in Cambridge.

 <p>I like the band The Fall!

 <p>I love professional wrestling!
</div>



                   7
Outline

• What is the semantic web?
• What problem is it trying to solve?
• How does it solve the problem?

                     8
Solution


• Basic Track (Microformats)
• W3C Recommendation (Alphabet Soup)


                  9
Microformats
<div class="vcard">
  <p>
    <a class="url" href="http://www.peteresnyder.com">
      http://www.peteresnyder.com
    </a>
  </p>
  <p>
    <strong>Name:</strong>
    <span class="fn">Peter Snyder</span>
  </p>
  <p>
    <strong>City:</strong>
    <span class="locality">Cambridge</span>
  </p>
</div>
                              10
W3C Recommends...

• XML
• XML Schema
• RDF
• RDF Schema / OWL
• SPARQL
               11
XML
<?xml version="1.0"?>
<person>

 <name>Peter Snyder</name>

 <website>http://www.peteresnyder.com<website>

 <city>Cambridge</city>

 <interests>

 
 <interest>The Fall</interest>

 
 <interest>Professional Wrestling</interest>

 </interests>
</person>




                             12
XML Schema
                  XML Schema
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="person">
     <xs:complexType>
        <xs:sequence>
           <xs:element name="website" type="xs:string"/>
                            <?xml version="1.0"?>
           <xs:element name="name"xmlns:pes=”http://www.peteresnyder.com/fake_schema”>
                            <person type="xs:string"/>
           <xs:element name="city" type="xs:string"/>
                            
   <pes:name>Peter Snyder</pes:name>
           ...              
   <pes:website>http://www.peteresnyder.com<pes:website>
                            
   <pes:city>Cambridge</pes:city>
                            
   <pes:interests>
                            
   
    <pes:interest>The Fall</pes:interest>
                            
   
    <pes:interest>Professional Wrestling</pes:interest>
                            
   </pes:interests>
                            </pes:person>


                                          13
                                                        XML Document
RDF
• Resource Description Framework
• Description of relationships (taxonomy)
• Triplets
 - subject: thing being described (URI)
 - predicate: what the relationship is
 - object: the object being related to
                     14
RDF Cont.
<urn:name:peteresnyder> <name> "Peter Snyder" .
<urn:name:peteresnyder> <city> "Cambridge" .
<urn:name:peteresnyder> <likes> "The Fall" .

<?xml version="1.0"?>
<rdf:RDF>

 <Human rdf:about="urn:name:peteresnyder">
  
    <name>Peter E Snyder</name>

 
    <city>Cambridge</city>

 
    <likes>The Fall</likes>
        ...




                         15
RDF Schema / OWL
• Defines a standard way that things interact
  (ontology)
• Common Examples
  - Dublin Core: Publishing
  - Friend of a Friend (FOAF): People
- OWL is RDFS+
                     16
RDFS / OWL Cont.
                                             FOAF RDF Schema

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

    
   xmlns:foaf="http://xmlns.com/foaf/0.1/">

    <foaf:Person rdf:about="urn:name:peteresnyder">

    
   <foaf:homepage rdf:resource="http://www.peteresnyder.com"/>

    
   <foaf:givenname>Peter</foaf:givenname>

    
   <foaf:family_name>Snyder</foaf:family_name>

    
   <foaf:interest>The Fall</foaf:interest>
            ....




                                    17
SPARQL

• SPARQL Protocol and RDF Query
  Language
• SQL like language for getting data out of
  RDF connections / graphs



                      18
SPARQL Cont.
     <foaf:Person rdf:about="urn:name:markesmith">
  <foaf:Person rdf:about="urn:name:tinafey">
     
         <foaf:homepage rdf:resource="http://www.peteresnyder.com"/>
<foaf:Person rdf:about="urn:name:peteresnyder">
  
 
 <foaf:homepage rdf:resource="http://www.peteresnyder.com"/>
               <foaf:givenname>Peter</foaf:givenname>
 
   
    

 
 <foaf:homepage rdf:resource="http://www.peteresnyder.com"/>
     
 <foaf:givenname>Peter</foaf:givenname>
 
               <foaf:family_name>Snyder</foaf:family_name> 
                                                         

 
 <foaf:givenname>Peter</foaf:givenname>
 
           <foaf:family_name>Snyder</foaf:family_name> 
                                                       
     
         <foaf:interest>The Fall</foaf:interest>

 
 <foaf:family_name>Snyder</foaf:family_name>
           <foaf:interest>The Fall</foaf:interest>
                ...

   <foaf:interest>The Fall</foaf:interest>
            ...
       ...
                                          +
        PREFIX foaf: <http://xmlns.com/foaf/0.1/>
        SELECT ?givenname ?family_name
        WHERE { ?x foaf:interest "The Fall"}

                                          =
             ?givenname                               ?family_name
               “Peter”                                   “Snyder”
               “Mark”                                     “Smith”
                                          19
Conclusion
        Current Web                             Semantic Web

<div>                            <?xml version="1.0"?>

 <h1>My Homepage</h1>           <rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/">

 <p>Hi, I'm Peter E. Snyder.    <foaf:Person rdf:about="urn:name:peteresnyder">
                                 
    <foaf:homepage rdf:resource="http://

 <p>I live in Cambridge.
                                 www.peteresnyder.com"/>

 <p>I like the band The Fall!   
    <foaf:givenname>Peter</foaf:givenname>

 <p>I love professional         
    <foaf:family_name>Snyder</foaf:family_name>
wrestling!                       
    <foaf:interest>The Fall</foaf:interest>
</div>
                                ...




                                 20

More Related Content

Recently uploaded

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 

Recently uploaded (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Intro to the Semantic Web (CSG339 - NorthEastern University)

  • 1. Intro to the Semantic Web Peter Snyder snyderp@gmail.com 1
  • 2. Outline • What Is the Semantic Web? • What Problem is it Trying to Solve? • How does it Solve the problem? 2
  • 3. What is the SW? • Effort to 1. make data on the web machine friendly 2. using existing open technologies 3. in order to aid information retrieval 3
  • 4. What is the SW? .... • Made up of - XML - XML Schema - RDF - RDF Schema / OWL - SPARQL 4
  • 5. Outline • What Is the Semantic Web? • What Problem is it Trying to Solve? • How does it Solve the problem? 5
  • 6. What is the Problem? • Web is human oriented • All nonsense to machines • Humans waste time 6
  • 7. Example http://www.peteresnyder.com/fake <div> <h1>My Homepage</h1> <p>Hi, I'm Peter E. Snyder. <p>I live in Cambridge. <p>I like the band The Fall! <p>I love professional wrestling! </div> 7
  • 8. Outline • What is the semantic web? • What problem is it trying to solve? • How does it solve the problem? 8
  • 9. Solution • Basic Track (Microformats) • W3C Recommendation (Alphabet Soup) 9
  • 10. Microformats <div class="vcard"> <p> <a class="url" href="http://www.peteresnyder.com"> http://www.peteresnyder.com </a> </p> <p> <strong>Name:</strong> <span class="fn">Peter Snyder</span> </p> <p> <strong>City:</strong> <span class="locality">Cambridge</span> </p> </div> 10
  • 11. W3C Recommends... • XML • XML Schema • RDF • RDF Schema / OWL • SPARQL 11
  • 12. XML <?xml version="1.0"?> <person> <name>Peter Snyder</name> <website>http://www.peteresnyder.com<website> <city>Cambridge</city> <interests> <interest>The Fall</interest> <interest>Professional Wrestling</interest> </interests> </person> 12
  • 13. XML Schema XML Schema <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="person"> <xs:complexType> <xs:sequence> <xs:element name="website" type="xs:string"/> <?xml version="1.0"?> <xs:element name="name"xmlns:pes=”http://www.peteresnyder.com/fake_schema”> <person type="xs:string"/> <xs:element name="city" type="xs:string"/> <pes:name>Peter Snyder</pes:name> ... <pes:website>http://www.peteresnyder.com<pes:website> <pes:city>Cambridge</pes:city> <pes:interests> <pes:interest>The Fall</pes:interest> <pes:interest>Professional Wrestling</pes:interest> </pes:interests> </pes:person> 13 XML Document
  • 14. RDF • Resource Description Framework • Description of relationships (taxonomy) • Triplets - subject: thing being described (URI) - predicate: what the relationship is - object: the object being related to 14
  • 15. RDF Cont. <urn:name:peteresnyder> <name> "Peter Snyder" . <urn:name:peteresnyder> <city> "Cambridge" . <urn:name:peteresnyder> <likes> "The Fall" . <?xml version="1.0"?> <rdf:RDF> <Human rdf:about="urn:name:peteresnyder"> <name>Peter E Snyder</name> <city>Cambridge</city> <likes>The Fall</likes> ... 15
  • 16. RDF Schema / OWL • Defines a standard way that things interact (ontology) • Common Examples - Dublin Core: Publishing - Friend of a Friend (FOAF): People - OWL is RDFS+ 16
  • 17. RDFS / OWL Cont. FOAF RDF Schema <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <foaf:Person rdf:about="urn:name:peteresnyder"> <foaf:homepage rdf:resource="http://www.peteresnyder.com"/> <foaf:givenname>Peter</foaf:givenname> <foaf:family_name>Snyder</foaf:family_name> <foaf:interest>The Fall</foaf:interest> .... 17
  • 18. SPARQL • SPARQL Protocol and RDF Query Language • SQL like language for getting data out of RDF connections / graphs 18
  • 19. SPARQL Cont. <foaf:Person rdf:about="urn:name:markesmith"> <foaf:Person rdf:about="urn:name:tinafey"> <foaf:homepage rdf:resource="http://www.peteresnyder.com"/> <foaf:Person rdf:about="urn:name:peteresnyder"> <foaf:homepage rdf:resource="http://www.peteresnyder.com"/> <foaf:givenname>Peter</foaf:givenname> <foaf:homepage rdf:resource="http://www.peteresnyder.com"/> <foaf:givenname>Peter</foaf:givenname> <foaf:family_name>Snyder</foaf:family_name> <foaf:givenname>Peter</foaf:givenname> <foaf:family_name>Snyder</foaf:family_name> <foaf:interest>The Fall</foaf:interest> <foaf:family_name>Snyder</foaf:family_name> <foaf:interest>The Fall</foaf:interest> ... <foaf:interest>The Fall</foaf:interest> ... ... + PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?givenname ?family_name WHERE { ?x foaf:interest "The Fall"} = ?givenname ?family_name “Peter” “Snyder” “Mark” “Smith” 19
  • 20. Conclusion Current Web Semantic Web <div> <?xml version="1.0"?> <h1>My Homepage</h1> <rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/"> <p>Hi, I'm Peter E. Snyder. <foaf:Person rdf:about="urn:name:peteresnyder"> <foaf:homepage rdf:resource="http:// <p>I live in Cambridge. www.peteresnyder.com"/> <p>I like the band The Fall! <foaf:givenname>Peter</foaf:givenname> <p>I love professional <foaf:family_name>Snyder</foaf:family_name> wrestling! <foaf:interest>The Fall</foaf:interest> </div> ... 20