Page MenuHomePhabricator

[Session] Introduction to Semantic MediaWiki
Closed, ResolvedPublic

Description

Date: tbd (Friday?)

Host: @Krabina

Categories/Keywords: Semantic MediaWiki, Wikibase

Session type: Short presentation (including Q/A)
Session Details

An introduction to Semantic MediaWiki.

Requirements: No preparations required.

Target audience: Anyone interested in general. Anyone interested in managing data within MediaWiki and building knowledge bases.

What will participants get out of this session? Attendees get an overview of Semantic MediaWiki: What are strength and weaknesses, how it compares to other approaches (Wikibase, Cargo) and how they can join the community.

Notes from the session:

Introduction to Semantic MediaWiki

Date and time:
May 3rd, 2024 @ 11:00 am

Relevant links

  • (any more?)

Presenter

@Krabina

Participants

@Wfan
User:Danny_Benjafield_(WMDE)
User:Valerio Bozzolan
User:AnotherJensen

Notes

Introduction about what is the Semantic MediaWiki:

Krabina is an active member of the Semantic MediaWiki community ~ 15 years

Agenda:
1: Structured data in MediaWiki
2: What is Semantic MediaWiki
3: Hacking and event announcement

1: Structured data in MediaWiki

Ontology is the art of describing things in real life. MediaWiki alone does not allow to describe this indeed.

Categories example: https://en.wikipedia.org/wiki/Category:Actresses_from_Vienna

DBpedia: Extracting graph from wikipedia and make info available
Wikidata: source of information for Wikimedia Projects. The wikitext pages are not source of information.
MediaWiki + SemanticWIki: no backend, store and query data, can define structured data: result lists and formats via {{#ask:}} queries

  1. A table listing 10 random animals inhabiting savannah.

{{#ask:
[[Category:Animals]]
[[Habitat::Savannah]]

format=table
order=rand
limit=10

}}

  1. A bulleted list of wild animals sorted alphabetically.

{{#ask:
[[Category:Animals]]
[[Is domestic::No]]

format=ul
order=asc

}}

  1. A simple Dolphins’ diet name.

{{#show: Dolphin |?Diet}}

other Extensions:
new visualisations, SPARQL, responsive skins, data entry onlne forms, image annotations

The power of knowledge graphs:
Query for Austrian artists can retrieve Hedy Lamarr even when this is not tagged on her page.

Managing data in MediaWiki:
Semantic: Properties annotated with Wikitext or templates. "reference" can be used to describe items w/ statements
Wikibase: technology/code behind Wikidata
Cargo: relational tables, each represents a template
VIsualData : JSON content model

Diff between SMW and Wikibase?

  • SPARQL in both w/ external triplestore Wikibase: datamodel is tied to Wikidata, P's must be pre-defined and cannot be changed later. no built-in querying of data SMW: datamdel is flexible, properties & datatypes can be changed on the fly. Internal Query language is easier to pick up than SPARQL's technical barrier to entry.

2: What is Semantic MediaWiki

open source project: – www.semantic-mediawiki.org – https://github.com/SemanticMediaWiki
built on the MediaWiki ecosystem: the wiki engine that powers Wikipedia

Building your Knowledge Base
Using External Vocabularies
e.g.: {{#set:Imported from=schema:geo}}
Linking to external identifiers:
e.g.: {{#set:Has type=External identifier |External formatter uri= http://www.wikidata.org/entity/$1}}
Internal query language
e.g.: {{#ask: [[Category:Practices]] [[Country::Austria]] |?Organisation |?Coordinates |format=table }}

70+ Result formats: timelines, median, GANTT etc.

3: Hacking and event announcement
Get involved in the SMW community: www.semantic-mediawiki.org
Join our Github account: https://github.com/SemanticMediaWiki/
Join mailing lists: https://www.semanticmediawiki.org/wiki/Semantic_MediaWiki_mailing_lists
Element/Matric/Telegram chat https://t.me/joinchat/MCG84k3OMoaYZoFA9yhyMg
Social Media channels (Twitter, Mastodon, LinkedIn, Facebook, YouTube)

Contact:
Write me: ▪ bernhard.krabina@km-a.net or ▪ https://www.mediawiki.org/wiki/User_talk:Krabina
Help us with testing, documentation, i18n, programming, reviewing PRs
Cpnference:
Empowering Knowledge Worker
Nov 4-6, 2024 @ Vienna Austria
-> Add to the Wikidata Weekly Summary: https://www.wikidata.org/wiki/Wikidata:Status_updates/Next

KnowledgeGraph extension (wikidata.org)
-> Announce to the Wikidata Summary:
https://www.wikidata.org/wiki/Wikidata:Status_updates/Next
"Smart Comments" extension

Questions

Q: How to find bernhard krabina
A:
Bernhard.krabina@km-a.net
https://www.mediawiki.org/wiki/User_talk:Krabina
Join https://www.mediawiki.org/wiki/MediaWiki_Users_and_Developers_Conference_Fall_2024
I'l be in room Las Vegas

Photos

Socials

Event Timeline

Hello! 👋 The 2024 Hackathon Program is now open for scheduling! If you are still interested in organizing a session, you can claim a slot on a first-come, first-serve basis by adding your session to the daily program, following these instructions. We look forward to hearing your presentation!

debt triaged this task as Medium priority.
debt added a subscriber: Wfan.

I missed the introduction. Is It stored somewhere to watch it, maybe on Youtube?

It was not recorded. See me tomorrow (Sunday) morning in the Las Vegas room (will be gone after lunch).

Thanks again for the talk :) As promised, here some pictures:

https://commons.wikimedia.org/wiki/File:Introduction_to_Semantic_MediaWiki_by_Bernhard_Krabina_-_wmhack2024_-_side.jpg

https://commons.wikimedia.org/wiki/File:Introduction_to_Semantic_MediaWiki_by_Bernhard_Krabina_-_wmhack2024_-_front.jpg

If somebody here is an expert in post-production with GIMP and can help with the colors/brightness/stuff is very welcome :D I've done my best but some extra help would be super-appreciated.