FSter xml “metadata” tag

This tag is part of the visualization policy, it is used on file content objects to define a list of metadata (RDF predicates and objects) that is associated with them when they are created.

Schema

The following schema is the metadata part of the FSter schema
Download FSter configuration schema: FSter.xsd

metadata schema

Overview

Conditions can be:

  • applied to the enclosed content objects, when we use the inheritable_metadata tag (i.e., in folder, static_folder and set_folder);
  • inherited from parents;

Each metadata is the part of a SPARQL insert query and it is composed by:

  • a metadata attribute that is an RDF predicate of the query;
  • a value attribute that is an RDF object of the query,
    Note: The value can contain strings, metadata from the current content object: $self{metadataName} and metadata from the parent content object: $parent{metadataName}; when the metadata is a subject we can use /subject (e.g., value = "ThisIsTheMime-$self{nie.mimeType}AndTheParentSubject$parent{/subject}");
  • a valuefromextract attribute that allows to insert data extracted from a file name as RDF objects;
  • an iffromextract attribute that allows the conditional execution of a query part only based on metadata extraction

Example

The following example shows how to TODO
Download metadata_example.xml

metadata xml example