Documentation: Locations

This page descrives how you would add physical locations of your organisation to your OPD

Prefixes

The examples on this page require the following prefixes to be defined at the top of your OPD:

@prefix foaf: <http://xmlns.com/foaf/0.1/>. @prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>.

Physical Location

If you want to descibe a physical location (eg long/lat) of your organisation you can do so using the foaf:based_near predicate. If you want to explicity express a location using longitude and latitude you need to creat a point object, in this example give this point the URI ORG-URI#based_near_point (eg http://id.example.ac.uk/#based_near_point)

<ORG-URI> foaf:based_near <ORG-URI#based_near_point> . <ORG-URI#based_near_point> a <geo:Point> ; <geo:lat> 50.935557 ; <geo:long> -1.396011 .

If you don't want to descibe the specific location but instead descibe a locallity (eg a Post Code or City) you can use another providers dataset. Below are some example where you don't need to provide the location of the object as you are using accessable an URI, our OPD reader will go off and fetch the location information from the resorce.

<ORG-URI> foaf:based_near <http://data.ordnancesurvey.co.uk/doc/postcodeunit/SO172LG> . <ORG-URI> foaf:based_near <http://data.ordnancesurvey.co.uk/id/7000000000037256> . #7000000000037256 = Southampton <ORG-URI> foaf:based_near <http://dbpedia.org/resource/Southampton> . #Any wikipedia page with a location