Semantic MediaWiki - NKOS (Networked Knowledge Organization
Transcript of Semantic MediaWiki - NKOS (Networked Knowledge Organization
![Page 1: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/1.jpg)
Semantic MediaWikiA Tool for Collaborative Vocabulary
Development
Harold SolbrigDivision of Biomedical Informatics
Mayo Clinic
![Page 2: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/2.jpg)
Outline
• MediaWiki – what it is, how it works• Semantic MediaWiki – MediaWiki
meets the Semantic Web• Vocabulary Development in Semantic
MediaWiki
![Page 3: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/3.jpg)
Outline
• MediaWiki – what it is, how it works• Semantic MediaWiki – MediaWiki
meets the Semantic Web• Vocabulary Development in Semantic
MediaWiki
![Page 4: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/4.jpg)
Wiki
• Named after the Wiki Wiki shuttle bus at the Honolulu International Airport
• “Wiki” means “quick”• Characteristics
• All users can edit (almost) any page
• Links between pages are easy to create
![Page 5: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/5.jpg)
Wiki
![Page 6: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/6.jpg)
MediaWiki
• MediaWiki is one of the may “flavors”of Wiki
• Solid code base• Basis for thousands of wikis on the
web…• … including Wikipedia
![Page 7: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/7.jpg)
MediaWiki Editing
External LinkInternal Page
Classification
![Page 8: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/8.jpg)
MediaWiki Editing
External LinkExisting Internal Page
New Internal PageClassification
![Page 9: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/9.jpg)
MediaWiki EditingSelecting an existing page
![Page 10: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/10.jpg)
MediaWiki Editing
![Page 11: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/11.jpg)
MediaWiki EditingSelecting a missing page
![Page 12: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/12.jpg)
MediaWiki EditingNew Page Creation
![Page 13: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/13.jpg)
MediaWikiEditing Categories
![Page 14: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/14.jpg)
MediaWikiEditing Categories
ClassificationInternal Link
![Page 15: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/15.jpg)
MediaWikiEditing Categories
CategoryMembers
![Page 16: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/16.jpg)
WikiPediaIn MediaWiki
![Page 17: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/17.jpg)
![Page 18: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/18.jpg)
![Page 19: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/19.jpg)
Wikipedia In MediaWiki
![Page 20: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/20.jpg)
Wikipedia
• Over 10 million pages in 253 languages
• While there is still debate about the overall accuracy and reliability, there is no doubt that it represents a valuable knowledge resource
• Pages are highly interconnected (see SKOS example above) and categorized
![Page 21: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/21.jpg)
Outline
• MediaWiki – what it is, how it works• Semantic MediaWiki – MediaWiki
meets the Semantic Web• Vocabulary Development in Semantic
MediaWiki
![Page 22: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/22.jpg)
BackgroundRDF
Resource Description Framework• Describes “Resources”• Format: Subject Predicate Object
• SKOS type formal language• SKOS represents classification
schemes• SKOS released “2003”
![Page 23: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/23.jpg)
BackgroundRDFS - RDF Schema
• Adds Semantics to RDF• Class, Literal, Property, Datatype• subClass, subProperty• …
• SKOS type Knowledge Representation• Knowledge Representation subClassOf
Information Science
![Page 24: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/24.jpg)
OWL and the Semantic Web
• Represented as RDF “triples”• OWL adds further semantics to RDFS
• Inheritence, inference, set theory
![Page 25: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/25.jpg)
Semantic MediaWiki
NKOS SKOS Presentation ??? NKOS/CENDI Workshop
NKOS SKOS Presentation ??? SKOSNKOS SKOS Presentation ??? Ed Summers
NKOS SKOS Presentation type Events
![Page 26: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/26.jpg)
Semantic MediaWiki
Events ??? PeopleEvents subClassOf Happening
![Page 27: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/27.jpg)
Semantic MediaWiki
Premise is that we should be able to harvest the knowledge in Wikis (especially Wikipedia!)
• Links current page ??? Linked page• Categories:
• current page type Link• current page subclassOf Link
• Data (e.g. meeting in 2008) current page ???? (data)
![Page 28: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/28.jpg)
Semantic MediawikiProperties
Property
![Page 29: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/29.jpg)
Semantic MediawikiProperties
NKOS SKOS Presentation eventTopic SKOSNKOS SKOS Presentation presenter Ed Summers
NKOS SKOS Presentation eventURL http://...NKOS SKOS Presentation eventDate 2008
![Page 30: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/30.jpg)
Semantic MediaWikiDefining Properties
![Page 31: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/31.jpg)
Semantic MediaWikiDefining Properties
eventDate type DataPropertyeventDate range xsd:dateTime
![Page 32: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/32.jpg)
Semant MediaWikiDefining Properties
![Page 33: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/33.jpg)
Semantic MediaWikiProperty Formatting
![Page 34: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/34.jpg)
Semantic MediaWikiQuery Language
![Page 35: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/35.jpg)
Semantic MediaWikiRDF Dump
![Page 36: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/36.jpg)
![Page 37: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/37.jpg)
Semantic MediaWiki
Can generate “semantic” triples* Subject Property Object
Export RDFRun SPARQL-like queriesExtensions:• Semantic Forms – form based entry• SMW Halo – syntax directed entry
![Page 38: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/38.jpg)
Semantic Mediawiki
But what of “Semantics”?• Dublin Core• SKOS• FOAF• RDF & RDFS• OWL• …
![Page 39: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/39.jpg)
Semantic MediawikiSemantics
Solution:Import external resources via
“Semantic Templates”
![Page 40: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/40.jpg)
Templates
![Page 41: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/41.jpg)
Templates
![Page 42: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/42.jpg)
Templates
Reference
Copy
![Page 43: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/43.jpg)
Templatesas a Macro Language
Parameter SubstitutionMacro Language
![Page 44: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/44.jpg)
Templatesas a Macro Language
![Page 45: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/45.jpg)
Templatesas a Macro Language
![Page 46: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/46.jpg)
Importing OntologyUsing Templates
![Page 47: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/47.jpg)
SKOS:Concept SchemeIn Semantic MediaWiki
![Page 48: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/48.jpg)
SKOS:ConceptSchemeIn Semantic MediaWiki
![Page 49: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/49.jpg)
Importing an OntologyUsing Semantic Templates
Terminology Transform
Wiki Page
SMWLexWiki
RDF
![Page 50: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/50.jpg)
Semantic Templates
{{Template1}}[[property::value]]
{{Template2}}
Templates:1)Both rendering
and mapping2)Rendering can
be redefined
Properties:1)Must be consistent
and fixed2)Should use RDF /
DC / SKOS / …
![Page 51: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/51.jpg)
Sample from Dublin Core
![Page 52: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/52.jpg)
Semantic MediaWiki
The obvious next step…… use the wiki for creation and
improvement of terminology content
![Page 53: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/53.jpg)
Outline
• MediaWiki – what it is, how it works• Semantic MediaWiki – MediaWiki
meets the Semantic Web• Vocabulary Development in Semantic
MediaWiki
![Page 54: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/54.jpg)
Semantic MediaWikiWorkflow
Curation
SemanticMediaWiki (++)
Annotations andChange Requests
CommunityReview
Distribution
CommonDistribution
Model
OnlineServices
VersionStaging
ControlledTerminology
![Page 55: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/55.jpg)
BiomedGT
![Page 56: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/56.jpg)
Browsing
![Page 57: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/57.jpg)
BiomedGTContent search
![Page 58: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/58.jpg)
BiomedGT
Structured Changes
Free Text Discussion
Pending Changes
Subscribe
![Page 59: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/59.jpg)
Forms Based Entry
![Page 60: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/60.jpg)
BiomedGT
• Staging are for the revision of the NCI Thesaurus
• Semantic MediaWiki / Protégé Editor
![Page 61: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/61.jpg)
WHO ICD 11
![Page 62: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/62.jpg)
LexWiki
Next Steps:• Move for a “pure” RDF core in
Semantic Mediawiki• Create an RDF Model of LexGrid w/
full RDF/RDFS/DC/SKOS/… mappings• Expand the model to terminology +
metadata • 11179 Ed 3 as framework• XMDR as implementation
![Page 63: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/63.jpg)
Semantic MediaWiki
Some questions regarding categories and relations
• Are categories really type / subclass relationships…
• … or maybe just BT / LT?• Is it practical to assign roles everywhere…
• … or maybe just start w/ RT?• Is there value in a SKOS rendering…
• … or should we just “bite the bullet”?
![Page 64: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/64.jpg)
Data Models in SMW
![Page 65: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/65.jpg)
Data Models in SMW
![Page 66: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/66.jpg)
Data Models in SMW
![Page 67: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/67.jpg)
OOR Implementation
OOR
RDF Triple StoreLexGrid++/XMDR Semantics
![Page 68: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/68.jpg)
Credits
The work for this presentation was funded by the National Cancer Institute under
• GSA Contract GS-35F-0009L, Review of NCI Thesaurus for OBO-Compliance and Training to Help NCI Achieve Compliance
The picture of the “wiki wiki” bus was taken from http://en.wikipedia.org/wiki/Wiki
![Page 69: Semantic MediaWiki - NKOS (Networked Knowledge Organization](https://reader030.fdocuments.in/reader030/viewer/2022020706/61fc9d899d50e757a521aefa/html5/thumbnails/69.jpg)
References
• http://www.mediawiki.org/wiki/MediaWiki/• http://en.wikipedia.org/wiki/Main_Page• http://semantic-mediawiki.org/wiki/Semantic_MediaWiki• http://www.mediawiki.org/wiki/Extension:Semantic_Forms• http://wiki.ontoprise.de/ontoprisewiki/• http://biomedgt.nci.nih.gov/• http://informatics.mayo.edu/whodev/• http://lexgrid.org/• http://www.xmdr.org/• http://wiktolog.com/agrovoc/• https://cabig-kc.nci.nih.gov/Vocab/KC/
• Your faithful narrator: [email protected]