Difference between revisions of "UNIKUM:Semantic MediaWiki for personal usage"

From its-wiki.no
Jump to: navigation, search
(Created page with "{{Lecture |Course=UNIKUM Kollokvie |Title=Semantic MediaWiki for personal usage |Lecture date=2014/10/16 |time=1200-1300 |Lecturer=Iñaki Garitano, |Objective=Explain the bas...")
 
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Lecture
+
{{UNIKUM Kollokvie
|Course=UNIKUM Kollokvie
+
|Date=2014/10/16
|Title=Semantic MediaWiki for personal usage
+
|Duration=1215-1300
|Lecture date=2014/10/16
+
|Place=UNIK, Room 408
|time=1200-1300
+
|Lecturer=Iñaki Garitano
|Lecturer=Iñaki Garitano,
+
|Keywords=Semantic MediaWiki
|Objective=Explain the basics about the Semantic MediaWiki for personal usage.
+
|Objective=Explain the basics about the Semantic MediaWiki
|Learning outcomes=Necessary software for personal SMW installation.
+
* Install and configuration
Basic usage of Semantic MediaWiki
+
* Extensions
|Keywords=Semantic MediaWiki,  
+
* Properties, templates, forms, categories
 +
* Result formats
 
}}
 
}}
 +
{{UNIKUM Deltakere
 +
|Master Students Number=5
 +
|PhD Students Number=0
 +
|Postdocs Number=1
 +
}}
 +
= Semantic MediaWiki for personal usage =
 +
<!---- non wiki  - heading for slideshow    scaled="80" --->
 +
<noinclude>
 +
<slideshow style="unik" headingmark="⌘" incmark="…"  scaled="true" font="Comic Sans MS, Calibri, cursive" >
 +
;title: Semantic MediaWiki
 +
;subtitle: First steps
 +
;author: Iñaki Garitano
 +
;subfooter: UNIKUM kolloq
 +
</slideshow>
 +
</noinclude>
 +
 +
 +
=⌘ MediaWiki & extensions =
 +
* MediaWiki is the core package written in PHP
 +
* It is possible to add functionality with extensions
 +
** Maps
 +
** Math --> LaTeX formulas
 +
** Semantic MediaWiki
 +
** Semantic Forms
 +
** Semantic Forms Input
 +
** Semantic Result Formats
 +
** ...
 +
*http://cwi.unik.no/index.php?title=Special:Version
 +
 +
 +
=⌘ SMW Requirements =
 +
* Web server
 +
** Apache
 +
** Nginx
 +
** ...
 +
* PHP --> language that MediaWiki is written
 +
* DataBase
 +
** MySQL
 +
** SQlite
 +
** Postgress
 +
** ...
 +
 +
 +
=⌘ MW installation =
 +
* In a local machine
 +
** Windows
 +
*** WAMP (Windows, Apache, MySQL, PHP)
 +
** Linux
 +
*** LAMP
 +
** Mac OS
 +
*** MAMP
 +
 +
* Hosting service
 +
** https://www.mediawiki.org/wiki/Hosting_services
 +
** https://www.guebs.com
 +
 +
 +
=⌘ Environment configuration =
 +
* All PAGES from MW are stored in a DATABASE
 +
* All MEDIA (images, pdf) are stored in Wiki installation folder.
 +
* Is IMPORTANT to make some database and media BACKUPS
 +
** We can use Dropbox
 +
 +
*Windows
 +
**Is important not to change the default locations
 +
**Use symbolic links to point from dropbox folder to default location
 +
** mklink /prefix link_path file/folder_path
 +
*** Use junction option
 +
 +
 +
=⌘ MW configuration =
 +
*All config setting are in LocalSettings.php file
 +
** Permissions
 +
** Extensions
 +
** Namespaces
 +
** ...
 +
*For whatever needs to be changed go to LocalSettings.php
 +
** ../default_web_location/smw_folder/LocalSettings.php
 +
** c:\wamp\www\wiki\LocalSettings.php
 +
 +
 +
=⌘ MW SpecialPages =
 +
* This pages help us to manage the MW.
 +
** All pages
 +
** Delete pages
 +
** Create users
 +
** Templates
 +
** Forms
 +
** http://cwi.unik.no/wiki/Special:SpecialPages
 +
 +
 +
=⌘ MW content organization=
 +
*Namespaces
 +
** Main --> default namespace
 +
** Personal:
 +
** Namespace:
 +
** http://cwi.unik.no/wiki/Nextelco:Technology
 +
*Categories
 +
** [ [:Category:category_name] ]
 +
