blob: 017a1f16f4978738a81faea45578c7dea274e506 [file] [log] [blame]
{
"class" : "org.eclipse.smila.ontology.pipelets.SesameRecordWriterPipelet",
"parameters": [
{
"name": "sesameRepository",
"type": "string",
"description": "The name of the repository to use. If not set, the default repository is used."
},
{
"name": "recordFilter",
"type": "string",
"description": "The name of a record filter that lists all attributes that should be interpreted as resource properties. Note that the rdf:about attribute must be contained in this filter if it is used to identify the resource associated to the object. The record filters must be defined in configuration/org.eclipse.smila.blackboard, because the pipelets use blackboard functionality to do the filtering. If not set, all attributes are mapped to properties."
},
{
"name": "typeUri",
"type": "string",
"optional": true,
"description": "The name of type to set for the resource, if no type statement is created from writing the record. "
},
{
"name": "uriAttribute",
"type": "string",
"optional": true,
"description": "The attribute to write the URIs of found/created resources to. Default: rdf:about"
}
],
"description": "This pipelet can write attribute values to RDF properties. It creates a resource URI for the record it finds in the corresponding attribute and for each top-level attribute value of the record metadata object, it creates statements using this URI as the subject and the attribute name as a predicate URI. If an attribute name starts with a namespace prefix known in the used repository, it is expanded to the full namespace name."
}