This service aligns (maps) a valid SKOS/RDF-XML file (source) with a Loterre terminology resource (target) specified by the user.
It checks whether a term (preferential or synonymous) of a concept A of the source vocabulary is identical to a term (preferential or synonymous) of a concept B of the target vocabulary (for the same language code). It processes files containing “skos:Concept” (short form of the RDF/XML syntax) or “rdf:Description[rdf:type[@rdf:resource=’http://www.w3.org/2004/02/skos/core#Concept’]]”.
Note that alignment is based on a comparison of strings, which must be identical on both sides, without taking into account the context; the alignments will therefore have to be validated by the user.
2 variants of this service are available:
- service “Align a valid SKOS/RDF-XML file with a terminology hosted in Loterre by inserting the property “skos:exactMatch’ in the source file”:
if a term (preferential or synonymous) of a concept A of the source vocabulary is identical to the preferential or synonymous of a concept B of the target vocabulary, a “skos:exactMatch” property is inserted in the concept A with the URI of the target concept in the attribute “rdf:resource”.
- service “Align a valid SKOS/RDF-XML file with a Loterre vocabulary by producing an alignment file”:
if a term (preferential or synonymous) of a concept A of the source vocabulary is identical to the preferential or synonymous of a concept B of the target vocabulary, a new file is created (RDF-XML format) and then for each alignment :
- a “rdf:Description” record is created,
- the URI of the source concept is set in the “rdf:about” attribute of this record,
- a “skos:exactMatch” property is created in this record,
- the URI of the target concept is set in the “rdf:resource” attribute of this property.
The records in the alignment file can be added as they are at the beginning or end of the source file.