# Semantic MediaWiki/Introduction
## Overview

Currently this is only a collection of links with question that were recorded while tomaschwutz was looking at this topic in 2012. See also the Semantic MediaWiki category.

## Big pictures

* What is it all about?
* What is it good for?
* Why is agreeing on common editing syntax advantages?
** Introduction
* What are the benefits compared to using categories?
* Skim through the theorethical background.
** Ontologies and the Semantic Web

## Making use of the semantic data

* What is the factbox?
* What is a semantic browser
** Browsing interfaces
** example site
* What is a semantic query?
** example
*** Task: Find all people from Germany and their cities and states
*** property names can be found on e.g. on a user factbox
** Semantic search

## Providing the semantic data

* How do I edit the semantic data?
* How to I specify the type of a property?
** Properties and types
** unfortunately does not work on wikiversity: Berlin Germany
*** edit the notes of user Carl Berlin on referata, and revert your changes using the history.
* How can you automaticall convert units?
** e.g. Property:Area
** Custom units
* What are Semantic templates good for?
** e.g. California
** background: m:Help:A quick guide to templates
* See how easy and powerful Service links can be used.

### Semantic Forms

* See how you can use Semantic Forms to
** design Categories, Properties, Templates, and Forms
* How can you use #arraymap to define multiple properties?
    {{#arraymap:{{{author|}}}|,|x|[[Has author::x]]}}
** Why to use a space (&#32;) when defining categories?
    {{#arraymap:{{{categories|}}}|,|x|[[Category:x]]|&#32;}}
* What is the syntax of form fields?
** How do you use autocompleting?
** How can you use a Category for autocompletion?
    |values from category=Area of focus
** How can you allow multiple inputs (seperated by commata)
    |list
** How can force the user to input values?
    |mandatory
** How can you have multiple instance of one template?
    {{{for template|Occupation|multiple|add button text=Add another occupation}}}
** How can the user select from a category tree?
*** mw:Extension:CategoryTree must be installed.
* How you can use Maps?

## More on semantic queries

* Here you look closer on Semantic search
* Selecting pages
** Why is it important to specify a < directly after the double collon?
*** How do you compare text alphabetically?
** Howe do you use the + wildcard symbol?
*** Pages of which namespace are selected by [[Help:+]]?
** Does [[born in::!Boston]] query return results of pages that do not have the bon in property?
** How do you use OR and ||?
*** What does [[Brazil||France||User:John Doe]] mean?
** How do you use <q> and </q> for subqueries?
* What does [[Category:Cities]] [[located in.member of::European Union]] mean?
* Displaying information
** ? does not restict results compared to query descriptions
** use the empty format # do suppress all formatting and linking in subqueries
** What are #cm, #-n, #-u and #ISO used for?
** What are [output formats] fromat=count, csv, template, ul used for?
* Inline queries
** explain the meaning of the following
** use {{#show: Berlin | ?population}} to show a single value
** What is the meaning of the following parameters?
*** limit, sort, order, align, default,
** |limit=0 |searchLabel=Click to browse
* How do you use Concepts
** to define overview pages
** to define dynamic categroies that can be used in further queries
* How can you Query linked properties?

## Inferencing

* deducing new knowledge from entered information
* Subcategories and subproperties
** Why is it important to describe the exact meaning of a category or a property very clearly?
** :: returns subCategories, : not

## Practicing

* scratchpad.referata
** server often not reachable
** twutz/reh