UsingContactNearestAirport

FOAF documents often contain a 'contact:nearestAirport' property. This page serves as a hub of references to further documentation on this property.

 * Pixel's writeup.
 * Instructions in Japanese.
 * AirNav.com contains relevant information for air-related FOAF fields.
 * libby's docs?
 * Finding a nearest airport

From BkDeLong: So which is more appropriate in this case? The Megginson ns referenced by Pixel or the DAML namespace referenced below?

 There seems to be wide agreement on using the DAML namespace, most notably because the Megginson URI is 404. --MortenFrederiksen

Here's an (abbreviated) fragment of http://jcwinnie.us/MT/weblog/foaf.rdf where we try to show how to use both foaf:based_near and the nearestAirport markup. They serve similar purposes, but are independent.

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
  xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
  xmlns:wn="http://xmlns.com/wordnet/1.6/" 
  xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
  xmlns:pos="http://www.w3.org/2003/01/geo/wgs84_pos#"
  xmlns:wot="http://xmlns.com/wot/0.1/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:wordnet="http://xmlns.com/wordnet/1.6/"
  xmlns:dc="http://purl.org/dc/elements/1.1/" >

 <rdf:Description rdf:about="">
   <dc:title>FOAF for Jonathan Smith</dc:title>
   <dc:description>Friend-of-a-Friend description for Jonathan Smith</dc:description>
 </rdf:Description>

  <foaf:Person rdf:nodeID="jcwinnie">
    <foaf:name xml:lang="en">Jonathan Smith</foaf:name>
    <foaf:title>Wonderful Human Being</foaf:title>
    <foaf:nick>jcwinnie</foaf:nick>
    <foaf:made rdf:resource=""/>
    <foaf:mbox rdf:resource="mailto:jonathan.w.smith@att.net"/>
    <foaf:mbox_sha1sum>e155f403db629272e8f395a431a61bb60a31d69d</foaf:mbox_sha1sum>
    <foaf:pubkeyAddress rdf:resource="http://jcwinnie.us/MT/weblog/public.asc" />
    <foaf:homepage rdf:resource="http://jcwinnie.us/MT/weblog/"/>
    <foaf:weblog rdf:resource="http://jcwinnie.us/MT/weblog/"/>
    <foaf:img rdf:resource="http://jonathansmith.swiki.net/.uploads/me1996.jpg"/>
    <foaf:phone rdf:resource="tel:607-770-0911"/>
    <foaf:schoolHomepage rdf:resource="http://www.marywood.edu"/>
    <foaf:birthDate>1949-12-21</foaf:birthDate>
    <foaf:myersBriggs>INFP</foaf:myersBriggs>
    <foaf:based_near>
      <pos:Point>
        <pos:lat>42.1236</pos:lat>
        <pos:long>-75.9618</pos:long>
      </pos:Point>
    </foaf:based_near>
    <contact:nearestAirport> 
      <wn:Airport>
        <air:name>Greater Binghamton Edwin A Link Fld</air:name>
        <air:iataCode>BGM</air:iataCode>
        <air:icaoCode>KBGM</air:icaoCode>
        <air:sameIndividualAs rdf:resource="http://www.daml.org/cgi-bin/airport?BGM"/>
        <air:location>Binghamton, New York, United States</air:location>
        <air:latitude>42.20861111111111</air:latitude>
        <air:longitude>-75.97972222222222</air:longitude>
        <air:elevation>1636</air:elevation>
       </wn:Airport>
    </contact:nearestAirport>
</foaf:Person>
</rdf:RDF>