**Subcategories
 +
**http://cwi.unik.no/wiki/Special:Categories
 +
 +
 +
=⌘ SMW Basics =
 +
*Data types
 +
*Properties (Triple)
 +
** [ [Property name::property value] ]
 +
**http://semantic-mediawiki.org/wiki/Help:Properties_and_types
 +
**http://cwi.unik.no/index.php?title=Special:Propertie
 +
*Templates
 +
** http://garitano.info/jdb/index.php?title=Template:Movie_description
 +
*Forms
 +
** https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms
 +
** http://garitano.info/jdb/index.php?title=Form:Movie
 +
*http://edutechwiki.unige.ch/mediawiki/images/8/8a/Semantic_Form_Diagram.svg
 +
 +
 +
=⌘ SMW Inline queries =
 +
{ {#ask: [[:Category:Movies]]
 +
 +
| sort=Rating
 +
 +
| order=descending
 +
 +
| format=ol
 +
 +
} }
 +
*http://garitano.info/jdb/index.php?title=Category:Movies
 +
*http://garitano.info/jdb/index.php?title=Special:SearchByProperty
 +
*http://garitano.info/jdb/index.php?title=Special:Ask
 +
 +
 +
=⌘ SMW Result formats =
 +
*Table
 +
*Ordered/Unordered lists
 +
*Category
 +
*Graphics
 +
*Maps
 +
** http://garitano.info/jdb/index.php?title=Presentation_at_SINTEF
 +
*http://semantic-mediawiki.org/wiki/Help:Result_formats
 +
 +
 +
=⌘ Widgets Extension =
 +
* Include videos
 +
* Social networks
 +
* Photo slideshows
 +
* Weather
 +
* Other web pages
 +
* http://www.mediawikiwidgets.org/Widgets_Catalog
 +
 +
 +
[http://semantic-mediawiki.org/w/images/e/e9/SMW_quick_reference.pdf Semantic MediaWiki quick reference]

Latest revision as of 13:32, 11 December 2014



Semantic MediaWiki for personal usage
Date 2014/10/16 1215-1300
Place UNIK, Room 408
By Iñaki Garitano
Keywords Semantic MediaWiki

Go back to UNIKUM


Objective

Explain the basics about the Semantic MediaWiki

  • Install and configuration
  • Extensions
  • Properties, templates, forms, categories
  • Result formats



Antall Deltakere

Attender type Antall deltakere
Number of Master Students 5
Number of PhD Students 0
Number of Postdocs 1
Total 6


Semantic MediaWiki for personal usage

Title
Semantic MediaWiki
Subtitle
First steps
Author
Iñaki Garitano
Footer
Semantic MediaWiki for personal usage
Subfooter
UNIKUM kolloq



⌘ MediaWiki & extensions

  • MediaWiki is the core package written in PHP
  • It is possible to add functionality with extensions
    • Maps
    • Math --> LaTeX formulas
    • Semantic MediaWiki
    • Semantic Forms
    • Semantic Forms Input
    • Semantic Result Formats
    • ...
  • http://cwi.unik.no/index.php?title=Special:Version


⌘ SMW Requirements

  • Web server
    • Apache
    • Nginx
    • ...
  • PHP --> language that MediaWiki is written
  • DataBase
    • MySQL
    • SQlite
    • Postgress
    • ...


⌘ MW installation

  • In a local machine
    • Windows
      • WAMP (Windows, Apache, MySQL, PHP)
    • Linux
      • LAMP
    • Mac OS
      • MAMP


⌘ Environment configuration

  • All PAGES from MW are stored in a DATABASE
  • All MEDIA (images, pdf) are stored in Wiki installation folder.
  • Is IMPORTANT to make some database and media BACKUPS
    • We can use Dropbox
  • Windows
    • Is important not to change the default locations
    • Use symbolic links to point from dropbox folder to default location
    • mklink /prefix link_path file/folder_path
      • Use junction option


⌘ MW configuration

  • All config setting are in LocalSettings.php file
    • Permissions
    • Extensions
    • Namespaces
    • ...
  • For whatever needs to be changed go to LocalSettings.php
    • ../default_web_location/smw_folder/LocalSettings.php
    • c:\wamp\www\wiki\LocalSettings.php


⌘ MW SpecialPages


⌘ MW content organization


⌘ SMW Basics


⌘ SMW Inline queries

{ {#ask: Category:Movies

| sort=Rating

| order=descending

| format=ol

} }


⌘ SMW Result formats


⌘ Widgets Extension


Semantic MediaWiki quick reference