Address and Phone

From OpenOrg
Revision as of 11:05, 11 January 2011 by AlexDutton (talk | contribs)
Jump to: navigation, search

Addresses, phone numbers and so forth

TODO: Does this need changing in light of this public-lod thread?

The vCard namespace (usually shortened to the prefix 'v:') provides a general way to describe contact details, which can be applied to both organisations and places.

Addresses

Note that an organisation's address is where to direct post, whereas that of a place refers to its physical location. Thus, a unit and its primary site may quite legitimately have different addresses.

An address is composed of the following parts to be reconstructed in the given order:

  • v:extended-address (e.g. *The Example Building**)
  • v:street-address (e.g. **Old Kent Road**)
  • v:locality (e.g. **London**)
  • v:postal-code (e.g. **EX1 1EX**)
  • v:country-name (e.g. **United Kingdom**)

You can omit unwanted parts as necessary.

Adddress have the type v:Address and are related to their subject by the v:adr property:

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

 <aiiso:Institution rdf:about="http://id.example.ac.uk/units/physics-department">
   <rdfs:label>