-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Country code for Switzerland has label "Europe" in filter #256
Comments
No, there is no error, I looked it up in the actual file we have copied into the GitHub repo: lobid-gnd/conf/geographic-area-code.rdf Line 134 in aab3f29
|
I think this is what's happening: XA-CH has the |
Yes, that's it. The problem occurs for every place where the broader concept is not only linked but described as an embedded node (search for |
Maybe better to handle the data as RDF and not plain XML... |
Right, this particular issue would have not come up when processing the input as RDF. The XML-based fix should be easy (don't search child elements). But we could use this as an opportunity to switch it all to RDF. That would mean SPARQL queries, right? The processing happens in the |
as workaround i flattended conf/geographic-area-code.rdf
|
Use newly added country code list and Python script for creating the map.
@leozachl I am very sorry, this lay around for such a long time although it is a rather simple fix. We will now be correcting this at last. |
As discussed in today's meeting, we will try to fix the XML-based approach first and probably close #391. One reason being that this approach is used on five files and not only on the geographic area codes. |
Am 08.06.20 um 09:53 schrieb E. E.-M.:
The filter is there but it has the wrong label, .i.e. "Europa", see http://lobid.org/gnd/search. You can also see the incorrect label at the >160k entries with country code Switzerland, see http://lobid.org/gnd/search?filter=%2B(geographicAreaCode.id%3A%22https%3A%2F%2Fd-nb.info%2Fstandards%2Fvocab%2Fgnd%2Fgeographic-area-code%23XA-CH%22)
In the SKOS vocabulary all the labels seem to be fine, see https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-CH (but maybe there was an error in the previous version which I can not access from the vocab page).
The text was updated successfully, but these errors were encountered: