afs_rdb_rdfize - AFS - Reference Guides

AFS Filters Description

Product
AFS
Platform
7.12
Category
Reference Guides
Language
English

This filter generates RDF data from SQL databases using DirectMapping or RDB2RML norms.

The filter is declared with the afs_rdb_rdfize type. It is in the antidot-paf-java package. It is a generator filter.

This filter can be instantiated only once at any given moment. It will not read the "instances" parameter in the configuration.

The Db2Triples generator filter specifications are described in the following table:

Parameter name

Mandatory

Type

Default

Description

rdb2rdf_mode

Yes

string

N/A

Choice between DirectMapping or R2RML

login

Yes

string

N/A

Login to connect to the SQL database

password

Yes

string

N/A

Password to connect to the SQL database

url

Yes

string

N/A

Url to connect to the database. Please refer to Jdbc driver implementation for full details.

driver

Yes

string

N/A

Choice the Jdbc driver

base_uri

No

string

http://foo.example/DB/

The "base uri" used by the norm to prefix generated uris. In addition, it will be the PaF document uri if RDf is always saved as a PaF document.

r2rml_file

No

string

Critical if R2RML mode, not read if DirectMapping mode

The r2rml file if using R2RML mode

create_doc_with_base_uri

No

boolean

false

True if the user wants to keep the RDF as a layer of a new document

output_layer

No

layer

CONTENTS

A layer to save RDF if the user wants the RDF as a layer of e new document

rdf_format

No

string

RDF/XML

The RDF final format if RDF has to be saved in a layer of a new document.

nativestore_path

No

string

Memory store

The path to a native store if the user wants to use a Sesame native store. Otherwise, transform is made in memory