Akademie der Wissenschaften zu Göttingen

Germania Sacra

Digitales Personenregister

Schnittstellen und Linked Data


For automated access to the registry of persons, an API is available, the functionality of which corresponds to the simple and advanced search. Under every search result as well as every dataset of a person, the frontend links to this API in varying formats:

  • JSON and XML: the found datasets are retrieved in the JSON or XML-Format and contain particulars about the person, offices, GS-numbers and references.
  • JSON-LD, XML/RDF and Turtle: A selection of fields is retrieved according to the Resource Description Framework (Linked Data / Semantic Web) (see below).


a) An example for a query using the simple search function: "http://personendatenbank.<wbr />germania-sacra.de/api/v1.0/<wbr />person?name=barbara&format=<wbr />json"

Retrieved are the first 30 datasets for persons with the name "Barbara".

b) An example for a complex query using the advanced search function: "http://personendatenbank.<wbr />germania-sacra.de/api/v1.0/<wbr />person?query[0][field]=person.<wbr />vorname&query[0][value]=b*&<wbr />query[0][operator]=like&query[<wbr />0][connector]=or&query[1][<wbr />field]=person.familienname&<wbr />query[1][value]=b*&query[1][<wbr />operator]=like&offset=50&<wbr />limit=10&format=json-ld"

Retrieved are datasets for persons whose first or last name begin with "B". Out of the results sorted alphabetically by last name the datasets 50 through 59 are retrieved. The result format is JSON-LD.

Search Criteria

According to the simple search, the following combined fields can be searched: name (searches person.firstname, person.firstnamevariants, person.nameprefix, person.familyname, person.familynamevariants, person.nameadditions); place (office.institution, office.place, office.diocese); office (office.title); year (timespan_from / timespan_to); number (gsn.number, person.gndnumber, person.monasteryid, person.cerlid, person.viaf).

Furthermore, the following fields can be searched analogously to the advanced search function: person.firstname, person.firstnamevariants, person.nameprefix, person.familyname, person.familynamevariants, person.nameadditions, person.nameoforigin, person.title, person.order, person.dateofbirth, person.dateofdeath, person.documenteddates, person.occupation, person.gndnumber, person.relations, person.comments, office.title, office.type, office.institution, office.place, office.diocese, office.area, office.monasteryid, office.levelofconsecration, office.from, office.to, office.comment, gsn.number, reference.volumenumber. The search terms are not case sensitive. As a placeholder, * stands for any desired number of characters, while ? stands for one unknown character. Additionall,y the comparison operator can be given via the parameter query[n][operator]. the operators like, notlike, lower and greater are available. The standard operator is like.

Combination of Search Criteria

Up to six search criteria can be combined by adding field name, value and if necessary a
comparison operator in the query parameters with differing indices (query[0]…, query[1]…,
query[3]… etc.).
The criteria are connected by logical conjunctions, as is standard, so the datasets must
correspond to all iterated criteria. The connection to the following criterion can also be
explicitly states using the parameter query[n][connector]. The values “and” and “or” are
possible, whereby the “or”-connection binds more strongly than the “and”-connection”.
Please be aware that the order of criteria is decided by the order in the URL and not the
amount of indices.

Limitation of Search Results

Standard setting is to reveal the first thirty found datasets, alphabetically sorted by first and last
name. Alternatively, the number of datasets can be named with the parameter limits, though
there is a maximum of 500 datasets which can be revealed. If used, the parameter offset
decides the position of the first revealed dataset, whereby the count begins at 0. Alternatively, analogously to searching on the web surface, the parameter page can be used.

In this way, more than 500 successive datasets can be called up. If no dataset fits the search criteria or if the demanded offset exceeds the number, or if an error occurs, an empty result is returned.

Linked Data

When returning linked data, only filled fields are used. The output includes the following fields:

  • First name, last name, date of birth and date of death
  • Title of office, beginning of office, end of office, institution and monastery ID
  • GSN and GND-number

The following vocabularies are used:

Furthermore, the following URIs are used for the identification of datasets, whereby the GND, GSN or monastery ID respectively are attached:

The retrieved data is first generated as JSON-LD internally and then converted to the formats XML/RDF and Turtle.