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

From its-wiki.no
Jump to: navigation, search
 
(13 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 =  
 
= Semantic MediaWiki for personal usage =  
 
<!---- non wiki  - heading for slideshow    scaled="80" --->
 
<!---- non wiki  - heading for slideshow    scaled="80" --->
Line 27: Line 31:
 
* MediaWiki is the core package written in PHP
 
* MediaWiki is the core package written in PHP
 
* It is possible to add functionality with extensions
 
* It is possible to add functionality with extensions
 +
** Maps
 +
** Math --> LaTeX formulas
 
** Semantic MediaWiki
 
** Semantic MediaWiki
 
** Semantic Forms
 
** Semantic Forms
 
** Semantic Forms Input
 
** Semantic Forms Input
 
** Semantic Result Formats
 
** Semantic Result Formats
** Semantic Maps
 
** Math --> LaTeX formulas
 
 
** ...
 
** ...
 
*http://cwi.unik.no/index.php?title=Special:Version
 
*http://cwi.unik.no/index.php?title=Special:Version
 +
  
 
=⌘ SMW Requirements =
 
=⌘ SMW Requirements =
Line 40: Line 45:
 
** Apache
 
** Apache
 
** Nginx
 
** Nginx
 +
** ...
 
* PHP --> language that MediaWiki is written
 
* PHP --> language that MediaWiki is written
 
* DataBase
 
* DataBase
Line 45: Line 51:
 
** SQlite
 
** SQlite
 
** Postgress
 
** Postgress
 +
** ...
  
  
 
=⌘ MW installation =
 
=⌘ MW installation =
 
* In a local machine
 
* In a local machine
 +
** Windows
 +
*** WAMP (Windows, Apache, MySQL, PHP)
 +
** Linux
 +
*** LAMP
 +
** Mac OS
 +
*** MAMP
 +
 
* Hosting service
 
* Hosting service
 
** https://www.mediawiki.org/wiki/Hosting_services
 
** https://www.mediawiki.org/wiki/Hosting_services
 
+
** https://www.guebs.com
* Windows
+
** WAMP (Windows, Apache, MySQL, PHP)
+
* Linux
+
** LAMP
+
* Mac OS
+
** MAMP
+
  
  
 
=⌘ Environment configuration =
 
=⌘ Environment configuration =
* All data from SMW or MW is stored in a database
+
* All PAGES from MW are stored in a DATABASE
* Is important to make some database backups
+
* All MEDIA (images, pdf) are stored in Wiki installation folder.
 +
* Is IMPORTANT to make some database and media BACKUPS
 
** We can use Dropbox
 
** We can use Dropbox
  
Line 68: Line 77:
 
**Is important not to change the default locations
 
**Is important not to change the default locations
 
**Use symbolic links to point from dropbox folder to default location
 
**Use symbolic links to point from dropbox folder to default location
 +
** mklink /prefix link_path file/folder_path
 +
*** Use junction option
  
  
Line 79: Line 90:
 
** ../default_web_location/smw_folder/LocalSettings.php
 
** ../default_web_location/smw_folder/LocalSettings.php
 
** c:\wamp\www\wiki\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=
 
=⌘ MW content organization=
 
*Namespaces
 
*Namespaces
** Main
+
** Main --> default namespace
 
** Personal:
 
** Personal:
 
** Namespace:
 
** Namespace:
 
** http://cwi.unik.no/wiki/Nextelco:Technology
 
** http://cwi.unik.no/wiki/Nextelco:Technology
 
*Categories
 
*Categories
** [[:Category:category_name]]
+
** [ [:Category:category_name] ]
 
**Subcategories
 
**Subcategories
 
**http://cwi.unik.no/wiki/Special:Categories
 
**http://cwi.unik.no/wiki/Special:Categories
 
 
=⌘ MW SpecialPages =
 
* This pages help us to manage the MW.
 
** http://cwi.unik.no/wiki/Special:SpecialPages
 
*** All pages
 
*** Properties
 
*** Types
 
*** Templates
 
*** Forms
 
  
  
 
=⌘ SMW Basics =
 
=⌘ SMW Basics =
 
*Data types
 
*Data types
*Properties
+
*Properties (Triple)
** [[Property name::property value]]
+
** [ [Property name::property value] ]
 
**http://semantic-mediawiki.org/wiki/Help:Properties_and_types
 
**http://semantic-mediawiki.org/wiki/Help:Properties_and_types
 
**http://cwi.unik.no/index.php?title=Special:Propertie
 
**http://cwi.unik.no/index.php?title=Special:Propertie
Line 118: Line 129:
  
 
=⌘ SMW Inline queries =
 
=⌘ SMW Inline queries =
{{#ask: [[Category:Movies]]
+
{ {#ask: [[:Category:Movies]]
 +
 
 
| sort=Rating
 
| sort=Rating
 +
 
| order=descending
 
| order=descending
 +
 
| format=ol
 
| 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:SearchByProperty
 
*http://garitano.info/jdb/index.php?title=Special:Ask
 
*http://garitano.info/jdb/index.php?title=Special:Ask
*http://garitano.info/jdb/index.php?title=Category:Movies
 
  
  
Line 145: Line 160:
 
* Other web pages
 
* Other web pages
 
* http://www.mediawikiwidgets.org/Widgets_Catalog
 
* 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