Class: RDF::Vocab::GEONAMES

Inherits:
StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/vocab/geonames.rb

Overview

Vocabulary for <www.geonames.org/ontology#>

The Geonames ontology

Modifications from version 3.01 : Added : gn:GeonamesFeature, subclass of gn:Feature. Added : explicit property gn:geonamesID, mandatory and unique for each gn:GeonamesFeature instance. Deleted : owl:FunctionalProperty declarations for properties attached to gn:Feature, replaced by local cardinality restrictions on gn:GeonamesFeature The gn:Feature class and attached properties can therefore be used in the open world for features not necessarily identified in the Geonames data base, or with partial descriptions. Modified : Equivalent classes and superclasses of geonames:Feature in other vocabularies. Added : new feature codes for historical features. Improved metadata.

The Geonames ontologies provides elements of description for geographical features, in particular those defined in the geonames.org data base

Version:

  • Version 3.1 - 2012-10-29

Instance Attribute Summary collapse

Instance Attribute Details

#ARDF::Vocabulary::Term (readonly)

country, state, region …

Returns:

  • (RDF::Vocabulary::Term)


12
13
14
# File 'lib/rdf/vocab/geonames.rb', line 12

def A
  @A
end

#alternateNameRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


75
76
77
# File 'lib/rdf/vocab/geonames.rb', line 75

def alternateName
  @alternateName
end

#childrenFeaturesRDF::Vocabulary::Term (readonly)

Links to an RDF document containing the descriptions of children features

Returns:

  • (RDF::Vocabulary::Term)


79
80
81
# File 'lib/rdf/vocab/geonames.rb', line 79

def childrenFeatures
  @childrenFeatures
end

#ClassRDF::Vocabulary::Term (readonly)

A class of features.

Returns:

  • (RDF::Vocabulary::Term)


16
17
18
# File 'lib/rdf/vocab/geonames.rb', line 16

def Class
  @Class
end

#CodeRDF::Vocabulary::Term (readonly)

A feature code.

Returns:

  • (RDF::Vocabulary::Term)


20
21
22
# File 'lib/rdf/vocab/geonames.rb', line 20

def Code
  @Code
end

#colloquialNameRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


82
83
84
# File 'lib/rdf/vocab/geonames.rb', line 82

def colloquialName
  @colloquialName
end

#countryCodeRDF::Vocabulary::Term (readonly)

A two letters country code in the ISO 3166 list

The countryCode value for a Geoname Feature is equal to the countryCode value of the parentCountry value.

Returns:

  • (RDF::Vocabulary::Term)


88
89
90
# File 'lib/rdf/vocab/geonames.rb', line 88

def countryCode
  @countryCode
end

#FeatureRDF::Vocabulary::Term (readonly)

A geographical feature

Returns:

  • (RDF::Vocabulary::Term)


24
25
26
# File 'lib/rdf/vocab/geonames.rb', line 24

def Feature
  @Feature
end

#featureClassRDF::Vocabulary::Term (readonly)

The main category of the feature, as defined in geonames taxonomy.

Returns:

  • (RDF::Vocabulary::Term)


92
93
94
# File 'lib/rdf/vocab/geonames.rb', line 92

def featureClass
  @featureClass
end

#featureCodeRDF::Vocabulary::Term (readonly)

Type of the feature, as defined in geonames taxonomy.

Returns:

  • (RDF::Vocabulary::Term)


96
97
98
# File 'lib/rdf/vocab/geonames.rb', line 96

def featureCode
  @featureCode
end

#GeonamesFeatureRDF::Vocabulary::Term (readonly)

A feature described in geonames database, uniquely defined by its geonames identifier

Returns:

  • (RDF::Vocabulary::Term)


28
29
30
# File 'lib/rdf/vocab/geonames.rb', line 28

def GeonamesFeature
  @GeonamesFeature
end

#geonamesIDRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


99
100
101
# File 'lib/rdf/vocab/geonames.rb', line 99

def geonamesID
  @geonamesID
end

#HRDF::Vocabulary::Term (readonly)

stream, lake, …

Returns:

  • (RDF::Vocabulary::Term)


32
33
34
# File 'lib/rdf/vocab/geonames.rb', line 32

def H
  @H
end

#historicalNameRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


102
103
104
# File 'lib/rdf/vocab/geonames.rb', line 102

def historicalName
  @historicalName
end

#LRDF::Vocabulary::Term (readonly)

parks,area, …

Returns:

  • (RDF::Vocabulary::Term)


36
37
38
# File 'lib/rdf/vocab/geonames.rb', line 36

def L
  @L
end

#locatedInRDF::Vocabulary::Term (readonly)

Indicates that the subject resource is located in the object feature

Returns:

  • (RDF::Vocabulary::Term)


106
107
108
# File 'lib/rdf/vocab/geonames.rb', line 106

def locatedIn
  @locatedIn
end

#locationMapRDF::Vocabulary::Term (readonly)

A geonames map centered on the feature.

Returns:

  • (RDF::Vocabulary::Term)


110
111
112
# File 'lib/rdf/vocab/geonames.rb', line 110

def locationMap
  @locationMap
end

#MapRDF::Vocabulary::Term (readonly)

A Web page displaying a map

Returns:

  • (RDF::Vocabulary::Term)


40
41
42
# File 'lib/rdf/vocab/geonames.rb', line 40

def Map
  @Map
end

#nameRDF::Vocabulary::Term (readonly)

The main international name of a feature. The value has no xml:lang tag.

