Documentation/Geo data

From GoodRelations Wiki
Jump to: navigation, search

Geo Data

Warning openclipart.png
Update required: The content and recommendation on this page may not reflect the current state of the art. Please help improve it by addressing the issues from the discussion page and remove this template when finished.


There are multiple vocabularies for encoding geo position information, but due to the strong support by major search engines, we recommend using the http://schema.org properties

@prefix s: <http://schema.org/>
foo:pos a gr:Location;
    gr:name "Hepp's Bagel Restaurant Munich - Bagel Street";
    s:address [ a s:PostalAddress;
                s:streetAddress "Bagel Street 1234";
                s:postalCode "12345";
                s:addressLocality "Munich, Germany" ];
    s:latitude 45.75;
    s:longitude 49.98;
    s:telephone "+49-89-12345678-0".

TBD: global URIs of schema.org properties!