BodsRdfConfig

data class BodsRdfConfig(val relationshipsOnly: Boolean = false, val importExpiredInterests: Boolean = true, val graph: IRI? = null, val plugins: Map<BodsStatementType, List<BodsConvertPlugin>> = emptyMap())

Constructors

Link copied to clipboard
fun BodsRdfConfig(relationshipsOnly: Boolean = false, importExpiredInterests: Boolean = true, graph: IRI? = null, plugins: Map<BodsStatementType, List<BodsConvertPlugin>> = emptyMap())

Functions

Link copied to clipboard
fun runPlugins(bodsStatement: BodsStatement, writeStatements: (String, List<Statement>) -> Unit)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val graph: IRI? = null

An IRI to specify the RDF graph where the statements will be imported. Defaults to null and when not specified the statements will be imported in the default graph.

Link copied to clipboard

Import expired interests, defaults to true.

Link copied to clipboard
val plugins: Map<BodsStatementType, List<BodsConvertPlugin>>
Link copied to clipboard

Will configure the importer to only process entity IDs, their types and relationships. Names, interest details, jurisdictions and other data is ignored. Defaults to false.