Closed SvenLieber closed 4 months ago
The parameter --column-country
specifies the name of the column in the output file in which found country information is stored. However, if I provide the name of an existing country column that already contains values, it will be overwritten.
So technically I should provide a new column name such as found-country
. But this is apparently not intuitive. In case the specified country column already exists, I should take the value it already has.
While working on #251 I noticed that the geonames enrichment script removes a country if no match is found. See example below:
Countries are removed in the file on the right, thus when that file is used to create RDF representations, the country is missing. If it is just used to add geonames identifiers and coordinates to already existing RDF (thus if the file on the left is the result of a SPARQL query), nothing will be broken, because the country URIs and labels are already part of the RDF.