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

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 

Dernier (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 

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