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


Related query syntax elements

General

Help pageSyntax elementDescription
#ask: annotation query marker
@annotation
Marks an inline query as part of an annotation2
#ask: control query marker
@control=slider
Allows to dynamically alter a result display without the need to reload a page3
#ask: deferred query marker
@deferred
Marks an inline query as deferred from regular parsing3
#ask: hierarchy depth restriction
+depth=
Restricts the hierarchy depth of a query4
#ask: printout column width
+width=
Defines a width for a printout column5
#ask: printout column width
+align=
Defines an alignment for the content of a printout column



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

Help:External identifier en 2.5.0


References

  1. ^  https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/1708
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:2572
  3. a b  Semantic MediaWiki: GitHub pull request gh:smw:2398 (Add support for @deferred mode)
  4. ^  Semantic MediaWiki: GitHub issue gh:smw:2662
  5. ^  Semantic MediaWiki: GitHub pull request gh:smw:2677