Class DMRM

java.lang.Object
org.dspace.rdf.conversion.DMRM

public class DMRM extends Object
Schema for DSpace Metadata RDF Mappings.
Author:
Pascal-Nicolas Becker (dspace -at- pascal -hyphen- becker -dot- de)
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.jena.rdf.model.Property
    A regex that the metadata value has to fulfill if the mapping should become active.
    static final org.apache.jena.rdf.model.Property
    Specifies the RDF to generate for a specified metadata.
    static final org.apache.jena.rdf.model.Property
    Defines to use the language tag of a DSpace metadata value.
    static final org.apache.jena.rdf.model.Resource
    Represents the mapping of a DSpace metadata value to an RDF equivalent.
    static final org.apache.jena.rdf.model.Resource
    Placeholder for the IRI of the DSpace Object that gets converted.
    static final org.apache.jena.rdf.model.Resource
    Shortcut to generate a Literal containing an unchanged metadata value.
    static final org.apache.jena.rdf.model.Resource
    Generates a literal depending on a DSpace metadata value.
    static final org.apache.jena.rdf.model.Property
    Defines the language a literal uses.
    static final org.apache.jena.rdf.model.Property
    Defines the datatype a generated literal gets.
    static final org.apache.jena.rdf.model.Property
    A regex that matches those subsequences of a metadata value, that should be replaced.
    static final org.apache.jena.rdf.model.Property
    The name of the metadata to convert (e.g. dc.title).
    static final org.apache.jena.rdf.model.Property
    Information how the metadata value should be modified before it is inserted in the pattern.
    static final org.apache.jena.rdf.model.Resource
    The namespace of the vocabulary as a resource
    static final String
    The namespace of the vocabulary as a string
    static final org.apache.jena.rdf.model.Property
    The object of a DSpace metadata RDF mapping result.
    static final org.apache.jena.rdf.model.Property
    A pattern that contains $DSpaceValue as placeholder for the metadata value.
    static final org.apache.jena.rdf.model.Property
    The predicate of a DSpace metadata RDF mapping result.
    static final org.apache.jena.rdf.model.Property
    A regex that replaces previously matched subsequences of a metadata value.
    static final org.apache.jena.rdf.model.Resource
    Generates an IRI used for a rdfs:Resource depending on the converted DSpace Object and one of its metadata values.
    static final org.apache.jena.rdf.model.Resource
    A reified statement that describes the result of the DSpaceMetadataRDFMapping.
    static final org.apache.jena.rdf.model.Property
    The subject of a DSpace metadata RDF mapping result.
    static final org.apache.jena.rdf.model.Resource
    A regular expression to be used with java, composed of a matching and a replaying expression.
    static final org.apache.jena.rdf.model.Resource
    Processes a metadata value into an RDF value or an IRI.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    The namespace of the vocabulary as a string

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NS

      public static final String NS

      The namespace of the vocabulary as a string

      See Also:
    • NAMESPACE

      public static final org.apache.jena.rdf.model.Resource NAMESPACE

      The namespace of the vocabulary as a resource

    • DSpaceMetadataRDFMapping

      public static final org.apache.jena.rdf.model.Resource DSpaceMetadataRDFMapping

      Represents the mapping of a DSpace metadata value to an RDF equivalent.

    • Result

      public static final org.apache.jena.rdf.model.Resource Result

      A reified statement that describes the result of the DSpaceMetadataRDFMapping.

    • ValueProcessor

      public static final org.apache.jena.rdf.model.Resource ValueProcessor

      Processes a metadata value into an RDF value or an IRI.

    • ValueModifier

      public static final org.apache.jena.rdf.model.Resource ValueModifier

      A regular expression to be used with java, composed of a matching and a replaying expression.

    • LiteralGenerator

      public static final org.apache.jena.rdf.model.Resource LiteralGenerator

      Generates a literal depending on a DSpace metadata value.

    • ResourceGenerator

      public static final org.apache.jena.rdf.model.Resource ResourceGenerator

      Generates an IRI used for a rdfs:Resource depending on the converted DSpace Object and one of its metadata values.

    • DSpaceObjectIRI

      public static final org.apache.jena.rdf.model.Resource DSpaceObjectIRI

      Placeholder for the IRI of the DSpace Object that gets converted.

    • DSpaceValue

      public static final org.apache.jena.rdf.model.Resource DSpaceValue

      Shortcut to generate a Literal containing an unchanged metadata value.

    • creates

      public static final org.apache.jena.rdf.model.Property creates

      Specifies the RDF to generate for a specified metadata.

    • subject

      public static final org.apache.jena.rdf.model.Property subject

      The subject of a DSpace metadata RDF mapping result.

    • predicate

      public static final org.apache.jena.rdf.model.Property predicate

      The predicate of a DSpace metadata RDF mapping result.

    • object

      public static final org.apache.jena.rdf.model.Property object

      The object of a DSpace metadata RDF mapping result.

    • metadataName

      public static final org.apache.jena.rdf.model.Property metadataName

      The name of the metadata to convert (e.g. dc.title).

    • condition

      public static final org.apache.jena.rdf.model.Property condition

      A regex that the metadata value has to fulfill if the mapping should become active.

    • modifier

      public static final org.apache.jena.rdf.model.Property modifier

      Information how the metadata value should be modified before it is inserted in the pattern.

    • matcher

      public static final org.apache.jena.rdf.model.Property matcher

      A regex that matches those subsequences of a metadata value, that should be replaced.

    • replacement

      public static final org.apache.jena.rdf.model.Property replacement

      A regex that replaces previously matched subsequences of a metadata value.

    • pattern

      public static final org.apache.jena.rdf.model.Property pattern

      A pattern that contains $DSpaceValue as placeholder for the metadata value.

    • literalType

      public static final org.apache.jena.rdf.model.Property literalType

      Defines the datatype a generated literal gets.

    • literalLanguage

      public static final org.apache.jena.rdf.model.Property literalLanguage

      Defines the language a literal uses. Maybe overridden by #dspaceLanguageTag.

    • dspaceLanguageTag

      public static final org.apache.jena.rdf.model.Property dspaceLanguageTag

      Defines to use the language tag of a DSpace metadata value.

  • Method Details

    • getURI

      public static String getURI()

      The namespace of the vocabulary as a string

      Returns:
      Namespace URI
      See Also: