Help:Datatype "External identifier"

From semantic-mediawiki.org
Jump to: navigation, search
External identifier
Holds a value that associates it with with a external URI for formatting
Further Information
Provided by: Semantic MediaWiki
Added in version: 2.5.0
Removed in version: still in use
Datatype ID:
_eid
Table of Contents

External identifier 1 is a datatype that associates a text value to an external URL.

For example, a value annotation like [[NDL ID::00564222]] is going to be represented as:

  • https://id.ndl.go.jp/auth/ndlna/00564222 in case the required
  • [[External formatter uri::https://id.ndl.go.jp/auth/ndlna/$1]] is denoted on the relevant property page that specifies the NDL ID property.

Features and limitations

  • The External identifier type is a text type that requires the External formatter URI property to be denoted on the property page that uses this this type
  • The annotated uri in the External formatter URI property is expected to define a place holder $1 to mark the position of the value
  • This type can easily be combined with Has uniqueness constraint or Allows pattern to build restricted constraints as to what value inputs are expected or allowed

Examples


This documentation page applies to all SMW versions from 2.5.0 to the most current version.
     

Help:External identifier en 2.5.0