User:Yurik/rdf

From OpenStreetMap Wiki
Jump to: navigation, search

Open questions

  • How to store object type (relation, node, way) - currently reflected by first char, e.g. r7444 is a relation. Might be bad for querying.
  • How to store links to Wikipedia articles (sitelinks)?
  • How to store "central point" of an object?
  • How to store nodes, ways, and relations that belong to a relation?
    • Each relation member is stored with an extra (possibly blank) string value. We could store it under a special member prefix, e.g. osme:r123 osmm:outer osme:r456 . (relation 123 contains a relation 456)
  • How to store nodes that belong to a way?
    • For now, we will only store nodes that have tags.
    • Probably want to store "way contains node" triplet, not the backlink.
    • This item may be very expensive storage-wise, and might not be implemented.

node 26427725

osme:n26427725
 osmt:name "Venice";
 osmt:is_in "USA, California, CA, Los Angeles";
 osmt:place "suburb";
 osmt:wikidata wd:Q773853;
 osmm:type "n";
 osmm:version 3.


Paris relation 7444

osme:r7444

    osmt:admin_level       "8" ;
    osmt:alt_name:fr       "Lutèce" ;
    osmt:alt_name:vi       "Ba Lê" ;
    osmt:boundary          "administrative" ;
    osmt:capital           "yes" ;
    osmt:is_in             "Ile-de-France, France" ;
    osmt:is_in:country     "France" ;
    osmt:loc_name:fr       "Panam" ;
    osmt:name              "Paris" ;
    osmt:name:af           "Parys" ;
    osmt:name:am           "ፓሪስ" ;
    osmt:name:an           "París" ;
    osmt:name:ar           "باريس" ;
    osmt:name:arc          "ܦܐܪܝܣ" ;
    osmt:name:arz          "باريس" ;
    osmt:name:ast          "París" ;
    osmt:name:ba           "Париж" ;
    osmt:name:bat-smg      "Parīžios" ;
    osmt:name:be           "Парыж" ;
    osmt:name:be-tarask    "Парыж" ;
    osmt:name:bg           "Париж" ;
    osmt:name:bn           "প্যারিস" ;
    osmt:name:bo           "ཕ་རི།" ;
    osmt:name:br           "Pariz" ;
    osmt:name:bs           "Pariz" ;
    osmt:name:ca           "París" ;
    osmt:name:cdo          "Bă-là̤" ;
    osmt:name:ckb          "پاریس" ;
    osmt:name:co           "Parighji" ;
    osmt:name:cs           "Paříž" ;
    osmt:name:csb          "Pariz" ;
    osmt:name:cu           "Парижь" ;
    osmt:name:cv           "Парис" ;
    osmt:name:de           "Paris" ;
    osmt:name:el           "Παρίσι" ;
    osmt:name:eml          "Parì" ;
    osmt:name:eo           "Parizo" ;
    osmt:name:es           "París" ;
    osmt:name:et           "Pariis" ;
    osmt:name:eu           "Paris" ;
    osmt:name:ext          "París" ;
    osmt:name:fa           "پاریس" ;
    osmt:name:fi           "Pariisi" ;
    osmt:name:fiu-vro      "Pariis" ;
    osmt:name:fr           "Paris" ;
    osmt:name:fur          "Parîs" ;
    osmt:name:fy           "Parys" ;
    osmt:name:ga           "Páras" ;
    osmt:name:gan          "巴黎" ;
    osmt:name:gl           "París" ;
    osmt:name:gn           "Parĩ" ;
    osmt:name:gu           "પૅરિસ" ;
    osmt:name:gv           "Paarys" ;
    osmt:name:ha           "Pariis" ;
    osmt:name:hak          "Pâ-lì-sṳ" ;
    osmt:name:haw          "Palika" ;
    osmt:name:he           "פריז" ;
    osmt:name:hi           "पैरिस" ;
    osmt:name:hr           "Pariz" ;
    osmt:name:ht           "Pari" ;
    osmt:name:hu           "Párizs" ;
    osmt:name:hy           "Փարիզ" ;
    osmt:name:is           "París" ;
    osmt:name:it           "Parigi" ;
    osmt:name:ja           "パリ" ;
    osmt:name:jbo          "paris" ;
    osmt:name:ka           "პარიზი" ;
    osmt:name:kk           "Париж" ;
    osmt:name:km           "ប៉ារីស" ;
    osmt:name:kn           "ಪ್ಯಾರಿಸ್" ;
    osmt:name:ko           "파리" ;
    osmt:name:koi          "Париж" ;
    osmt:name:krc          "Париж" ;
    osmt:name:ku           "Parîs" ;
    osmt:name:kv           "Париж" ;
    osmt:name:ky           "Париж" ;
    osmt:name:la           "Lutetia" ;
    osmt:name:lb           "Paräis" ;
    osmt:name:lez          "Париж" ;
    osmt:name:li           "Paries" ;
    osmt:name:lij          "Pariggi" ;
    osmt:name:ln           "Pari" ;
    osmt:name:lt           "Paryžius" ;
    osmt:name:lv           "Parīze" ;
    osmt:name:lzh          "巴黎" ;
    osmt:name:mhr          "Париж" ;
    osmt:name:mi           "Parī" ;
    osmt:name:mk           "Париз" ;
    osmt:name:ml           "പാരിസ്" ;
    osmt:name:mn           "Парис" ;
    osmt:name:mr           "पॅरिस" ;
    osmt:name:mrj          "Париж" ;
    osmt:name:my           "ပါရီမြို့" ;
    osmt:name:myv          "Париж ош" ;
    osmt:name:mzn          "پاریس" ;
    osmt:name:nan          "Pa-lí" ;
    osmt:name:nap          "Parigge" ;
    osmt:name:nds          "Paris" ;
    osmt:name:nds-nl       "Paries" ;
    osmt:name:ne           "पेरिस" ;
    osmt:name:nl           "Parijs" ;
    osmt:name:no           "Paris" ;
    osmt:name:oc           "París" ;
    osmt:name:or           "ପ୍ୟାରିସ" ;
    osmt:name:os           "Париж" ;
    osmt:name:pa           "ਪੈਰਿਸ" ;
    osmt:name:pl           "Paryż" ;
    osmt:name:pnb          "پیرس" ;
    osmt:name:ps           "پاريس" ;
    osmt:name:roa-rup      "Parij" ;
    osmt:name:roa-tara     "Parigge" ;
    osmt:name:ru           "Париж" ;
    osmt:name:rue          "Паріж" ;
    osmt:name:sah          "Париж" ;
    osmt:name:sc           "Parigi" ;
    osmt:name:scn          "Pariggi" ;
    osmt:name:sh           "Pariz" ;
    osmt:name:sk           "Paríž" ;
    osmt:name:sl           "Pariz" ;
    osmt:name:so           "Baariis" ;
    osmt:name:sq           "Parisi" ;
    osmt:name:sr           "Париз" ;
    osmt:name:sv           "Paris" ;
    osmt:name:szl          "Paryż" ;
    osmt:name:ta           "பாரிஸ்" ;
    osmt:name:te           "పారిస్" ;
    osmt:name:tet          "París" ;
    osmt:name:tg           "Париж" ;
    osmt:name:th           "ปารีส" ;
    osmt:name:tk           "Pariž" ;
    osmt:name:tl           "Paris" ;
    osmt:name:tt           "Париж" ;
    osmt:name:tzl          "Parighi" ;
    osmt:name:udm          "Париж" ;
    osmt:name:ug           "پارىژ" ;
    osmt:name:uk           "Париж" ;
    osmt:name:ur           "پیرس" ;
    osmt:name:uz           "Parij" ;
    osmt:name:vec          "Parixe" ;
    osmt:name:vep          "Pariž" ;
    osmt:name:vi           "Paris" ;
    osmt:name:vls          "Parys" ;
    osmt:name:wo           "Pari" ;
    osmt:name:xmf          "პარიზი" ;
    osmt:name:yi           "פאריז" ;
    osmt:name:yo           "Parisi" ;
    osmt:name:yue          "巴黎" ;
    osmt:name:za           "Bahliz" ;
    osmt:name:zh           "巴黎" ;
    osmt:name:zh_pinyin    "Bālí" ;
    osmt:name:zu           "IParisi" ;
    osmt:old_name:vi       "Ba Lê" ;
    osmt:population        "2243833" ;
    osmt:ref:FR:MGP        "T1" ;
    osmt:ref:INSEE         "75056" ;
    osmt:source:population "INSEE 2013" ;
    osmt:type              "boundary" ;

#####   Wikidata tag could be anything, but usually its a Qnnn value
    osmt:wikidata          wd:Q90 ;

#####   Wikipedia language code + unescaped title
    osmt:wikipedia         "fr:Paris" .

Prefixes

@prefix osme: <http://www.openstreetmap.org/element/> .
@prefix osmt: <http://www.openstreetmap.org/tag/> .
@prefix osmm: <http://www.openstreetmap.org/meta/> .

@prefix wd: <http://www.wikidata.org/entity/> .