You are located in service: Coscine

Example: Creating an application profile

Example: Creating an application profile


Here is an example of how to create and publish an application profile in Coscine using the Application Profile Generator. You should make yourself familiar with the necessary basics under Application Profile Generator.


Example: X-ray imaging

For our example project in medicine, we would like to create a resource that allows us to store data on X-ray images. In advance, we have searched for an application profile suiting our purposes, but have not found one. So we have to take action ourselves and create such an application profile with the generator supplied by Coscine. We use the generic RADAR profile as a template to build our profile upon.

Step 1: Load existing application profile

In the "Available application profiles" section, we search for the RADAR application profile using the keyword "RADAR". By clicking on the search result, we can load the application profile (depicted in the figure below).

In the detail view we are now able to see all fields of the RADAR profile (shown in figure below). However, we cannot edit them yet.

Step 2: Switch to the Edit mode

In order to be able to edit the fields of the template application profile and to add new ones if necessary, we click on the "Edit->Copy" option in the menu bar under the "Action" tab (menu depicted in the screenshot below). This will copy all the fields of the RADAR profile into a new customizable application profile.

A warning may appear (as shown in the screenshot below) - confirm it by clicking "Next" if you are sure that you would not overwrite any previously done and not yet saved work. Now we can edit the fields of the RADAR application profile. We can add new fields or remove old ones.

Step 3: Rename existing fields

We don't need the Rights Holder field of the RADAR application profile for our purposes, since the owner of our X-rays is always the patient. To edit the field, we select it by clicking on it in the detail view and switch to the "Field properties" section. All properties of the field are listed there. Here we will change the property "Field Name" from "Rights Holder" to "Patient". Our changes are applied while we are still entering the value and are immediately visible in the detail view.

Step 4: Add new specific fields

In addition to the existing fields, we would like to add specific fields. We do this via the "Vocabulary terms" section. In the input field we can search for terms that are already available in other application profiles.

Case 1: The required field already exists within other application profiles (recommended approach)

We would like to add a "description" field, which shall allow users to provide information on data without any formatting restrictions. Via the search option we look for a term "description" and select a suitable result. By clicking on the search result (in this case dcterms:description), we add the term to our application profile (as depicted in the figure below).

Hint: If the selected term does not appear in the detail view section, it very likely is already contained within our profile - it might just appear under a different name.

Case 2: The required field has not been found in other application profiles (takes more time)

In case our requirements are not yet to be found in any other application profile and our search would thus end without results, we are able to use the "Add user-defined term" option. In the detail view, we immediately see a new field, which we can customize via the "Field Properties" section.

X-ray images generate some metadata, which is used for the evaluation of the images themselves and, incidentally, for the evaluation of the radiation risk. One parameter that is recorded is the dose area product. The dose area product, abbreviated DFP, is a measurement parameter in dosimetry and the basis for calculating the radiation exposure during an X-ray exposure with an X-ray device.

Background information: The search in Coscine is currently limited to NFDI4Ing terminology. As such it may not be able to yield results for medical applications. The search will be extended in the future.

Term IRI

This property enables us to link to a matching definition of our term located in existing established onotologies/vocabularies. To fill in this field correctly, we will search in established subject-specific vocabularies for the term "Dose Area Product". Helpful search engines for ontologies may be or

If we search for "dose area product" via we are prompted with several useful results (depicted in the image below). By clicking on one of the search results we get to an overview of author and description and cross-linkage of the data. Moreover we are able to inspected the data in their raw format. Have we deemed an ontology as fitting for our purposes we can simply copy the link given under each search result and paste it in our application profile under the field "Term IRI". In this case we have decided to use the definition of the "Dose Area Product" provided by the ontology "dicom:AcquiredImageAreaDoseProduct" and we thus copy and paste the link "" into "Term IRI".

Hint: By default the Term IRI is automatically filled by the application profile with a generic purl-URL. However this should only be used in novel fields, that are not defined in an already established ontology. Using established vocabularies is important for storing data accoriding to the FAIR principles (Findable, Accessible, Interoperable, Re-usable). Therefore application profiles without a valid Term IRI may be rejected during the review-process by the Coscine team.

More field properties

To record the DFP for an X-ray exposure, we customize our newly created field by specifying the following additional properties:

Dose area product standard properties
Property Value Explanation
Term IRI Pre-filled for new terms / fitting ontology-URL
Field Name Dose area product Meaningful name for our field
Minimale Erforderliche Einträge 1 The DAP parameter is recorded for each x-ray image
Maximale Erforderliche Einträge 1 Only one DAP parameter is recorded for each x-ray image
Property type Datatype Our field represents a decimal number
Datatype decimal We expect a decimal number as value

Under "Show String Properties" we also specify a regular expression to ensure that values entered in the field conform to the correct format:

Property Value Explanation
Regex Pattern ^[1-9]\d*(\.\d+)?$ Decimal number with a point as decimal delimiter

To ensure that the user also understands what is meant by the field and which unit the data must conform to, we adjust the administrative properties of the field:

Administrative Properties
Property Value Explanation
Description Dose area product in dGy*cm^2 The DAP shall be specified as Dezi-Grays * centimeter squared
Error message Expected decimal number Error message displayed in case the user enters an invalid value
Error severity Violation

The field is invalid if the specified value does not conform to the regex pattern defined above

Step 5: Test the application profile

Our field is now configured. We can test the result using the preview tool in the detail view.

If we enter a value in the wrong format, the previously defined error message will be displayed (as shown in the figure below).

If we enter data in the correct format, the correctness is confirmed by a green check mark (as can be seen in the screenshot given below).

Step 6: Configuration of application profile data

Application profiles also contain metadata. To make our application profile more visible to other users, we should assign a unique title and write a meaningful description. Using the gear icon in the detail view, we can open an input mask in which the metadata for the application profile can be stored (refer to the image below).

Step 7: Save the application profile

After completing the application profile or if we want to continue working on it at a later time, it must be downloaded locally via "Download code", as it cannot be saved in the application profile generator (see figure below). Your browser downloads the current state of the application profile in RDF format (file extension .ttl). To reload it at a later time, switch to the "Code View" and copy the content of the downloaded file into the text field in the detail view. Then click the "Code View" button again to switch back to the standard view and continue working.

Step 8: Request to publish the application profile.

Click "Submit" to send the application profile to the Coscine team for review and publication (see image above). You will then receive an e-mail with a confirmation to your e-mail address stored in the Coscine user profile.

The review of the application profile (especially regarding the "Term IRI" information, see above) can take up to 4 weeks. As soon as your application profile has been uploaded to Coscine, you will receive an e-mail.


last changed on 03/18/2022

How did this content help you?

Creative Commons Lizenzvertrag
This work is licensed under a Creative Commons Attribution - Share Alike 3.0 Germany License