SlideShare a Scribd company logo

Practical Introduction to the Semantic Mediawiki

R
ronchet
1 of 34
Download to read offline
AIFB
Semantic mediawiki



            Some slide taken
            from Danny Drandevic
Semantic MediaWiki
     Extension of MediaWiki
        Popular Wiki engine
        Powers Wikipedia


     Extends MediaWiki by enabling…
          Typed links
          Property – Value
          Inline queries
          New ways to explore the content


     Open source and well documented


                                             2
An example RDF Schema
Annotation of WWW resources and semantic links
             domain                range
 Writer               hasWritten           Book

     subClassOf

  FamousWriter                                   type


                                                 Schema(RDFS)
                                                 Data(RDF)
      type
                  hasWritten
                                      ../ISBN00010475
 /twain/mark

                                                        3
Concepts
                                            ᆰ
                                            QuickTime e un
                                      decompressore TIFF (LZW)
                           sono necessari per visualizzare quest'immagine.




  INSTANCE <=> PAGE
  CLASS   <=> CATEGORY
  RELATION <=> PROPERTY




                                                                             4
Instance <-> Page                                                         ᆰ
                                                                          QuickTime e un
                                                                     decompressore TIFF (LZW)
                                                          sono necessari per visualizzare quest'immagine.




                         ᆰ
                         QuickTime e un
                   decompressore TIFF (LZW)
        sono necessari per visualizzare quest'immagine.




                                                                                                    5
Class <-> Category                                                        QuickTimeᆰ e un
                                                                    decompressore TIFF (LZW)
                                                          sono necessari per visualizzare quest'immagine.




                         QuickTimeᆰ e un
                   decompressore TIFF (LZW)
        sono necessari per visualizzare quest'immagine.




                                                                                                       6

Recommended

Lez 2 parte A MEDIA FUSION
Lez 2 parte A   MEDIA FUSIONLez 2 parte A   MEDIA FUSION
Lez 2 parte A MEDIA FUSIONLella Varesano
 
(ITALY/ITALIAN) KARATBARS INTERNATIONAL AFFILIATE PROGRAM/MARKETING PLAN
(ITALY/ITALIAN) KARATBARS INTERNATIONAL AFFILIATE PROGRAM/MARKETING PLAN(ITALY/ITALIAN) KARATBARS INTERNATIONAL AFFILIATE PROGRAM/MARKETING PLAN
(ITALY/ITALIAN) KARATBARS INTERNATIONAL AFFILIATE PROGRAM/MARKETING PLANTaylor Richey
 
Piano marketing karatbars
Piano marketing karatbarsPiano marketing karatbars
Piano marketing karatbarsAndrea Franchi
 
Programmare con javascript
Programmare con javascriptProgrammare con javascript
Programmare con javascriptronchet
 
Seconda guerra mondiale in europa
Seconda guerra mondiale in europaSeconda guerra mondiale in europa
Seconda guerra mondiale in europaronchet
 
Greenfoot - introduzione a Java giocando
Greenfoot - introduzione a Java giocandoGreenfoot - introduzione a Java giocando
Greenfoot - introduzione a Java giocandoronchet
 
Video on line as replacement of traditional lectures
Video on line as replacement of traditional lecturesVideo on line as replacement of traditional lectures
Video on line as replacement of traditional lecturesronchet
 
Using Wikipedia as a reference for extracting semantic information
Using Wikipedia as a reference for extracting semantic informationUsing Wikipedia as a reference for extracting semantic information
Using Wikipedia as a reference for extracting semantic informationronchet
 

More Related Content

