RDF Transformers
RDF transformers allow to manipulate RDF data in the context of an export operation. They can be used to delete existing triples or create new ones in order to meet certain modelling patterns or information needs.
Technical and code-level details
Details about the extension point and its available plugins, such as the interface definition, method signatures and parameters description are provided on dedicated Semantic Turkey pages.
Available extensions
This section lists all extensions bundled with the current VocBench
Delete Property Value RDF Transformer
This is an RDF transformer that can be configured to delete a property value.
Parameters:
- Resource (required): The subject of the filtered triple.
- Predicatee (required): The predicate of the filtered triple.
- Value (optional): The value of the triple being filtered. If not set, then all triples of the form resource, predicate, * are deleted.
An example would be nice (e.g. dct:modified???)
Property Normalizer Transformer
This RDF transformer can be used to normalize a set of properties by replacing them with another property.
Parameters:
- Normalizing property (required): Replacement property (an IRI with role property).
- Properties being normalized (required): Properties that are replaced in the output.
Scheme Exporter Transformer
This RDF transformer can be configured to export a given scheme.
Parameters:
- Scheme (required): Replacement property (an IRI with role property).
- Properties being normalized (required): Properties that are replaced in the output.
SPARQL RDF Transformer
This RDF transformer can be configured through a SPARQL Update.
Parameters:
- Filter: SPARQL Update implementing the filter.
- Sliced: Executes the SPARQL query on each graph separately.
For an example see the page on The SPARQL RDF Transformer.
Update Property Value RDF Transformer
An RDF transformer that can be configured to update a property value.
Parameters:
- Resource (required): The subject of the filtered triple.
- Property (required): The predicate of the filtered triple.
- Value (required): The new value to be set.
- Old value (optional): <resource, property, oldValue> is replaced by <resource, property, value>. If not set, then all <resource, property, *> are deleted and <resource, property, value> is written.
XLabel Dereification RDF Transformer
This RDF transformer performs XLabel dereification, i.e. it transforms SKOSXL labels to SKOS labels. You can use this transformer to export a SKOSXL thesaurus in SKOS format.
Parameter:
- Preserve reified labels: True will preserve reified labels in the output, False will not.
XNote Dereification RDF Transformer
This RDF transformer performs XNote dereification, i.e. it can be used to transform reified notes into simple notes.
Parameter:
- Preserve reified notes: True will preserve reified notes in the output, False will not.