Document licensed under Creative Commons Public Domain Dedication 1.0
1. About
This documentation is part of the vitrine api.
A downloadable pdf can be found here.
2. Available Endpoints
The api consists of two endpoints to be used to build simple search frontends upon.
GET/POST https://api.vitrine.gesis.org/search/{indexFilter}/_search
GET https://api.vitrine.gesis.org/search/{indexFilter}/_doc/{documentId}
Valid values for {indexFilter}
are:
The Search Endpoint allowes combinations of indexFilter
like, e.g. dprex-soda,dprex-dbkapps-oai.
Valid values for {documentId}
are all identifiers that are part of a filtered request.
To find more parameters for _search
look into the elasticsearch 8 documentation. A general description of the response format can be found here
3. Index Format
This section describes the response format under /hits/hits/{count}/_source
. It represents the content of one document in the index.
A formal definition of the index format can be found under
Fieldname | Note |
---|---|
A multilang label holding an abstract |
|
Typically holds an |
|
An array of labeled types. See Dara v4 |
|
Contributions to the publication. A contribution consists of type, agent and role. An agent can be of type Institution or Person. For details follow the schema definition. |
|
DescribedBy refers to the actual metadata of the resource. The describedBy field contains information about the creation of the metadata. |
|
documentId |
It is string. It’s content is typically defined during ingest. |
A list of dprexConcepts. Each dprexConcepts consists of a type,uri,notation,source,label. |
|
A list of dprexGroups. Each dprexGroups consists of a type,uri,notation,source,label. |
|
A list of dprexTypes. Each dprexType consists of a type,uri,notation,source,label. |
|
A list of country codes. See Dara v4 |
|
A handle is a persitent Identifier, e.g. a DOI. It has a type, a notation, an url, and a source. |
|
A list of issuers. Each issuer is described by an URI and a multilang label. |
|
Basically a type. |
|
otherTitleInformation |
A string for additional Info. |
This field holds information about publication events. |
|
This field holds information about the publisher as a simple string. |
|
ISO 3166-1 alpha-3 string. See Dara v4 |
|
Licensing. Dara v4 |
|
Information about the sampling method in form of a multilang string. |
|
A list of subjects. Each subject consists of a type,uri,notation,source,label. |
|
A labeled list of date ranges. See Dara v4 |
|
Timespecific information. See Dara v4 |
|
The title of the resource as a multilang string. |
|
See Dara v4 |
|
A uri for the resource. We preferre the doi here. See handles. |
|
The field is filled at index time to identify the institution responsible for the ingested data. |
|
The field is calculated at index time. It contains a list of years that are covered by the resource. |
4. Usage
5. Datasources
The Vitrine-API provides and combines data from various sources of partner institutions.
To get your own {indexFilter}
you can:
-
Become a partner of Sowidata. Each partner gets an
{indexFilter}
and a customizable live example under/ui
-
Become a partner in other GESIS projects and provide your data over a defined OAI-PMH endpoint or provide your dataset in a git repository.
6. OAI-PMH indexing
Vitrine-API can be enriched with external datasources provided via OAI-PMH. This section describes how to provide a proper OAI-PMH endpoint.
-
Provide a
OAI-PMH Set
that contains exactly the data you like to transfer into the Vitrine-API. -
Provide a
OAI-PMH metadataPrefix
that serves metadata in da|ra Metadata Schema Version 4.0. -
Provide as much data as possible. The table below shows the supported DARA-Fields as of today.
7. Git indexing
If you have no running OAI-PMH provider within your institution you can provide your data via a git repository.
-
The repo must be available over HTTPS and readable for everyone
-
The repo must contain a
data
directory (name == data) -
The data directory must contain only xml files that are valid against da|ra Metadata Schema Version 4.0
8. Indexing Dataformat
da-ra field | da-ra seq |
---|---|
resourceType |
1 |
titles |
4 |
creators |
7 |
dataURLs |
8 |
doiProposal |
9 |
publicationDate |
10 |
availability |
13 |
classifications |
17 |
descriptions |
20 |
geographicCoverages |
21 |
universes |
22 |
samplings |
23 |
temporalCoverages |
24 |
timeDimensions |
25 |
collectionModes |
28 |
The da|ra Metadata will be mapped to our internal Index Format by the searchapp-indexer#DaraTransformer
https://dbkapps.gesis.org/dbkoai/?verb=ListRecords&metadataPrefix=oai_dara&set=DPREX
or
8.1. The DPREX-Project
For DPREX we support a set of special vocabularies.
Controlled Vocabulary | Classification Scheme Id | License |
---|---|---|
rexconcepts/1.0.0 |
||
rexgroups/1.0.0 |
||
rexdatatype/1.0.0 |
<classification>
<classificationExternal>
<language>de</language>
<classificationSchema>rexdatatype/1.0.0</classificationSchema>
<terms>
<term>Befragungsdaten</term>
<term>Standardisierte Daten</term>
<term>Numerische Daten</term>
</terms>
</classificationExternal>
</classification>
<classification>
<classificationExternal>
<language>de</language>
<classificationSchema>rexconcepts/1.0.0</classificationSchema>
<terms>
<term>Rechtspopulismus</term>
<term>Patriotismus</term>
<term>Rechtsextremismus</term>
<term>Nationalismus</term>
<term>Autoritarismus</term>
<term>Ethnozentrismus</term>
<term>Soziale Dominanzorientierung</term>
<term>Xenophobie</term>
<term>Neonazismus</term>
<term>Intergruppenkontakt</term>
<term>Bedrohungswahrnehmungen </term>
<term>Eigengruppenbevorzugung / Wohlfahrtschauvinismus</term>
<term>Identität & soziales Zugehörigkeitsgefühl</term>
<term>Migrantisierte Gruppen</term>
</terms>
</classificationExternal>
</classification>
<classification>
<classificationExternal>
<language>de</language>
<classificationSchema>rexgroups/1.0.0</classificationSchema>
<terms>
<term>BIPoC</term>
<term>Herkunft</term>
<term>(Spät-)Aussiedler*innen/Russlanddeutsche</term>
<term>Türkei</term>
<term>Religiöse Zugehörigkeit</term>
<term>Jüd*innen</term>
<term>Muslim*innen</term>
<term>LGBTQIA+ Mitglieder</term>
<term>Menschen mit Beeinträchtigung(en)/Behinderung(en)</term>
</terms>
</classificationExternal>
</classification>