SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Dernier

Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Dernier (20)

Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 

En vedette

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
 

En vedette (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 (Peter Snyder - 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