public abstract class SesameRecordHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATION_LANG
name of attribute containing the locale of a statement.
|
static java.lang.String |
ATTRIBUTE_DELETE_ALL
name of attribute value describing that an object should be cleared before adding new values.
|
static java.lang.String |
ATTRIBUTE_DELETE_PROPERTIES
name of attribute value describing that properties should be cleared before adding new values.
|
static java.lang.String |
ATTRIBUTE_OBJECT_PROPERTIES
value of attribute describing that a property contains object references. reverse properties also must only contain
object references.
|
static java.lang.String |
ATTRIBUTE_REVERSE_PROPERTIES
value of attribute describing that a property should be written reverse.
|
static java.lang.String |
ATTRIBUTE_TYPE
name of attribute that contains the RDF type of the resource represented by a record.
|
static java.lang.String |
ATTRIBUTE_URI
name of attribute that contains the URI of the resource represented by a record.
|
static java.lang.String |
LOCALE_ALL
locale value for "all locales".
|
static java.lang.String |
PREFIX_SYSTEM_ATTRIBUTE_NAMES
The prefix of system attributes which will be ignored when writing records to Sesame.
|
static java.lang.String |
SEMTYPE_RESOURCE
semantic type of string literals that correspond to resource property values in MDS.
|
static java.lang.String |
SESAME_SOURCE
dummy source value for IDs of newly created records.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getLanguage(Any literal)
get language annotation from literal, if present.
|
public static final java.lang.String SESAME_SOURCE
public static final java.lang.String ATTRIBUTE_URI
public static final java.lang.String ATTRIBUTE_TYPE
public static final java.lang.String SEMTYPE_RESOURCE
public static final java.lang.String ANNOTATION_LANG
public static final java.lang.String ATTRIBUTE_DELETE_ALL
public static final java.lang.String ATTRIBUTE_DELETE_PROPERTIES
public static final java.lang.String ATTRIBUTE_REVERSE_PROPERTIES
public static final java.lang.String ATTRIBUTE_OBJECT_PROPERTIES
public static final java.lang.String PREFIX_SYSTEM_ATTRIBUTE_NAMES
public static final java.lang.String LOCALE_ALL
public static java.lang.String getLanguage(Any literal)
<rec:Map key="rdfs:label"> <rec:Val key="de>SMILA</rec:Val> <rec:Val key="en">SMILA</rec:Val> </rec:Map>
literal
- literal