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

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
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
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
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
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
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
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
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
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
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
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
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)
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 

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