Featured

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)

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
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Practical Introduction to the Semantic Mediawiki

  • 1. AIFB Semantic mediawiki Some slide taken from Danny Drandevic
  • 2. Semantic MediaWiki  Extension of MediaWiki  Popular Wiki engine  Powers Wikipedia  Extends MediaWiki by enabling…  Typed links  Property – Value  Inline queries  New ways to explore the content  Open source and well documented 2
  • 3. An example RDF Schema Annotation of WWW resources and semantic links domain range Writer hasWritten Book subClassOf FamousWriter type Schema(RDFS) Data(RDF) type hasWritten ../ISBN00010475 /twain/mark 3
  • 4. Concepts ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine.  INSTANCE <=> PAGE  CLASS <=> CATEGORY  RELATION <=> PROPERTY 4
  • 5. Instance <-> Page ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 5
  • 6. Class <-> Category QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 6
  • 7. Relation <-> Property QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 7
  • 8. Instance <-> Page QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 8
  • 9. Instance  Blue links mean there is a page about it  Red link means there is no page about it 9
  • 10. Class <-> Category QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un There are pages decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. describing categories 10
  • 11. Class <-> Category QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. Subclass (subcategory) of 11
  • 12. Class <-> Category QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. Extensional description List of all instances But: only direct ones 12
  • 13. Categories  Informal description  Can be discussed  Can be edited 13
  • 14. Relation <-> Property QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. There are pages describing ᆰ QuickTime e un decompressore TIFF (LZW) properties sono necessari per visualizzare quest'immagine. 14
  • 15. Relation <-> Property ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. Datatype definition 15
  • 16. Data values and types  Attributes like [[birthdate::February 27 1978]] or [[population::3,635,389]] must know the type of the value  This is done by adding [[has type::T]] on the page of the attribute  Available, predefined types: o Annotation URI Integer Page o Date String o Email Temperature o Enumeration Text URL o Float o Geographic coordinate 16
  • 17. Special:Categories QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 17
  • 18. Special:Properties QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 18
  • 19. Special:Ask ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 19
  • 20. Query examples - Category For example, the query: [[Category:Teacher]] is a query for all pages within the category Teacher, i.e. for all teachers. If you enter this in Special:Ask and click quot;Find resultsquot;, SMW executes the query and displays results as a simple list of all requested pages. If there are many results, they can be browsed via the navigations links at the top and 20 bottom of the query results
  • 21. Query examples - Subcategories For example, the query: [[Category:Person]] Will find all pages in the categories Teachers, Students and Organizer if these categories are subcategories of Person 21
  • 22. Query examples - combining queries (AND) For example, the query: [[Category:Person]] [[has nationality::Italy]] Will find all items in category Person that have the property of being italian. (AND) 22
  • 23. Query examples - combining queries (OR) For example, the query: [[Category:Organizer || Teacher]] Will find all items that are category Organizer OR in category Teacher (Set Union). [[Category:Organizer]] || [[has nationality::Italy]] Will find all items that are category Person PLUS (Union) all those that have the property of being italian. (OR) 23
  • 24. Query examples - Properties For example, the query: [[has nationality::Italy]] Will find all occurencies that have the specified property. 24
  • 25. Query examples - conditions on attributes For example, the query: [[Category:City]] [[Has population>1,000,000]] Will find all pages in the category City, having more than one million inhabitants. ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 25
  • 26. All cities having a has population property [[Category:City]] [[has population::+]] QuickTimeᆰ e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 26
  • 27. All cities having and their population [[Category:City]] [[has population::*]] ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 27
  • 28. All cities with more than 1,000,000 people and their population [[Category:City]] [[has population::>1,000,000]] [[has population::*]] ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 28
  • 29. Embedding queries into pages <ask>…</ask> ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. ᆰ QuickTime e un decompressore TIFF (LZW) sono necessari per visualizzare quest'immagine. 29
  • 31. Social aspects  You are free to define categories and properties, but…  How to decide which properties and categories are important?  How to define the properties or categories?  How to ensure high quality data? What does it mean?  How to control the wiki knowledge base and its growth? 31
  • 32. Querying and social aspects  Querying can only be done on aligned vocabularies  If half of the people use “affiliation” and the other half “works for” you cannot query the knowledge easily  Inside SMW, information integration usually happens with social tools, not with technology  Gardening tools can help with aligning vocabularies, but not replace them  Tools that allow you to rename a property throughout the wiki  Or to join two different names 32
  • 33. Exporting the data  Every page can export its knowledge as RDF 33
  • 34. Go to the wiki!  If you are e.g. Bjorn Hassler, and your user page is Bjorn:  Copy the content of your User:Bjorn page into a new page called Bjorn Hassler  Add to it the right categories (e.g. Man, Teacher)  Add to it the right properties and values (e.g. Has nationality, Has e- mail)  Replace the content of your old User: page User:Bjorn with a link to your new page [[Bjorn Hassler]]  Go to the Special:Ask page and play with queries  Discuss in group and propose new Categories and Properties 34