Sandbox10

From MarineLives
Jump to: navigation, search

Semantic Extensions



Semantic Result Formats


Semantic Result Formats adds a large number of further formats to inline queries, including formats for calendars, timelines, charts, filterable results, graphs and mathematical functions.

Authors: Jeroen De Dauw, Frank Dengler, Steren Giannini, James Hong Kong, Fabian Howahl, Yaron Koren, Markus Krötzsch, David Loomer, Rowan Rodrik van der Molen, Joel Natividad, Denny Vrandecic, Nathan Yergler, Daniel Werner

First released: August 2008

Example of filtered format - Filterable templated list on AroundIsleofWight.info

- This use of filters appears to be faceted search, similar to the TNA Discovery website



Semantic Maps


Extension:Semantic Maps

- Note that Semantic Maps extension requires Mediawiki Maps extension
- Examples of Maps extension functionality
[List of sites that use Semantic Maps List of websites using Semantic Maps]

Semantic Map examples

- Query by category

{{#ask:
[[Category:Locations]]
|?Has coordinates
|format=map
}}
{{#ask:
[[Category:Locations]]
|?Has coordinates
|format=table
}}

- Query by property

{{
#ask:
[[Has coordinates::+]]
| ?Has coordinates
| format=map
}}

- Conbined query

This query would enable:

  1. Display of locations of a certain location type, where location type is a property (e.g. street, parish, town, county, province, country)
  2. Display of smeantic biographies (all, are narrowed down) in a certain type of location


{{#ask:
 [[Category:Locations]]
 [[Has location type::Country]]
 | ? Has coordinates
 | format = map
}}

- Customisation of maps

Size by height ad width on page can be defined
Colour of markers can be defined

- Geospatial queries

Searches can be done specifying the distance from a specific location by coordinates

- Export of KML data

KML data for all pages containing coordinates can be exported using "format=kml"-



Mediawiki extensions



Widgets


The Widgets extension allows the creation of raw HTML pages that can be embedded (similarly to templates) in normal wiki pages. You do this by creating pages in the Widget namespace. They avoid the security problems of raw HTML in editable wiki pages because the privilege to edit in the Widget namespace is managed. Many pre-written Widgets are available.

See Extension:Widgets

See Widget library

Of possible interest are:

  1. Youtube widget, allowing YouTube video player to be added to wiki page
  2. Twitter account feed widget
  3. Survey monkey widget - Allows placing of Survey Monkey surveys on your web page
  4. Maps widget - probably don't need if have Google Maps extension? Widget appears to allow placement of a Googlke Map in a page, specified by size, with markers and map control instructions
  5. Google Books widget - allows viewing of Google books pages in wiki, woth scroller, magnifier and search bar; image can be sized
  6. SlideShare widget - allows display of SlideShare slideshows in wiki page
  7. Alexa traffic graph widget - allows additon of Alexa traffic graph to wiki page


These widgets seem very easy to install, for example, the SlideShare widget simply requires (a) installation of MediaWiki Widgets extension (b) copying of the full source code from the MediaWiki widgets page to your wiki



MediaWiki extensions


See Category:Stable extensions for extesnions considered to be stable