Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Rettinghaus authored Aug 25, 2023
1 parent eeb2176 commit b390a9f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ h2. Data

The are three data sources involved:

EntityFacts (JSON-LD over HTTP), GND baseline (RDF-XML over HTTP), and GND updates (RDF-XML over OAI-PMH).
Entity Facts (JSON-LD over HTTP), GND baseline (RDF-XML over HTTP), and GND updates (RDF-XML over OAI-PMH).

h3. EntityFacts
h3. Entity Facts

Set up a location for the EntityFacts input data:
Set up a location for the Entity Facts input data:

@mkdir entityfacts ; cd entityfacts@

Get the latest EntityFacts data from the DNB (see "https://data.dnb.de/opendata/":https://data.dnb.de/opendata/):
Get the latest Entity Facts data from the DNB (see "https://data.dnb.de/opendata/":https://data.dnb.de/opendata/):

@wget https://data.dnb.de/opendata/authorities_entityfacts.jsonld.gz@

Expand Down
8 changes: 4 additions & 4 deletions app/apps/Convert.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ private static JsonNode withEntityFacts(String id, JsonNode node) {
try {
String index = config("index.entityfacts.index");
String type = config("index.entityfacts.type");
Logger.debug("EntityFacts request, index {} type {} id {}", index, type, id);
Logger.debug("Entity Facts request, index {} type {} id {}", index, type, id);
GetResponse response = CLIENT.prepareGet(index, type, id).execute().actionGet();
if (response.isExists()) {
JsonNode json = Json.parse(response.getSourceAsString());
Expand All @@ -300,10 +300,10 @@ private static JsonNode withEntityFacts(String id, JsonNode node) {
result = Json.toJson(map);
Logger.debug("Final JSON for {}: {}", id, result);
} else {
Logger.debug("No EntityFacts response {} for {}", response.getSourceAsString(), id);
Logger.debug("No Entity Facts response {} for {}", response.getSourceAsString(), id);
}
} catch (Exception e) {
Logger.error("Could not enrich {} from EntityFacts: {} ({})", id, e.getClass(), e.getMessage());
Logger.error("Could not enrich {} from Entity Facts: {} ({})", id, e.getClass(), e.getMessage());
}
return result;
}
Expand Down Expand Up @@ -336,7 +336,7 @@ private static Map<String, Object> addIfExists(JsonNode result, JsonNode depicti
"url", depiction.get("url"), //
"thumbnail", depiction.get("thumbnail").get("@id"))));
} else {
Logger.debug("No EntityFacts depiction for {}", result);
Logger.debug("No Entity Facts depiction for {}", result);
}
map.put("sameAs", sorted((List<Map<String, Object>>) map.get("sameAs")));
return map;
Expand Down
2 changes: 1 addition & 1 deletion app/views/details.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
Datenquelle@if(entityFacts){n}: DNB <a href='https://www.dnb.de/lds'>Linked-Data-Service</a>
(<a title='RDF/XML aus GND anzeigen' href='https://d-nb.info/gnd/@resource.getId()/about/lds.rdf'>RDF/XML</a>,
<a title='Turtle aus GND anzeigen' href='https://d-nb.info/gnd/@resource.getId()/about/lds.ttl'>Turtle</a>)
@if(entityFacts){und <a href='https://www.dnb.de/entityfacts'>EntityFacts</a> (<a title="JSON-LD in EntityFacts anzeigen" href='@(controllers.HomeController.config("entityfacts.live")+resource.getId)'>JSON-LD</a>)}
@if(entityFacts){und <a href='https://www.dnb.de/entityfacts'>Entity Facts</a> (<a title="JSON-LD in Entity Facts anzeigen" href='@(controllers.HomeController.config("entityfacts.live")+resource.getId)'>JSON-LD</a>)}
| <a href='https://creativecommons.org/publicdomain/zero/1.0/'>CC0</a>
</div></p>
}}
Expand Down
4 changes: 2 additions & 2 deletions conf/dataset.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"en":"LOD-API for the Integrated Authority File (GND)"
},
"description":{
"de":"<p class='lead'>Die Gemeinsame Normdatei (GND) enthält über 8 Millionen Normdatensätze. Sie wird zur Katalogisierung von Literatur in Bibliotheken, sowie von Archiven, Museen, und Forschungsprojekten genutzt.</p><p>Die GND enthält normierte Einträge für Personen, Körperschaften, Kongresse, Geografika, Sachschlagwörter und Werktitel. Sie wird von der Deutschen Nationalbibliothek (DNB), den deutschsprachigen Bibliotheksverbünden, der Zeitschriftendatenbank (ZDB) und zahlreichen weiteren Institutionen kooperativ geführt. Die Daten sind unter CC0 lizenziert.</p><p>lobid-gnd bietet eine <a href=\"https://lobid.org/gnd/search\">Rechercheoberfläche zum Durchsuchen der GND</a>, eine <a href=\"https://lobid.org/gnd/reconcile\">Integration in OpenRefine</a>, sowie eine generelle <a href=\"https://lobid.org/gnd/api\">Web-API auf Basis von JSON-LD</a> zur Verwendung der Daten in verschiedenen Kontexten. Datenbasis sind die <a href=\"https://www.dnb.de/lds#doc58246bodyText1\">RDF-Version der GND</a> (täglich aktualisiert) und <a href=\"https://www.dnb.de/entityfacts\">EntityFacts</a> (vierteljährlich aktualisiert).</p>",
"en":"<p class='lead'>The Integrated Authority File (GND) contains more than 8 Million authority records. It is used for cataloging in libraries as well as in archives, museums and other contexts.</p><p>The GND contains authority records for persons, corporate bodies, congresses, places, subject headings and works. It is maintained cooperatively by the German National Library (DNB), German-speaking library networks, the German Union Catalogue of Serials (ZDB) and many other institutions. The data is licensed under CC0.</p><p>lobid-gnd provides a <a href=\"https://lobid.org/gnd/search\">search interface for exploring GND</a>, an <a href=\"https://lobid.org/gnd/reconcile\">integration in OpenRefine</a>, and a general <a href=\"https://lobid.org/gnd/api\">web API based on JSON-LD</a> to enable use of the data in different contexts. The data is based on the <a href=\"https://www.dnb.de/lds#doc58246bodyText1\">RDF version of the GND</a> (updated daily) and <a href=\"https://www.dnb.de/entityfacts\">EntityFacts</a> (updated quarterly).</p>"
"de":"<p class='lead'>Die Gemeinsame Normdatei (GND) enthält über 8 Millionen Normdatensätze. Sie wird zur Katalogisierung von Literatur in Bibliotheken, sowie von Archiven, Museen, und Forschungsprojekten genutzt.</p><p>Die GND enthält normierte Einträge für Personen, Körperschaften, Kongresse, Geografika, Sachschlagwörter und Werktitel. Sie wird von der Deutschen Nationalbibliothek (DNB), den deutschsprachigen Bibliotheksverbünden, der Zeitschriftendatenbank (ZDB) und zahlreichen weiteren Institutionen kooperativ geführt. Die Daten sind unter CC0 lizenziert.</p><p>lobid-gnd bietet eine <a href=\"https://lobid.org/gnd/search\">Rechercheoberfläche zum Durchsuchen der GND</a>, eine <a href=\"https://lobid.org/gnd/reconcile\">Integration in OpenRefine</a>, sowie eine generelle <a href=\"https://lobid.org/gnd/api\">Web-API auf Basis von JSON-LD</a> zur Verwendung der Daten in verschiedenen Kontexten. Datenbasis sind die <a href=\"https://www.dnb.de/lds#doc58246bodyText1\">RDF-Version der GND</a> (täglich aktualisiert) und <a href=\"https://www.dnb.de/entityfacts\">Entity Facts</a> (vierteljährlich aktualisiert).</p>",
"en":"<p class='lead'>The Integrated Authority File (GND) contains more than 8 Million authority records. It is used for cataloging in libraries as well as in archives, museums and other contexts.</p><p>The GND contains authority records for persons, corporate bodies, congresses, places, subject headings and works. It is maintained cooperatively by the German National Library (DNB), German-speaking library networks, the German Union Catalogue of Serials (ZDB) and many other institutions. The data is licensed under CC0.</p><p>lobid-gnd provides a <a href=\"https://lobid.org/gnd/search\">search interface for exploring GND</a>, an <a href=\"https://lobid.org/gnd/reconcile\">integration in OpenRefine</a>, and a general <a href=\"https://lobid.org/gnd/api\">web API based on JSON-LD</a> to enable use of the data in different contexts. The data is based on the <a href=\"https://www.dnb.de/lds#doc58246bodyText1\">RDF version of the GND</a> (updated daily) and <a href=\"https://www.dnb.de/entityfacts\">Entity Facts</a> (updated quarterly).</p>"
},
"keywords":[
"authority data",
Expand Down

0 comments on commit b390a9f

Please sign in to comment.