Class: RDF::Vocab::GEONAMES

Inherits:
StrictVocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb

Overview

Vocabulary for http://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

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from RDF::Vocabulary

[], #[], __prefix__, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, inspect, #inspect, limit_vocabs, list, method_missing, #method_missing, ontology, properties, property, strict?, to_html, to_iri, to_jsonld, #to_s, to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#ARDF::Vocabulary::Term (readonly)

country, state, region ...



12
13
14
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 12

def A
  @A
end

#alternateNameRDF::Vocabulary::Term (readonly)



75
76
77
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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



79
80
81
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 79

def childrenFeatures
  @childrenFeatures
end

#ClassRDF::Vocabulary::Term (readonly)

A class of features.



16
17
18
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 16

def Class
  @Class
end

#CodeRDF::Vocabulary::Term (readonly)

A feature code.



20
21
22
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 20

def Code
  @Code
end

#colloquialNameRDF::Vocabulary::Term (readonly)



82
83
84
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 82

def colloquialName
  @colloquialName
end

#countryCodeRDF::Vocabulary::Term (readonly)

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

A two letters country code in the ISO 3166 list



88
89
90
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 88

def countryCode
  @countryCode
end

#FeatureRDF::Vocabulary::Term (readonly)

A geographical feature



24
25
26
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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.



92
93
94
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 92

def featureClass
  @featureClass
end

#featureCodeRDF::Vocabulary::Term (readonly)

Type of the feature, as defined in geonames taxonomy.



96
97
98
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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



28
29
30
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 28

def GeonamesFeature
  @GeonamesFeature
end

#geonamesIDRDF::Vocabulary::Term (readonly)



99
100
101
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 99

def geonamesID
  @geonamesID
end

#HRDF::Vocabulary::Term (readonly)

stream, lake, ...



32
33
34
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 32

def H
  @H
end

#historicalNameRDF::Vocabulary::Term (readonly)



102
103
104
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 102

def historicalName
  @historicalName
end

#LRDF::Vocabulary::Term (readonly)

parks,area, ...



36
37
38
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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



106
107
108
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 106

def locatedIn
  @locatedIn
end

#locationMapRDF::Vocabulary::Term (readonly)

A geonames map centered on the feature.



110
111
112
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 110

def locationMap
  @locationMap
end

#MapRDF::Vocabulary::Term (readonly)

A Web page displaying a map



40
41
42
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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.



114
115
116
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 114

def name
  @name
end

#nearbyRDF::Vocabulary::Term (readonly)

A feature close to the reference feature



118
119
120
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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



122
123
124
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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



126
127
128
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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.



130
131
132
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 130

def neighbouringFeatures
  @neighbouringFeatures
end

#officialNameRDF::Vocabulary::Term (readonly)

A name in an official local language



134
135
136
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 134

def officialName
  @officialName
end

#PRDF::Vocabulary::Term (readonly)

city, village,...



44
45
46
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 44

def P
  @P
end

#parentADM1RDF::Vocabulary::Term (readonly)



137
138
139
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 137

def parentADM1
  @parentADM1
end

#parentADM2RDF::Vocabulary::Term (readonly)



140
141
142
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 140

def parentADM2
  @parentADM2
end

#parentADM3RDF::Vocabulary::Term (readonly)



143
144
145
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 143

def parentADM3
  @parentADM3
end

#parentADM4RDF::Vocabulary::Term (readonly)



146
147
148
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 146

def parentADM4
  @parentADM4
end

#parentCountryRDF::Vocabulary::Term (readonly)



149
150
151
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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.



153
154
155
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 153

def parentFeature
  @parentFeature
end

#populationRDF::Vocabulary::Term (readonly)



156
157
158
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 156

def population
  @population
end

#postalCodeRDF::Vocabulary::Term (readonly)



159
160
161
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 159

def postalCode
  @postalCode
end

#RRDF::Vocabulary::Term (readonly)

road, railroad, ...



48
49
50
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/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.



52
53
54
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 52

def RDFData
  @RDFData
end

#SRDF::Vocabulary::Term (readonly)

spot, building, farm, ...



56
57
58
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 56

def S
  @S
end

#shortNameRDF::Vocabulary::Term (readonly)



162
163
164
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 162

def shortName
  @shortName
end

#TRDF::Vocabulary::Term (readonly)

mountain, hill, rock, ...



60
61
62
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 60

def T
  @T
end

#URDF::Vocabulary::Term (readonly)

undersea



64
65
66
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 64

def U
  @U
end

#VRDF::Vocabulary::Term (readonly)

forest, heath, ...



68
69
70
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 68

def V
  @V
end

#WikipediaArticleRDF::Vocabulary::Term (readonly)

A Wikipedia article



72
73
74
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 72

def WikipediaArticle
  @WikipediaArticle
end

#wikipediaArticleRDF::Vocabulary::Term (readonly)

A Wikipedia article of which subject is the resource.



166
167
168
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/geonames.rb', line 166

def wikipediaArticle
  @wikipediaArticle
end