Identifiers

From OpenOrg
Revision as of 10:28, 11 January 2011 by AlexDutton (talk | contribs) (Identifiers: Fixed link for skos:notation.)
Jump to: navigation, search

Identifiers

You may wish to add identifiers to the sub-units and places of your organisation. These identifiers can either be specific to your organisation, or those used more widely.

In all cases you should use skos:notation with a typed literal. The type of the literal designates the scheme of the identifier. Using skos:notation is preferred over a bespoke predicate as the latter will require a consumer to infer that it signifies an identifier, whereas skos:notation can be understood even if the scheme is unknown.

Common identification schemes

TODO: These do not currently have canonical datatype URIs defined.

  • UCAS institution code
  • Edubase URN
  • UK Register of Learning Providers Number

Defining your own identification schemes

Choose a URI within your insitution's namespace to refer to the concept scheme. Ideally this should be dereferencable.

Craft a bit of RDF to describe the concept scheme, possibly similar to the following:

<syntaxhighlight lang="xml"> <rdf:RDF …>

 <skos:ConceptScheme rdf:about="http://id.example.ac.uk/identifiers/finance">
   <rdfs:label>Finance code</rdfs:label>
   <rdfs:comment>Notation scheme used internal to the University of Example by its Finance Division to identify units.</rdfs:comment>
   <dcterms:publisher rdf:resource="http://id.example.ac.uk/units/finance-division"/>
 </skos:ConceptScheme>

</rdf:RDF> </syntaxhighlight>

Now you may annotate your places or organisations:

<syntaxhighlight lang="xml"> <rdf:RDF …>

 <aiiso:Department rdf:about="http://id.example.ac.uk/units/physics-department">
   <rdfs:label>Physics department</rdfs:label>
   <skos:notation rdf:datatype="http://id.example.ac.uk/identifiers/finance">PHY</skos:notation>
 </aiiso:Department>

</rdf:RDF> </syntaxhighlight>