Help:Special:Browse

From semantic-mediawiki.org
Jump to: navigation, search
SMW user manual
Introduction
Editing
Properties and types
Special properties
Inverse properties
Custom units

Semantic templates

Service links

Browsing interfaces
Special:Ask
Special:Browse
Semantic search
Selecting pages
Strict comparators
Displaying information
Result formats
Inline queries
Querying for queries
Concepts
Inferencing
Using the API
Semantic Web
RDF export

External tools

Importing vocabulary

SMW admin manual

The special page for browsing allows to see at one glance all properties and their values of a single entity. The browse page can display both the outgoing properties - those that are stated on the page, and the incoming properties - those that link to that page. This allows to browse through the web of data that is created between the entities inside the wiki by clicking on the browsing icon browsing icon in case the properties has the datatype "Page". In all other cases the search icon search icon will be shown, which points to special page "SearchByProperty".

Description

The browse interface has two main parts (when incoming properties are shown) that usually form an S (if $smwgBrowseShowInverse is not switched on). The browse interface always focuses on one specific page. The upper part of the interface shows all properties of that page and the values for these properties. The lower part shows properties that are used to link to the given page, with pages that instantiate that property. The two parts are separated by grey bars.

The properties on the upper part may be called "outgoing properties", and the properties on the lower part "incoming properties", or "properties that link here".

Sepcial:Browse
Special:Browse showing the typical "semantic S"
(top - outgoing properties, bottom - incoming properties)

Configuration

There are two global boolean settings that can be set in order to control the appearance of the page:

You can change their setting in your "LocalSettings.php" file after including Semantic MediaWiki.

Display all

If $smwgBrowseShowAll is set to true, then the browse page always shows the incoming properties, and always shows all of them. It also shows more of the incoming values. This takes more resources than the standard setting, but allows to get a quicker overview, and is reasonable for small and middle-sized wikis without "semantic hubs", i.e. pages that are linked to in many different properties from many pages (examples for such hubs are locations and times in Wikipedia).

Otherwise, the user has to actively click on "show properties that link here" in order to see the incoming properties, and then has to browse through them, if there should be many different properties.

Inverse display

If $smwgBrowseShowInverse is set to true, then the sometimes confusing S like view is abandoned and instead a form like view is shown. The upper part of the interface (the outgoing properties) are not displayed differently, but the lower part (the incoming properties) is by displaying it just as the upper part. Instead of using the property label in the property field, the system tries to create an inverse property label that will be displayed. (Note that the name of the property can be modified by a wiki sysop by changing the message MediaWiki:smw_inverse_label_property)

The inverse property label is either set explicitly (by using the Property:Inverse property label which has to be of type "Text") or it is created by applying the system message MediaWiki:smw_inverse_label_default to the actual property label.

Example: the default English value for smw_inverse_label_default is "$1 of", which means that a property like "capital" will be labelled as "capital of". So, if for example, we have stated that "Germany capital Berlin", we will see on the Browse page of "Berlin" a property called "capital of" with the value "Germany".

Note

Until Semantic MediaWiki 2.1 it was not possible to link to pages containing a hyphen, e.g. [[Special:Browse/20140912-SomeName]].



This documentation page applies to all SMW versions from 1.3.0 to the most current version.
      Other languages: defrruzh-hans

Help:Special:Browse en 1.3.0