How to fetch, with SPARQL, data from triples

latest update 2024-03-17  

Introduction

Once we have mapped data to triples, it is of course also important to know how the required data can be fetched again for use in some application.
In this topic we use the mapping results of the topic "Mapping of a Line List".

Discussion

In the table below the sequence of queries is:

  1. find, for a particular rdfs:label in the third (object) column, the matching UUID in the first (subject) column;
  2. find, for all occurences of that UUID in the third (object) column, the UUIDs of the matching templates in the first (subject) column;
  3. find, for these templates, the roles other than the UUID form step 1;
  4. fetch, where applicable, the label of the objects that are referred to.

.