addTriple

fnOdfRdfMetadata addTriple(ref OdfRdfMetadata metadata, string subject, string predicate, string object_, OdfRdfObjectType objectType = OdfRdfObjectType.LITERAL)

Adds a triple to the first graph in the metadata, creating a default graph when none exists.

Parameters

metadataReference to the metadata to modify.
subjectThe subject URI.
predicateThe predicate URI.
object_The object value.
objectTypeThe kind of object (default LITERAL).

Returns

The modified OdfRdfMetadata (same reference).