Tutorialon Semantic Wikis and ApplicationsMark GreavesVulcan Inc.markg@vulcan.comDaniel HanschOntoprise GmbHhansch@ontoprise.deDenny VrandecicKarlsruhe Institue of TechnologyDenny.vrandecic@kit.eduJesse WangVulcan Inc.jessew@vulcan.com
2OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
3OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
Context: Social Web, Semantic Web, and Semantic Wikis4SoftwareAgentsExpert SystemsFreebaseSchema IntegrationFacebookOpenGraphLinked DataOntologiesSemanticWikisSemantic DesktopsEvriThesauriTwine/T2Prediction MarketsIncreasing Data InterconnectionPIMsNingDatabasesFaceBookSearchEnginesAmazon ReviewsContent PortalsWeb sitesWikipediaFile serversBlogsTwitterIncreasing Social InterconnectionBased on a diagram by Nova Spivak, Radar Networks
A Range of Semantic Wiki PlatformsKiWi – Knowledge in a WikiKnoodl – Semantic Collaboration tool and application platformFreebase - Collaborative platform for almanac data by MetawebOntoWikiPhpWikiSemantic MediaWiki - an extension toMediaWikithat turns it into a semantic wiki (and SMW extensions)TikiWiki - CMS/Groupware integrates Semantic links as a core featureWikidsmart - adds semantics to Confluence (from zAgile)55
6OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
Semantic MediaWikiDenny Vrandečić, KIT / ISI, USCJune 22 2010, San Francisco
Wikis are greatEnable new scale of human collaborationEveryone can readEveryone can writeEveryone gets aggregatedEveryone is accountable for everythingBut some things are better left to machines…8
editwow. I can change the web.let’s write an encycolpedia!
Wiki Clockhttp://pageoftext.com/wikiclock
Wikis are greatEnable new scale of human collaborationEveryone can readEveryone can writeEveryone gets aggregatedEveryone is accountable for everythingBut how are semantic wikis different?Semantic+ computerv12
editediteditCountryCityPopulation = 745,514Area = 39 km2capitalmayorediteditBirthdate =1 April 1946
editeditediteditediteditMay 27 1994, Tim Berners-Lee, Keynote at WWW1
editedit
What humans are good atWhat machines are good atUnderstanding“Why”Tacit knowledgeStoriesFollowing hunchesChecking external refsExecutingFacts and figuresExplicit knowledgeKeeping track and logsAnalyzing big styleCalling web services
Universal Access toAll Knowledge
19What Wikipedia knowsWikipedia has articles about…… all cities… their populations… their mayors	So can I ask for a list of the world’s ten largest cities with a female mayor?
20Let’s see what happens…
Wikipedia’s answer: lists21
26
27
28
29
30
32
Computers are stupid34
35What humans see
What humans seeKarlsruhe... has a population of 285,812... is located inGermany... was founded in 1715... has mayor Heinz Fenrich36
What computers see
What computers seeKarlsruhe... 285,812... Germany... 1715... Heinz Fenrich38
Computers don‘t make connections39
Computers need our help40
KarlsruheKarlsruhe is a city in[[Germany]].[[Country::Germany]].GermanyCountryKarlsruheCountryGermanyKarlsruheMayorHeinz FenrichHeinz FenrichGenderMale41
{{#ask: [[Category:City]] [[located in:: Baden-Württermberg]] | format=barchart | ?population}}
External data reuseExport formatsRDF/XMLSPARQLRDFaCSVJSONiCalvCardBibtex44
47OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
External data reuseComputer understands wiki contentKnowledge based applicationsA number of export formatsRDF/XML, SPARQL, RDFa, CSV, JSON, iCal, vCard, Bibtex, ...RDF APIs in programming languagesJava, JavaScript, C/C++, Python, Ruby, Haskell, .Net, PHP, Common Lisp, Prolog, …Standards basedURIs, XML, RDF, OWL, SPARQL, …
importSemanticMediaWikias smwwiki = smw.SMW("http://semanticweb.org/")denny = wiki.load(“DennyVrandecic")printdenny.affiliation
Test wikiGo to http://scratchpat.referata.comClick on log in and then on “Create an account”Suggestion: use your name as your loginEnter your eMail (for forgotten passwords)
Editing the wikiGo to your own page (page with your name)Click on “edit”Try to add or change text You can cancel anytime, preview (just for you), or save the changes so that everyone can see them
Quick overview of wiki markup'''three apostrophes''' will make text bold''two apostrophes''' will make text italic[[Text in double square brackets]] will be links to the page named as the text in the brackets[[Link target|link text]] will display a link that looks like link textbut links to link targetThe wiki is case sensitve – but not on the first letter of a linkThe wiki is Unicode
Slide 53Overview of semantic markupTo add a page P to category C type [[Category:C]] on page PTo make a typed link of type R from page P1 to page P2 type [[R::P2]] on page P1To state the value V of an attribute A on page P type [[A::V]] on page PExample:
Data values and typesAttributes like [[birthdate::February 27 1978]] or [[population::3,635,389]] must know the type of the valueThis is done by adding [[has type::T]] on the page of the attributeAvailable, predefined types:Telephone numberRecordURLEmailAnnotation URIGeographiccoordinate (S Maps)EnumerationCustomunitsPageStringNumberBooleanDateTextCodeTemperature
Add your own informationNow add information about yourselfFor example: nationality, affiliation, age, birthday, hair color, likes…Save or preview to see if and how the information has been understoodBlue links mean there is a page about itRed link means there is no page about it
Collaborative ontology engineeringThere are pages describing categories and propertiesInformal descriptionCan be discussedCan be editedExtensional descript.List of all instancesBut: only direct onesSupercategories
Slide 57Social aspectsTask: come up with a vocabulary and the relation between the vocabularies for the whole group, using the wikiHow 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?Browse the wiki to see the results and connections
Querying the knowledgeGo to Special:AskEnter a queryQueries look like this:Conditions on a category: [[Category:X]]Conditions on a property: [[R::X]]Property conditions can be ranges, [[R::>X]], [[R::<X]]Property conditions: any value [[R::+]]Print statements: ?RExamples followSee also online docs
Query examples[[population::>1,000,000]] anything with a population of over a Million[[located in::Korea]] anything that is located in Korea[[affiliation::+]] anything that has any stated affiliation[[Category:Tutor]] all tutors[[Category:Tutor||Student]] all tutors or students (logical or)[[Category:Tutor]] [[Category:Student]] everyone who is both
Querying and social aspectsQuerying can only be done on aligned vocabulariesIf half of the people use “affiliation” and the other half “works for” you cannot query the knowledge easilyInside SMW, information integration usually happens with social tools, not with technologyGardening tools can help with aligning vocabularies, but not replace themTools that allow you to rename a property throughout the wikiOr to join two different names
Querying the wiki{{#ask:	[[Category:City]]	[[Mayor.Gender::Female]]| sort=Population}}
Querying the wiki{{#ask:	[[Category:Country]]	[[Continent::North America]]|?Population}}
Result rendering
Querying the wiki{{#ask:	[[Category:Country]]	[[Continent::North America]]|?Population|format=piechart}}
Pie chart
Querying the wiki{{#ask:	[[Category:Country]]	[[Continent::North America]]|?Population|format=barchart}}
Bar chart
68OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
SNPedia
HL7 Healthcare Terminology Management70
Taaable71
Chickipedia72
Football Indexing WikiNon-Wikipedia Look/Feel
Play-by-play video search
Highlight reel generation
Search on crowd-defined patterns (“touchdowns with big hits”)
Tree-based navigation widgetMetacafe Video Indexing and Tagging Wiki
SMW+ with Automatic Document Annotation75
Collaborative Proposal Management at BT with SMW+76Active Bid Viewer Service Desk Selector
Lightweight Project Management with SMW+77Automatically populate tables
Just the data you want, at the level you want
Calendars and timelines
Workflows
Custom Reports
Form-oriented inputs
Notifications via email/RSS
MS Office integrationShared Documentation in SMW+
Wiki-based Communities of Interest with SMW+79
Employee Skill Registries with SMW+80
Employee Home Pages in SMW+81
Community Maintained Resource Portals82
Timelines in the LiDAR Portal83
Social Networks in the LiDAR Portal84
Google Maps
SMW+ Extended Example: An Analytic EncyclopediaUltrapedia: An SMW demo built to explore data and text in a wikiWikipedia merged with the power of a databaseData extracted from Wikipedia Infobox and Table data; stored in RDFFor Authors: tools to create more compelling articlesGreat visualizations: charts, tables, timelines, photos, analyticsAlways up-to-date across the EncyclopediaEncourage data consistency and find data errorsLink in other web data sourcesFor Readers: Enhanced articles and data interactionFaceted navigationSophisticated queries (both standing and ad-hoc)Maintenance via the Wikipedia update processData is from the article text, with simple ways for article authors to maintain and extend it.Authors and readers always in the loop for merging, updating, validating, mapping87
TitleDescriptionLanguagesFurther DownWeb LinksCategorizationDomain specificDataImagesInfoboxPropertiesSources of Structured Data in Ultrapedia
Ultrapedia Data from Wikipedia Tables89TableData
Ultrapedia: An Analytic EncyclopediaGoal: Prototype a small semantic encyclopediaCreate an semantic version of a part of WikipediaSoftware is SMW+, Ontobrokertriplestore, DBpediaShow what a data-aware encyclopedia might look likeUltrapedia Prototype DetailsTest domain is German cars~2500 Wikipedia pages, ~40000 triplesFeaturesSimilar look and feel to WikipediaDynamic tables and chartsPowerful queriesNavigation beyond searchEdit, discuss and rate dataSPARQL-based queriesDerived assertions (via OntoBroker)
Wikipedia for Porsches (Acceleration Data Example)Information Need: All Porsche models that accelerate 0-100kph in under 5, 6, and 7 secondsMore Porsche Acceleration Data in Wikipedia
Main PageUltrapedia Main Page
Tree View ControlAbstract/Summary quick previewSemantics for Improved Wiki Navigation
The Porsche 996 Acceleration Table In Ultrapedia
Same Table as a Query
Which Porsches accelerate fast?Dynamically-Generated Tables for QueriesInformation Need: All Porsche models that accelerate 0-100kph in under 5, 6, and 7 secondsGraph Views of the Acceleration Data
External Data via a Live Ebay Query
Linking to External Ebay Data
Mercedes-Benz E-class W212 Gallery SectionPhotos in Wiki Articles as Data
Volkswagen Production Timeline ViewTimelines from Data
Dynamic Mapping and Charting
Editing Wiki Data In Place
105Wrap-Up Part 1: Managing Data in the 21st CenturyA New Kind of Knowledge ManagementStructured and unstructured data together in one toolBuilt with Semantic Web standards, and with web energyEmpower users with lightweight, web-friendly toolsData sharing from the start: not just another siloBuilt for collaboration on the webExample: Semantic MediaWikiand SMW+Open-source semantic wiki softwareWiki-style text/article authorship based on MediaWikiLightweight enterprise-scale data publishing Collaborative, user-governed structured and unstructured data curationA comfortable tool users to own their dataA variety of applications and uses
106Break
107OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
ExtensionsHaloS FormsS Result FormatsS LayersS TasksS CalendarMokiWikiExternal DataMaps and S MapsS DrilldownWoogleInnsbruck Ontology EditorP2P ExtensionRDFaExporterand others
Extension architectureBuilt firmly on top of MediaWikiCore SMW to be smallProvide extension hooks of its ownAllow apps on top of it
The suite of halo extensions for Semantic MediaWikiDaniel Hansch, „Semantic Wikis and Applications“ tutorial, semtech 2010hansch@ontoprise.de
AgendaWho is ontoprise?The halo extensionsVisionBenefitsHow to get it?
ontoprise: leader in semantic technologies and solutions +50 employees in Karlsruhe, Germany
 software vendor (more about us on: http://www.ontoprise.com)
 flagship product: rdf-store with reasoning capabilities (OntoBroker)
 selected customers
selected partnersBuilding the best Semantic Wiki in project halo[1]SMW+halo extensions1. http://wiki.ontoprise.com/wiki/index.php/Faq/project_halo
halo extensions - visionLeverage adoption of Semantic MediaWiki by domain experts in scientific and commercial environments by improving key product features.UsabilityRetrievalSecuritySemanticMediaWikiData processingData re-useandconsistencyAdministration
Improve usability Enable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
Improve usability Ontology browser
Improve usability Ontology browserEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
Improve usability Graphical query interface
Improve usability Graphical query interfaceOntology browserEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
Improve usability Annotation mode
Improve usability Graphical query interfaceAnnotation modeOntology browserEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
Improve usability WYSIWYG editor
Improve usability Graphical query interfaceAnnotation modeOntology browserWYSIWYG editorEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
Get better search resultsAugmented search resultsPath searchSemantic tree viewSMW blends text and data; this requires augmenting classic retrievaland navigation features with semantic data.
Enforce security policies for text and data Protection of content and dataProtection of annotations and queriesUser group managementCommercial environments require integration with central directory services and fine grained access rights to semantic data and content.
Leverage data re-use and improve consistency 2. Select available webservicesImport legacy data and tab data from web services to embed the Wikiinto a team’s data-environment. Data inconsistencies are automatically detected to improve data quality.3. Embedding webservices in articles1. Attach webservices using GUI
Powerful data processing Enhanced data modelProfessional Wiki communities request the ability to formulate complexrelationships in the Wiki (e.g. rules), which are processed automatically.Form based rule editor
Reduced administration overheadReduce the efforts for checking for compatible upgrades to a SMW installation and for downloading and installing new extensions.
Where to get it?Get a copy: http://sourceforge.net/projects/halo-extension/User forum: http://smwforum.ontoprise.comIt‘s all for free and GPL!**) Except OntoBroker and Triple store connector which are ontoprise licenses.
too complicated?then get all these features within 5 minutes:	Product home page:	http://wiki.ontoprise.com
Semantic FormsUtilizing the semanticsFacilitating data input
Benefits of Semantic FormsTo make MediaWiki templatesbetter to useTo provide a form-like User Interfaces for inexperienced users to input dataTo associate forms with a categoryHave a helper form to help wiki admins or advanced userscreate forms Variations to provide further usability enhancements
Image: Using a (basic) Form
Image: Using a (long) form
Image: Form with a (simple) stylehttp://www.thethirdturn.com/w/index.php?title=Form:Driver&action=edit
Image: Form with auto-completionAdvanced Auto-Completion on Customized Query ResultsBasic Auto-Completion on Static Permitted Values
Remember Special Properties?“Has type” is a special propertya pre-defined property for meta-dataExample: [[Has type::Type:Date]]“Allows value” is another special propertyTo specify the permitted values for the propertyExample: [[Allows value::Low]][[Allows value::Medium]][[Allows value::High]]
Form Field Input TypesString, Page, Number – text entry Text – TextArea Boolean – checkbox Date – date input or Javascriptdatepicker “Enumeration” (Page or String with “allowed values”) - DropDown list or RadioButtonList of "Enumerations" - ListBoxor CheckBoxes
Creating Forms: on Form Page
More On Auto-CompletionBasic auto-completion is on “Allowed values”Current standard is on either category or propertyAdvanced auto-completion is based on queries{{{field|story|autocomplete on query=[[Category:Project stories]][[Project sprint::<q>[[Sprint start date::<{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]][[Sprint end date::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]]</q>]]}}}
Helper Forms
Helper Form : Create a Template
Helper Form: Create a Form
Helper Form: Create a Class
Special Pages:Special:CreateForm - lets a user create a new form for adding/editing data. (See example of page)Special:CreateTemplate - lets a user create a new template. (See example of page)Special:CreateProperty - lets a user create a new property. (See example of page)Special:CreateCategory - lets a user create a new category. (See example of page)Special:CreateClass - a page that creates all the elements for a single "class" at the same time - properties, template, form and category (See example of page). Access to this page is dictated by the 'createclass' MediaWiki permission; by default, it is available to all logged-in users.Special:FormEdit - lets a user either create or edit a page using a user-defined form. (See example of page.) (This page was, until version 1.9, two separate pages: "Special:AddData" and "Special:EditData".)Special:FormStart - used to route a user to either 'FormEdit' or the relevant page's "edit with form" tab. This page should not be accessed directly by users. (This page was known until version 1.9 as "Special:AddPage".)Special:Forms - lists all form pages on the site. (See example of page)Special:RunQuery - lets a user run a query, using a form (See example of page)Special:Templates - lists all templates on the site. (See example of page)Special:UploadWindow - lets a user upload a file; very similar to the standard Special:Upload page, but without the skin. This page is called from within a form, and should not be accessed directly by users.
More InfoOn MediaWiki.org http://www.mediawiki.org/wiki/Extension:Semantic_FormsSMW User Forum (ontoprise GmbH) http://smwforum.ontoprise.com/smwforum/index.php?title=Help:Creating_Semantic_Forms&context=Help%3ASMW%2B+1.5.0
147OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
SMW:: powerful tools and contentsSemantic MediaWiki and related extensions have more potential power
Need Release ::The (more) PowerBe used by morepeopleContent in moreplacesAccessible via moreapplicationsEnhanced with moresemanticsThe more usersThe better
Need ::Workflow Integration + Usability EnhancementsInfrequentWiki users frequentlyforget where the wiki pages are locatedSearch is a break from current workflow Search result can be noisyorirrelevantUsability: Wiki/Template/SF markup syntax is not extremely hard, but enough to turn off many usersTo locate and consume info in SMW is just not easy enough, need something betterWhy don’t we leverage Microsoft Office suite?
Microsoft Office ::The Most Popular Productivity Suite
WikiTags:: How It WorksLeverage Microsoft SmartTags technologyBring SMW info to Office applications on-demandAPI for semantic data I/OUtilize semantics to improve relevanceSmart actions for semantic propertiesSmartTagAdd-insAPIAPIConnectionsSmarts
Some Semantic WikisBefore the demo, let’s look atFor more info, go to http://wiking.vulcan.com/dev/
Wiki:: Semantic Sci-Fi MovieFamiliar content just like another wikiSemantic markups shown in fact box
Wiki:: NGT - Proposal Handling
Wiki :: Agile Project ManagementProject Wiki for Milestones, User Stories, Developer Tasks, etc.
Page is form- based, with queries and semantics built-inLive actionsNow see the demoFor more info, go to http://wiking.vulcan.com/dev/
Backstage::WikiTags ExtensionWiki ValidationAuthenticationTo get the categoriesAnd descriptionsTo get the article titlesTo get the semantic propertiesTo get page infoGet all available formsSave page as a formSave page with datasetSet form of a pageCreate form templatesTo upload into the Wikihttp://wiking.vulcan.com/dev/index.php/SMW_Webservice_APIs
Extension to facilitate semantic data exchangeWeb UI to make semantic schema mapping for semantic wiki templates and formsWeb service APIs to do the samehttp://wiking.vulcan.com/dev/index.php/SemanticConnector_extensionBackstage::Semantic Connector
Special:ApiTest :: Results in JSON
Recap of demoWhat to take away from the demoFor more info, go to http://wiking.vulcan.com/wikitags/
Semantic Info::Across Office AppsDynamic Query Results from the article pageOutlookMultiple Wiki Sites supportedExcelVia SmartTagsWikiTags recognizes smartly the keywords or phrases relevant to you
Semantic Info::In Real-timeExplore related real-time semantic info across the links in articleSee articles in categories live
WikiTags::Semantic ActionsSemantic actions are based on semantic services of properties
Wiki Forms::In Microsoft OfficeView Semantic Content in familiar formsContribute into Wiki articles back
Screenshots::WikiMailUpload Emails into Wiki
Manual upload
Automatic upload by folder mapping
Conflict handling
Heuristic category
Use recipients, folders and textShortcut to create wiki articlesCustomize CategoriesConflict Resolution
Screenshot::Email in WikiAttachments automatically uploaded too
Screenshots::SettingsOption to choose categories of interestand more
WikiTags::Smart ConnectionsConsume relevant, targeted information
With the tools you are already familiar with
In the context – better relevance and productivity
Only when you need it – no information overload
In place – no search overhead to break workflow
In real time – data from wiki is live
Let you contribute to Wiki
Without knowing where the content is
Without learning wiki/template syntax170OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
Making SMW smarter - AgendaRDF and Semantic MediaWiki (SMW)Current limitations of SMWWhat is a triple store?What is the Triple Store Connector?ExamplesDerived propertiesSemantic data integration (demo!)Where to get it?Wrap up
RDF and Semantic MediaWikiRDF (Resource Description Framework) is the underlying data model of the Semantic Web and essentially also for SMW.RDF is a graph-base datamodel, i.e. all data is represented in the form or nodes that are connected via directed, labeled arcs. Two nodes connected by a arc should be interpreted as a subject-predicate-object statement (triple).Examples of three triples.SMW stores such triples in the underlying relational database
Current limitations of SMWSMW is a great semantic Web application, in the sweet spot between feature richness and engineering complexity.Limitations:Triple stores overcome these limitations.
What is a triple store?A triple store is a dedicated database for storing and retrieving RDF data.Features:Ontoprise’s “Triple store connector" creates a bridge between SMW and a triple store.
What is the Triple Store Connector?Triple Store ConnectorSemantic MediaWikihalo ExtensionTriple StoreThe Triple Store Connector[1] is a ready-to-use product from ontoprise which is installed along with SMW and attaches it to Jena[2] or OntoBroker[3].[1] http://smwforum.ontoprise.com/smwforum/index.php/Triple_store_connector[2] Open source triple store with reasoning capabilities, http://www.openjena.org/[3] Highly scalable semantic Web middleware, http://www.ontoprise.de/en/home/products/ontobroker/
ExamplesDerived properties	We formulate a rule in the Wiki to derive a property value from other properties (e.g. calculation).	Advantage: reduced amount of annotations, improved data consistency and enriched knowledge.Semantic data integration	An enterprise integrates sources of legacy data into one single source and publishes this data in the Wiki.	Advantage: data from rigid legacy systems is available for highly collaborative and flexible workflows.
First example – derived propertiesWe have a Wiki which is used for generating bids; the project team wants to calculate the estimated costs of each task from the estimated work efforts which are given in person days.Want to try out this example by yourself?Go to our online demo installation and create an account:http://smwdemo.ontoprise.com
Preparing the ontology
Preparing the ontology
Formulating the calculation rule
Formulating the calculation rule
Formulating the calculation rule

Tutorial semantic wikis and applications

  • 1.
    Tutorialon Semantic Wikisand ApplicationsMark GreavesVulcan Inc.markg@vulcan.comDaniel HanschOntoprise GmbHhansch@ontoprise.deDenny VrandecicKarlsruhe Institue of TechnologyDenny.vrandecic@kit.eduJesse WangVulcan Inc.jessew@vulcan.com
  • 2.
    2OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 3.
    3OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 4.
    Context: SocialWeb, Semantic Web, and Semantic Wikis4SoftwareAgentsExpert SystemsFreebaseSchema IntegrationFacebookOpenGraphLinked DataOntologiesSemanticWikisSemantic DesktopsEvriThesauriTwine/T2Prediction MarketsIncreasing Data InterconnectionPIMsNingDatabasesFaceBookSearchEnginesAmazon ReviewsContent PortalsWeb sitesWikipediaFile serversBlogsTwitterIncreasing Social InterconnectionBased on a diagram by Nova Spivak, Radar Networks
  • 5.
    A Range ofSemantic Wiki PlatformsKiWi – Knowledge in a WikiKnoodl – Semantic Collaboration tool and application platformFreebase - Collaborative platform for almanac data by MetawebOntoWikiPhpWikiSemantic MediaWiki - an extension toMediaWikithat turns it into a semantic wiki (and SMW extensions)TikiWiki - CMS/Groupware integrates Semantic links as a core featureWikidsmart - adds semantics to Confluence (from zAgile)55
  • 6.
    6OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 7.
    Semantic MediaWikiDenny Vrandečić,KIT / ISI, USCJune 22 2010, San Francisco
  • 8.
    Wikis are greatEnablenew scale of human collaborationEveryone can readEveryone can writeEveryone gets aggregatedEveryone is accountable for everythingBut some things are better left to machines…8
  • 9.
    editwow. I canchange the web.let’s write an encycolpedia!
  • 11.
  • 12.
    Wikis are greatEnablenew scale of human collaborationEveryone can readEveryone can writeEveryone gets aggregatedEveryone is accountable for everythingBut how are semantic wikis different?Semantic+ computerv12
  • 13.
    editediteditCountryCityPopulation = 745,514Area= 39 km2capitalmayorediteditBirthdate =1 April 1946
  • 14.
    editeditediteditediteditMay 27 1994,Tim Berners-Lee, Keynote at WWW1
  • 15.
  • 16.
    What humans aregood atWhat machines are good atUnderstanding“Why”Tacit knowledgeStoriesFollowing hunchesChecking external refsExecutingFacts and figuresExplicit knowledgeKeeping track and logsAnalyzing big styleCalling web services
  • 18.
  • 19.
    19What Wikipedia knowsWikipediahas articles about…… all cities… their populations… their mayors So can I ask for a list of the world’s ten largest cities with a female mayor?
  • 20.
  • 21.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 32.
  • 34.
  • 35.
  • 36.
    What humans seeKarlsruhe...has a population of 285,812... is located inGermany... was founded in 1715... has mayor Heinz Fenrich36
  • 37.
  • 38.
    What computers seeKarlsruhe...285,812... Germany... 1715... Heinz Fenrich38
  • 39.
  • 40.
  • 41.
    KarlsruheKarlsruhe is acity in[[Germany]].[[Country::Germany]].GermanyCountryKarlsruheCountryGermanyKarlsruheMayorHeinz FenrichHeinz FenrichGenderMale41
  • 43.
    {{#ask: [[Category:City]] [[located in:: Baden-Württermberg]] | format=barchart | ?population}}
  • 44.
    External data reuseExportformatsRDF/XMLSPARQLRDFaCSVJSONiCalvCardBibtex44
  • 47.
    47OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 48.
    External data reuseComputerunderstands wiki contentKnowledge based applicationsA number of export formatsRDF/XML, SPARQL, RDFa, CSV, JSON, iCal, vCard, Bibtex, ...RDF APIs in programming languagesJava, JavaScript, C/C++, Python, Ruby, Haskell, .Net, PHP, Common Lisp, Prolog, …Standards basedURIs, XML, RDF, OWL, SPARQL, …
  • 49.
    importSemanticMediaWikias smwwiki =smw.SMW("http://semanticweb.org/")denny = wiki.load(“DennyVrandecic")printdenny.affiliation
  • 50.
    Test wikiGo tohttp://scratchpat.referata.comClick on log in and then on “Create an account”Suggestion: use your name as your loginEnter your eMail (for forgotten passwords)
  • 51.
    Editing the wikiGoto your own page (page with your name)Click on “edit”Try to add or change text You can cancel anytime, preview (just for you), or save the changes so that everyone can see them
  • 52.
    Quick overview ofwiki markup'''three apostrophes''' will make text bold''two apostrophes''' will make text italic[[Text in double square brackets]] will be links to the page named as the text in the brackets[[Link target|link text]] will display a link that looks like link textbut links to link targetThe wiki is case sensitve – but not on the first letter of a linkThe wiki is Unicode
  • 53.
    Slide 53Overview ofsemantic markupTo add a page P to category C type [[Category:C]] on page PTo make a typed link of type R from page P1 to page P2 type [[R::P2]] on page P1To state the value V of an attribute A on page P type [[A::V]] on page PExample:
  • 54.
    Data values andtypesAttributes like [[birthdate::February 27 1978]] or [[population::3,635,389]] must know the type of the valueThis is done by adding [[has type::T]] on the page of the attributeAvailable, predefined types:Telephone numberRecordURLEmailAnnotation URIGeographiccoordinate (S Maps)EnumerationCustomunitsPageStringNumberBooleanDateTextCodeTemperature
  • 55.
    Add your owninformationNow add information about yourselfFor example: nationality, affiliation, age, birthday, hair color, likes…Save or preview to see if and how the information has been understoodBlue links mean there is a page about itRed link means there is no page about it
  • 56.
    Collaborative ontology engineeringThereare pages describing categories and propertiesInformal descriptionCan be discussedCan be editedExtensional descript.List of all instancesBut: only direct onesSupercategories
  • 57.
    Slide 57Social aspectsTask:come up with a vocabulary and the relation between the vocabularies for the whole group, using the wikiHow 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?Browse the wiki to see the results and connections
  • 58.
    Querying the knowledgeGoto Special:AskEnter a queryQueries look like this:Conditions on a category: [[Category:X]]Conditions on a property: [[R::X]]Property conditions can be ranges, [[R::>X]], [[R::<X]]Property conditions: any value [[R::+]]Print statements: ?RExamples followSee also online docs
  • 59.
    Query examples[[population::>1,000,000]] anythingwith a population of over a Million[[located in::Korea]] anything that is located in Korea[[affiliation::+]] anything that has any stated affiliation[[Category:Tutor]] all tutors[[Category:Tutor||Student]] all tutors or students (logical or)[[Category:Tutor]] [[Category:Student]] everyone who is both
  • 60.
    Querying and socialaspectsQuerying can only be done on aligned vocabulariesIf half of the people use “affiliation” and the other half “works for” you cannot query the knowledge easilyInside SMW, information integration usually happens with social tools, not with technologyGardening tools can help with aligning vocabularies, but not replace themTools that allow you to rename a property throughout the wikiOr to join two different names
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
    68OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
    Search on crowd-definedpatterns (“touchdowns with big hits”)
  • 77.
    Tree-based navigation widgetMetacafeVideo Indexing and Tagging Wiki
  • 78.
    SMW+ with AutomaticDocument Annotation75
  • 79.
    Collaborative Proposal Managementat BT with SMW+76Active Bid Viewer Service Desk Selector
  • 80.
    Lightweight Project Managementwith SMW+77Automatically populate tables
  • 81.
    Just the datayou want, at the level you want
  • 82.
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
    MS Office integrationSharedDocumentation in SMW+
  • 88.
    Wiki-based Communities ofInterest with SMW+79
  • 89.
  • 90.
  • 91.
  • 92.
    Timelines in theLiDAR Portal83
  • 93.
    Social Networks inthe LiDAR Portal84
  • 94.
  • 96.
    SMW+ Extended Example:An Analytic EncyclopediaUltrapedia: An SMW demo built to explore data and text in a wikiWikipedia merged with the power of a databaseData extracted from Wikipedia Infobox and Table data; stored in RDFFor Authors: tools to create more compelling articlesGreat visualizations: charts, tables, timelines, photos, analyticsAlways up-to-date across the EncyclopediaEncourage data consistency and find data errorsLink in other web data sourcesFor Readers: Enhanced articles and data interactionFaceted navigationSophisticated queries (both standing and ad-hoc)Maintenance via the Wikipedia update processData is from the article text, with simple ways for article authors to maintain and extend it.Authors and readers always in the loop for merging, updating, validating, mapping87
  • 97.
    TitleDescriptionLanguagesFurther DownWeb LinksCategorizationDomainspecificDataImagesInfoboxPropertiesSources of Structured Data in Ultrapedia
  • 98.
    Ultrapedia Data fromWikipedia Tables89TableData
  • 99.
    Ultrapedia: An AnalyticEncyclopediaGoal: Prototype a small semantic encyclopediaCreate an semantic version of a part of WikipediaSoftware is SMW+, Ontobrokertriplestore, DBpediaShow what a data-aware encyclopedia might look likeUltrapedia Prototype DetailsTest domain is German cars~2500 Wikipedia pages, ~40000 triplesFeaturesSimilar look and feel to WikipediaDynamic tables and chartsPowerful queriesNavigation beyond searchEdit, discuss and rate dataSPARQL-based queriesDerived assertions (via OntoBroker)
  • 100.
    Wikipedia for Porsches(Acceleration Data Example)Information Need: All Porsche models that accelerate 0-100kph in under 5, 6, and 7 secondsMore Porsche Acceleration Data in Wikipedia
  • 101.
  • 102.
    Tree View ControlAbstract/Summaryquick previewSemantics for Improved Wiki Navigation
  • 103.
    The Porsche 996Acceleration Table In Ultrapedia
  • 104.
  • 105.
    Which Porsches acceleratefast?Dynamically-Generated Tables for QueriesInformation Need: All Porsche models that accelerate 0-100kph in under 5, 6, and 7 secondsGraph Views of the Acceleration Data
  • 106.
    External Data viaa Live Ebay Query
  • 107.
  • 108.
    Mercedes-Benz E-class W212Gallery SectionPhotos in Wiki Articles as Data
  • 109.
    Volkswagen Production TimelineViewTimelines from Data
  • 110.
  • 111.
  • 112.
    105Wrap-Up Part 1:Managing Data in the 21st CenturyA New Kind of Knowledge ManagementStructured and unstructured data together in one toolBuilt with Semantic Web standards, and with web energyEmpower users with lightweight, web-friendly toolsData sharing from the start: not just another siloBuilt for collaboration on the webExample: Semantic MediaWikiand SMW+Open-source semantic wiki softwareWiki-style text/article authorship based on MediaWikiLightweight enterprise-scale data publishing Collaborative, user-governed structured and unstructured data curationA comfortable tool users to own their dataA variety of applications and uses
  • 113.
  • 114.
    107OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 115.
    ExtensionsHaloS FormsS ResultFormatsS LayersS TasksS CalendarMokiWikiExternal DataMaps and S MapsS DrilldownWoogleInnsbruck Ontology EditorP2P ExtensionRDFaExporterand others
  • 116.
    Extension architectureBuilt firmlyon top of MediaWikiCore SMW to be smallProvide extension hooks of its ownAllow apps on top of it
  • 117.
    The suite ofhalo extensions for Semantic MediaWikiDaniel Hansch, „Semantic Wikis and Applications“ tutorial, semtech 2010hansch@ontoprise.de
  • 118.
    AgendaWho is ontoprise?Thehalo extensionsVisionBenefitsHow to get it?
  • 119.
    ontoprise: leader insemantic technologies and solutions +50 employees in Karlsruhe, Germany
  • 120.
    software vendor(more about us on: http://www.ontoprise.com)
  • 121.
    flagship product:rdf-store with reasoning capabilities (OntoBroker)
  • 122.
  • 123.
    selected partnersBuilding thebest Semantic Wiki in project halo[1]SMW+halo extensions1. http://wiki.ontoprise.com/wiki/index.php/Faq/project_halo
  • 124.
    halo extensions -visionLeverage adoption of Semantic MediaWiki by domain experts in scientific and commercial environments by improving key product features.UsabilityRetrievalSecuritySemanticMediaWikiData processingData re-useandconsistencyAdministration
  • 125.
    Improve usability Enablea non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
  • 126.
  • 127.
    Improve usability OntologybrowserEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
  • 128.
  • 129.
    Improve usability Graphicalquery interfaceOntology browserEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
  • 130.
  • 131.
    Improve usability Graphicalquery interfaceAnnotation modeOntology browserEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
  • 132.
  • 133.
    Improve usability Graphicalquery interfaceAnnotation modeOntology browserWYSIWYG editorEnable a non-tech savvy Wiki community to efficiently use Wiki- and semantic features with minimal training time.
  • 134.
    Get better searchresultsAugmented search resultsPath searchSemantic tree viewSMW blends text and data; this requires augmenting classic retrievaland navigation features with semantic data.
  • 135.
    Enforce security policiesfor text and data Protection of content and dataProtection of annotations and queriesUser group managementCommercial environments require integration with central directory services and fine grained access rights to semantic data and content.
  • 136.
    Leverage data re-useand improve consistency 2. Select available webservicesImport legacy data and tab data from web services to embed the Wikiinto a team’s data-environment. Data inconsistencies are automatically detected to improve data quality.3. Embedding webservices in articles1. Attach webservices using GUI
  • 137.
    Powerful data processingEnhanced data modelProfessional Wiki communities request the ability to formulate complexrelationships in the Wiki (e.g. rules), which are processed automatically.Form based rule editor
  • 138.
    Reduced administration overheadReducethe efforts for checking for compatible upgrades to a SMW installation and for downloading and installing new extensions.
  • 139.
    Where to getit?Get a copy: http://sourceforge.net/projects/halo-extension/User forum: http://smwforum.ontoprise.comIt‘s all for free and GPL!**) Except OntoBroker and Triple store connector which are ontoprise licenses.
  • 140.
    too complicated?then getall these features within 5 minutes: Product home page: http://wiki.ontoprise.com
  • 141.
    Semantic FormsUtilizing thesemanticsFacilitating data input
  • 142.
    Benefits of SemanticFormsTo make MediaWiki templatesbetter to useTo provide a form-like User Interfaces for inexperienced users to input dataTo associate forms with a categoryHave a helper form to help wiki admins or advanced userscreate forms Variations to provide further usability enhancements
  • 143.
    Image: Using a(basic) Form
  • 144.
    Image: Using a(long) form
  • 145.
    Image: Form witha (simple) stylehttp://www.thethirdturn.com/w/index.php?title=Form:Driver&action=edit
  • 146.
    Image: Form withauto-completionAdvanced Auto-Completion on Customized Query ResultsBasic Auto-Completion on Static Permitted Values
  • 147.
    Remember Special Properties?“Hastype” is a special propertya pre-defined property for meta-dataExample: [[Has type::Type:Date]]“Allows value” is another special propertyTo specify the permitted values for the propertyExample: [[Allows value::Low]][[Allows value::Medium]][[Allows value::High]]
  • 148.
    Form Field InputTypesString, Page, Number – text entry Text – TextArea Boolean – checkbox Date – date input or Javascriptdatepicker “Enumeration” (Page or String with “allowed values”) - DropDown list or RadioButtonList of "Enumerations" - ListBoxor CheckBoxes
  • 149.
  • 150.
    More On Auto-CompletionBasicauto-completion is on “Allowed values”Current standard is on either category or propertyAdvanced auto-completion is based on queries{{{field|story|autocomplete on query=[[Category:Project stories]][[Project sprint::<q>[[Sprint start date::<{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]][[Sprint end date::>{{CURRENTYEAR}}/{{CURRENTMONTH}}/{{CURRENTDAY}}]]</q>]]}}}
  • 151.
  • 152.
    Helper Form :Create a Template
  • 153.
  • 154.
  • 155.
    Special Pages:Special:CreateForm -lets a user create a new form for adding/editing data. (See example of page)Special:CreateTemplate - lets a user create a new template. (See example of page)Special:CreateProperty - lets a user create a new property. (See example of page)Special:CreateCategory - lets a user create a new category. (See example of page)Special:CreateClass - a page that creates all the elements for a single "class" at the same time - properties, template, form and category (See example of page). Access to this page is dictated by the 'createclass' MediaWiki permission; by default, it is available to all logged-in users.Special:FormEdit - lets a user either create or edit a page using a user-defined form. (See example of page.) (This page was, until version 1.9, two separate pages: "Special:AddData" and "Special:EditData".)Special:FormStart - used to route a user to either 'FormEdit' or the relevant page's "edit with form" tab. This page should not be accessed directly by users. (This page was known until version 1.9 as "Special:AddPage".)Special:Forms - lists all form pages on the site. (See example of page)Special:RunQuery - lets a user run a query, using a form (See example of page)Special:Templates - lists all templates on the site. (See example of page)Special:UploadWindow - lets a user upload a file; very similar to the standard Special:Upload page, but without the skin. This page is called from within a form, and should not be accessed directly by users.
  • 156.
    More InfoOn MediaWiki.orghttp://www.mediawiki.org/wiki/Extension:Semantic_FormsSMW User Forum (ontoprise GmbH) http://smwforum.ontoprise.com/smwforum/index.php?title=Help:Creating_Semantic_Forms&context=Help%3ASMW%2B+1.5.0
  • 157.
    147OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 158.
    SMW:: powerful toolsand contentsSemantic MediaWiki and related extensions have more potential power
  • 159.
    Need Release ::The(more) PowerBe used by morepeopleContent in moreplacesAccessible via moreapplicationsEnhanced with moresemanticsThe more usersThe better
  • 160.
    Need ::Workflow Integration+ Usability EnhancementsInfrequentWiki users frequentlyforget where the wiki pages are locatedSearch is a break from current workflow Search result can be noisyorirrelevantUsability: Wiki/Template/SF markup syntax is not extremely hard, but enough to turn off many usersTo locate and consume info in SMW is just not easy enough, need something betterWhy don’t we leverage Microsoft Office suite?
  • 161.
    Microsoft Office ::TheMost Popular Productivity Suite
  • 162.
    WikiTags:: How ItWorksLeverage Microsoft SmartTags technologyBring SMW info to Office applications on-demandAPI for semantic data I/OUtilize semantics to improve relevanceSmart actions for semantic propertiesSmartTagAdd-insAPIAPIConnectionsSmarts
  • 163.
    Some Semantic WikisBeforethe demo, let’s look atFor more info, go to http://wiking.vulcan.com/dev/
  • 164.
    Wiki:: Semantic Sci-FiMovieFamiliar content just like another wikiSemantic markups shown in fact box
  • 165.
    Wiki:: NGT -Proposal Handling
  • 166.
    Wiki :: AgileProject ManagementProject Wiki for Milestones, User Stories, Developer Tasks, etc.
  • 167.
    Page is form-based, with queries and semantics built-inLive actionsNow see the demoFor more info, go to http://wiking.vulcan.com/dev/
  • 168.
    Backstage::WikiTags ExtensionWiki ValidationAuthenticationToget the categoriesAnd descriptionsTo get the article titlesTo get the semantic propertiesTo get page infoGet all available formsSave page as a formSave page with datasetSet form of a pageCreate form templatesTo upload into the Wikihttp://wiking.vulcan.com/dev/index.php/SMW_Webservice_APIs
  • 169.
    Extension to facilitatesemantic data exchangeWeb UI to make semantic schema mapping for semantic wiki templates and formsWeb service APIs to do the samehttp://wiking.vulcan.com/dev/index.php/SemanticConnector_extensionBackstage::Semantic Connector
  • 170.
  • 171.
    Recap of demoWhatto take away from the demoFor more info, go to http://wiking.vulcan.com/wikitags/
  • 172.
    Semantic Info::Across OfficeAppsDynamic Query Results from the article pageOutlookMultiple Wiki Sites supportedExcelVia SmartTagsWikiTags recognizes smartly the keywords or phrases relevant to you
  • 173.
    Semantic Info::In Real-timeExplorerelated real-time semantic info across the links in articleSee articles in categories live
  • 174.
    WikiTags::Semantic ActionsSemantic actionsare based on semantic services of properties
  • 175.
    Wiki Forms::In MicrosoftOfficeView Semantic Content in familiar formsContribute into Wiki articles back
  • 176.
  • 177.
  • 178.
    Automatic upload byfolder mapping
  • 179.
  • 180.
  • 181.
    Use recipients, foldersand textShortcut to create wiki articlesCustomize CategoriesConflict Resolution
  • 182.
    Screenshot::Email in WikiAttachmentsautomatically uploaded too
  • 183.
    Screenshots::SettingsOption to choosecategories of interestand more
  • 184.
  • 185.
    With the toolsyou are already familiar with
  • 186.
    In the context– better relevance and productivity
  • 187.
    Only when youneed it – no information overload
  • 188.
    In place –no search overhead to break workflow
  • 189.
    In real time– data from wiki is live
  • 190.
  • 191.
    Without knowing wherethe content is
  • 192.
    Without learning wiki/templatesyntax170OutlineTutorial Introduction and Structure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 193.
    Making SMW smarter- AgendaRDF and Semantic MediaWiki (SMW)Current limitations of SMWWhat is a triple store?What is the Triple Store Connector?ExamplesDerived propertiesSemantic data integration (demo!)Where to get it?Wrap up
  • 194.
    RDF and SemanticMediaWikiRDF (Resource Description Framework) is the underlying data model of the Semantic Web and essentially also for SMW.RDF is a graph-base datamodel, i.e. all data is represented in the form or nodes that are connected via directed, labeled arcs. Two nodes connected by a arc should be interpreted as a subject-predicate-object statement (triple).Examples of three triples.SMW stores such triples in the underlying relational database
  • 195.
    Current limitations ofSMWSMW is a great semantic Web application, in the sweet spot between feature richness and engineering complexity.Limitations:Triple stores overcome these limitations.
  • 196.
    What is atriple store?A triple store is a dedicated database for storing and retrieving RDF data.Features:Ontoprise’s “Triple store connector" creates a bridge between SMW and a triple store.
  • 197.
    What is theTriple Store Connector?Triple Store ConnectorSemantic MediaWikihalo ExtensionTriple StoreThe Triple Store Connector[1] is a ready-to-use product from ontoprise which is installed along with SMW and attaches it to Jena[2] or OntoBroker[3].[1] http://smwforum.ontoprise.com/smwforum/index.php/Triple_store_connector[2] Open source triple store with reasoning capabilities, http://www.openjena.org/[3] Highly scalable semantic Web middleware, http://www.ontoprise.de/en/home/products/ontobroker/
  • 198.
    ExamplesDerived properties We formulatea rule in the Wiki to derive a property value from other properties (e.g. calculation). Advantage: reduced amount of annotations, improved data consistency and enriched knowledge.Semantic data integration An enterprise integrates sources of legacy data into one single source and publishes this data in the Wiki. Advantage: data from rigid legacy systems is available for highly collaborative and flexible workflows.
  • 199.
    First example –derived propertiesWe have a Wiki which is used for generating bids; the project team wants to calculate the estimated costs of each task from the estimated work efforts which are given in person days.Want to try out this example by yourself?Go to our online demo installation and create an account:http://smwdemo.ontoprise.com
  • 200.
  • 201.
  • 202.
  • 203.
  • 204.
  • 205.
  • 206.
  • 207.
  • 208.
    BenefitsWe learn fromthis example:Authoring rules in a triple store connector-backed Wiki is making it a powerful data processing tool.
  • 209.
    Second example: semanticdata integrationLarge corporations have to deal with data silos making integrated views onto data hard to achieve.Resulting problems:We require a Wiki which is giving access to semantically integrated legacy data.
  • 210.
    Architecture (draft)Ontology engineeringapplication (OntoStudio)Semantic MediaWikiTriple Store Connector OntoBrokerWeb servicesRDBMSRDBMSRDBMSRDBMS
  • 211.
    Demonstration: WorkflowWe wantto provide a Wiki community with legacy data about book titles[1], the community queries the data in the Wiki and enriches it with socially curated metadata.Steps:Integrate relational data: the knowledge manager uses the ontology engineering tool „OntoStudio“ to attach the RDBMS to OntoBroker and to generate the ontology integrating the data about book titles into the Wiki.Query the integrated data: the user queries the Wiki for the book titles to generate a personalized views which can be embedded into articles.Curate the integrated data: the user tags (“annotates”) individual book titles with new meta data which can be used in queries again.[1] http://msdn.microsoft.com/en-us/library/aa238305(SQL.80).aspx
  • 212.
  • 213.
    Benefits from integratinglegacy data into the WikiWe learn from this example:Data from rigid legacy systems are available in highly collaborative and flexible workflows.
  • 214.
    Where to getit?Option 1: You are a beginner and just want to give it a try:study examples online in the smwforum: ref. [1]
  • 215.
    try them outin the online demo system: ref. [2]Option 2: You want to make your SMW installation smarter:get the halo extension for free: ref. [3]
  • 216.
    get the Triplestore connector basic for free: ref. [4]Option 3: You require a smart Wiki for your team or department:get SMW+, the Semantic Enterprise Wiki: ref. [5]
  • 217.
    get the Triplestore connector basic for free: ref. [4]Option 4: You to go enterprise level?get SMW+, the Semantic Enterprise Wiki: ref. [5]
  • 218.
    get the Triplestore connector professional: shop@ontoprise.com[1] http://smwforum.ontoprise.com/smwforum/index.php?title=Help:Creating_rules&context=Help%3ARule+Knowledge+Extension+1.1.0[2]http://smwdemo.ontoprise.com[3]http://smwforum.ontoprise.com/smwforum/index.php/Help:Halo_Extension_User_Manual[4]http://smwforum.ontoprise.com/smwforum/index.php/Help:Installing_the_Basic_Triplestore_1.2_with_Installer[5]http://smwforum.ontoprise.com/smwforum/index.php/Download
  • 219.
    Take home messageSemanticMediaWiki is a great tool! But it has limitations with regard to the query language, data processing and data integration capabilities.
  • 220.
    SMW can beimproved by further semantic extensions, such as the HALO extensions.
  • 221.
    SMW becomes versatileand smarter by using a triple store with reasoning capabilities, e.g. for reasoning and semantic data integration*
  • 222.
    Interconnect an entry-leveltriple store or an enterprise-level triple store to SMW with ontoprise‘s Triple store connector.
  • 223.
    Read more here:http://wiki.ontoprise.com*) With OntoBroker.
  • 224.
    194OutlineTutorial Introduction andStructure (Mark)Introduction to Semantic MediaWiki (Denny)Dive into Semantic MediaWiki (Denny)Applications for Semantic Wikis (Mark)Extensions for Semantic MediaWiki (Denny, Daniel, Jesse)Connecting Semantic MediaWiki with MS Office (Jesse)Augmenting Semantic MediaWiki with a Triple Store (Daniel)Future Development (Denny, Daniel, Jesse)Wrap Up and Q&A (Mark)Break (30 mins)
  • 230.
    Better Wiki I/OBetterworkflow integrationOn-demand client UI using wiki dataSmarter WikiTags matching (IR tricks)Subversion and other tools integrationMulti-model authentication support (NTLM etc.)Automatic and more powerful formsFor more info, visit http://wiking.vulcan.com/dev/Wiking
  • 231.
    SMW+ and thehalo extensionsWe make SMW a citizen of the Web of Dataimport (or remote query) and map linked data sources in the Wikiuse data in queriespublish dataJesse Wang & Daniel Hansch - SemTech 2010
  • 232.
    SMW+ and thehalo extensionsUsability improvementsRenovated graphical query interfaceFaceted browsingNotifications on semantic dataJesse Wang & Daniel Hansch - SemTech 2010
  • 233.
    SMW+ and thehalo extensionsEasier knowledge formulationTabular formsEasier semantic formsGenerating forms automatically..and much much more!Jesse Wang & Daniel Hansch - SemTech 2010
  • 234.

Editor's Notes

  • #8 Namemore limits* what are wikis not good at, like e.g.* implicit knowledge* “why”-questionsGive more questions* what are the research challenges?* what are good ideas for your PhD theses?why do we need semantics?what does semantic even mean here?, i.e. what kind of semantics?A more concise storyline, especially in the second halfWhat do you want to say?
  • #10 Wikis started by adding a simple edit link to a website
  • #14 What a semantic wiki is like
  • #15 The same as the semantic web
  • #16 So why does Wikipedia work, and wiki clock not?
  • #17 How to combine these abilities?
  • #43 Counter information overload with visualizations
  • #44 But getting these visualizations is hard
  • #46 Because then SMW can be used as a database where apps read from it
  • #47 Because then SMW can be used as a database where apps read from it
  • #92 The problem we are going to solve is “find the 0-60 times of all Porsche cars in Wikipedia”This is a sample Wikipedia page for the Porshe 996, showing its acceleration times in a performance data table.This table is manually built – all the table data exists as constants in the table.
  • #93 This is a Wikipedia page showing 0-60 times for the Porsche Cayenne.If we have to manually go through every Porsche model to assemble the 0-60 data for each model and type, this is going to take a while.A better idea is to treat Wikipedia like a database, and simply query it. Enter Ultrapedia.
  • #94 This is the Ultrapedia home page.
  • #95 First notice that Ultrapedia can leverage all the data it extracts from Wikipedia to support a much more helpful UI.For example, Ultrapedia adds a manufacturer-based navigation system on the side, and show explanatory popups. These kinds of UI tweaks aren’t possible with MediaWiki now, and are an important benefit of having the semantic data.
  • #96 Remember that we want to find the 0-60 acceleration data for all Porsche models that Wikipedia knows about.Let’s start by looking at a query generated table on the Ultrapedia Porsche 996 page. For comparison, Ultrapedia also includes the original performance table from Wikipedia (above)
  • #97 This is Ultrapedia’sPorsche 996 performance table, built by a query to the Ultrapedia database of Wikipedia-extracted data.Notice that it has the same information that the original static table has, this is because we scrape the data from the static table.This table is dyamically generated at each page load out of the extracted Wikipedia data, so it is always up to date.It is sortable and also accepts feedback and ratings on individual data items.
  • #98 Now we can answer our question about 0-60 times across all Porsche models with one simple query in Ultrapedia. We can make this an Ultrapedia-only page – the page itself just 5 queries on it (one for each acceleration range).We could also do this as one big table but it’s easier to read as 5 smaller tables.All the data here flows from Wikipedia.
  • #99 Of course once you have data, Ultrapedia can support data visualizations. This is a simple Flash-based chart widget based on the same Porsche 996 data, and included in Ultrapedia’s Porsche 996 page.It shows us that while acceleration varies dramatically, top speed and peak engine power remain fairly constant across models.The chart was specified manually with a query. There are of course a huge number of possible ways to chart a set of data, and most of these ways are uninteresting.In the Ultrapedia concept, we rely on article authors to specify interesting charts for their readers that will support the particular points in the article.
  • #100 We can also use the data to dynamically link to other data sources. In this case we have configured the Ultrapedia Porsche 996 article to include a live ebay query to find out what the Porsche 996 sells for today…We access the ebay data through a web services interface.We can do this for arbitrary other web-service-accessible data sources, like amazon or geonames.In a government or enterprise context, we would link articles to supporting data from appropriate systems of record.
  • #101 I don’t think I’ll be buying one… I think I’d rather send my daughter to college.
  • #102 Pictures automatically get metadata, so Ultrapedia can deliver an iPod-like “cover flow” browsing experience with images to augment the table data. We could also embed images or videos in the tables.
  • #103 Since Ultrapedia includes some simple internal logic about time, we can generate simple browsable timelines and use them in articles.Here we see a timeline of VW models.
  • #104 But, did you know that Uusikaupunki, Finland, is a major hub for Porsche manufacturing?Ultrapedia allows us to drill down to look at Finland’s contribution to Porsche production.
  • #105 Suppose we notice in Ultrapedia that the city of manufacture for the BMW 8-series is not right. Wikipedia (as of our copy) just says “Germany”, so that’s also what Ultrapedia says. But in Ultrapedia we can pop up a data correction dialog, which allows us to comment on this specific piece of data. If we follow the “edit data in Wikipedia” link in the popup, Ultrapedia uses its provenance information to send us to the exact line in Wikipedia where it got the data.
  • #149 Wikis, especially, semantic-enhanced wikis, are wonderful tools for collaboration and content management. Semantic MediaWiki Plus, with Halo and other useful extensions made it a great platform for web application development.
  • #150 With all the semantic structures generated, it is important to empower more people with the magic of this platform. The more people use it, the better it will be.
  • #151 With all the semantic structures generated, it is important to empower more people with the magic of this platform. The more people use it, the better it will be.
  • #152 Microsoft Office application suite has more than 90% market share, generating billions of revenue for Microsoft. Many users are dependent on the application to get their things done, such as Excel, PowerPoint. Outlook, especially, is usually open all the time, and in fact, many people spend most of their work time a day with Outlook. So, if we can entice Microsoft Office users to use Semantic Wiki, it’ll be a great plus. 500 million users is from http://blogs.technet.com/office2010/archive/2009/10/07/new-ways-to-try-and-buy-microsoft-office-2010.aspx
  • #153 WikiTags is here to bridge semantic wikis with more potential users, such as users of Microsoft Word, Outlook and Excel, with Microsoft SmartTag technology.
  • #154 Let&apos;s at first take a look at some semantic wikis we have.
  • #155 This is a bare-bone wiki for Sci-Fi movies, similar to Wikipedia except it contains extracted semantic information, shown here in the fact box.
  • #156 Here is another semantic Wiki: a simple form-based proposal tracking application. This sample article is about building a fancy doghouse. You can see the semantic &quot;Facts&quot; too, the cooking ingredients for delicious presentations.
  • #157 We also have a project management and feature documentation wiki , full of semantic templates and forms, so it is also &quot;semanticated“, a wiki of us, for us, and by us.
  • #158 Now, let&apos;s see how it works with Office applications.
  • #159 WikiMail let users contribute to the wiki using their familiar tools
  • #160 WikiMail let users contribute to the wiki using their familiar tools
  • #161 WikiMail let users contribute to the wiki using their familiar tools
  • #162 Now, let&apos;s see how it works with Office applications.
  • #163 Now you see WikiTags connect multiple wikis to bring relevant info to you when you want it, in your familiar Microsoft Office applications
  • #164 You discover rich and live semantic info, without search; you can further explore the wiki without actually going there.
  • #165 Relevant, context sensitive, semantic actions lead to higher accuracy and productivity; moreover, the semantic action services can also be in the wiki.
  • #166 WikiMail let users contribute to the wiki using their familiar tools
  • #167 WikiMail let users contribute to the wiki using their familiar tools
  • #168 Automatically uploaded and updated articles enable all team in sync with the latest info, and revision history.
  • #169 Power users can have many settings to get the maximum power.
  • #170 WikiTags can help wikis connecting to more people and releasing more power of semantic wikis, and it is available for free trial.
  • #196 Because then SMW can be used as a database where apps read from it