Returns:

  • (RDF::Vocabulary::Term)


114
115
116
# File 'lib/rdf/vocab/geonames.rb', line 114

def name
  @name
end

#nearbyRDF::Vocabulary::Term (readonly)

A feature close to the reference feature

Returns:

  • (RDF::Vocabulary::Term)


118
119
120
# File 'lib/rdf/vocab/geonames.rb', line 118

def nearby
  @nearby
end

#nearbyFeaturesRDF::Vocabulary::Term (readonly)

Links to an RDF document containing the descriptions of nearby features

Returns:

  • (RDF::Vocabulary::Term)


122
123
124
# File 'lib/rdf/vocab/geonames.rb', line 122

def nearbyFeatures
  @nearbyFeatures
end

#neighbourRDF::Vocabulary::Term (readonly)

A feature sharing a common boarder with the reference feature

Returns:

  • (RDF::Vocabulary::Term)


126
127
128
# File 'lib/rdf/vocab/geonames.rb', line 126

def neighbour
  @neighbour
end

#neighbouringFeaturesRDF::Vocabulary::Term (readonly)

Links to an RDF document containing the descriptions of neighbouring features. Applies when the feature has definite boarders.

Returns:

  • (RDF::Vocabulary::Term)


130
131
132
# File 'lib/rdf/vocab/geonames.rb', line 130

def neighbouringFeatures
  @neighbouringFeatures
end

#officialNameRDF::Vocabulary::Term (readonly)

A name in an official local language

Returns:

  • (RDF::Vocabulary::Term)


134
135
136
# File 'lib/rdf/vocab/geonames.rb', line 134

def officialName
  @officialName
end

#PRDF::Vocabulary::Term (readonly)

city, village,…

Returns:

  • (RDF::Vocabulary::Term)


44
45
46
# File 'lib/rdf/vocab/geonames.rb', line 44

def P
  @P
end

#parentADM1RDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


137
138
139
# File 'lib/rdf/vocab/geonames.rb', line 137

def parentADM1
  @parentADM1
end

#parentADM2RDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


140
141
142
# File 'lib/rdf/vocab/geonames.rb', line 140

def parentADM2
  @parentADM2
end

#parentADM3RDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


143
144
145
# File 'lib/rdf/vocab/geonames.rb', line 143

def parentADM3
  @parentADM3
end

#parentADM4RDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


146
147
148
# File 'lib/rdf/vocab/geonames.rb', line 146

def parentADM4
  @parentADM4
end

#parentCountryRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


149
150
151
# File 'lib/rdf/vocab/geonames.rb', line 149

def parentCountry
  @parentCountry
end

#parentFeatureRDF::Vocabulary::Term (readonly)

A feature parent of the current one, in either administrative or physical subdivision.

Returns:

  • (RDF::Vocabulary::Term)


153
154
155
# File 'lib/rdf/vocab/geonames.rb', line 153

def parentFeature
  @parentFeature
end

#populationRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


156
157
158
# File 'lib/rdf/vocab/geonames.rb', line 156

def population
  @population
end

#postalCodeRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


159
160
161
# File 'lib/rdf/vocab/geonames.rb', line 159

def postalCode
  @postalCode
end

#RRDF::Vocabulary::Term (readonly)

road, railroad, …

Returns:

  • (RDF::Vocabulary::Term)


48
49
50
# File 'lib/rdf/vocab/geonames.rb', line 48

def R
  @R
end

#RDFDataRDF::Vocabulary::Term (readonly)

A Document containing RDF description of one or several features.

Returns:

  • (RDF::Vocabulary::Term)


52
53
54
# File 'lib/rdf/vocab/geonames.rb', line 52

def RDFData
  @RDFData
end

#SRDF::Vocabulary::Term (readonly)

spot, building, farm, …

Returns:

  • (RDF::Vocabulary::Term)


56
57
58
# File 'lib/rdf/vocab/geonames.rb', line 56

def S
  @S
end

#shortNameRDF::Vocabulary::Term (readonly)

Returns:

  • (RDF::Vocabulary::Term)


162
163
164
# File 'lib/rdf/vocab/geonames.rb', line 162

def shortName
  @shortName
end

#TRDF::Vocabulary::Term (readonly)

mountain, hill, rock, …

Returns:

  • (RDF::Vocabulary::Term)


60
61
62
# File 'lib/rdf/vocab/geonames.rb', line 60

def T
  @T
end

#URDF::Vocabulary::Term (readonly)

undersea

Returns:

  • (RDF::Vocabulary::Term)


64
65
66
# File 'lib/rdf/vocab/geonames.rb', line 64

def U
  @U
end

#VRDF::Vocabulary::Term (readonly)

forest, heath, …

Returns:

  • (RDF::Vocabulary::Term)


68
69
70
# File 'lib/rdf/vocab/geonames.rb', line 68

def V
  @V
end

#WikipediaArticleRDF::Vocabulary::Term (readonly)

A Wikipedia article

Returns:

  • (RDF::Vocabulary::Term)


72
73
74
# File 'lib/rdf/vocab/geonames.rb', line 72

def WikipediaArticle
  @WikipediaArticle
end

#wikipediaArticleRDF::Vocabulary::Term (readonly)

A Wikipedia article of which subject is the resource.

Returns:

  • (RDF::Vocabulary::Term)


166
167
168
# File 'lib/rdf/vocab/geonames.rb', line 166

def wikipediaArticle
  @wikipediaArticle
end