Difference between revisions of "Help:SemanticMW Service links"
Line 7: | Line 7: | ||
** Create an entry in MediaWiki namespace having the following format: | ** Create an entry in MediaWiki namespace having the following format: | ||
− | Mediawiki: | + | Mediawiki:Smw_service_'''''service_name''''' |
+ | |||
+ | where '''''service_name''''' is a given name for the service. The first part of the new created service name is mandatory prefixed by | ||
+ | ''Mediawiki:Smw_service_'' | ||
+ | |||
+ | ** '''edit''' the new page and insert services provided having the following format: | ||
+ | |||
+ | label text1|http://someurl.com | ||
+ | label text2|http://anotherurl.org | ||
+ | ....... | ||
+ | |||
+ | ** save the page. | ||
+ | Following these steps have been created the service to accessing ETI thesaurus: | ||
+ | |||
+ | |||
+ | *** | ||
*# Create property or modify an existing one | *# Create property or modify an existing one | ||
+ | |||
+ | |||
+ | |||
*# Property usage | *# Property usage | ||
Revision as of 12:33, 21 April 2010
Help sections |
---|
Contents · Semantic MediaWiki · Semantic Forms |
Add Ontology · Semantic links and import/export features · Import external vocabulary |
Other SemanticMW extensions · Other extensions |
Semantic MediaWiki can provide links to online services when displaying certain data in the
Factbox and in property pages. For example, when an article contains a geographic coordinate, like Geocoordinate property from Template:Metadata has, it is useful to provide links to online mapping services so that users can retrieve a map of that location with one click. An other useful example is provided by ETI thesaurus service and further it will pointed out how to use this service in relation with a Semantic MediaWiki (SMW) property.
Attaching an external service to a SMW property consists on three steps:
- Providing service links
- Create an entry in MediaWiki namespace having the following format:
Mediawiki:Smw_service_service_name
where service_name is a given name for the service. The first part of the new created service name is mandatory prefixed by Mediawiki:Smw_service_
- edit the new page and insert services provided having the following format:
label text1|http://someurl.com label text2|http://anotherurl.org .......
- save the page.
Following these steps have been created the service to accessing ETI thesaurus:
- Create property or modify an existing one
- Property usage