-
Notifications
You must be signed in to change notification settings - Fork 21
/
r2rml.properties
93 lines (70 loc) · 3.97 KB
/
r2rml.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#---------------------------------------------------------------#
#------------- R2RML Parser General configuration --------------#
#---------------------------------------------------------------#
# The R2RML mapping file
mapping.file=dspace/epersons-mapping.rdf
# The syntax of the mapping file. Valid values are RDF/XML, RDF/XML-ABBREV, N-TRIPLE, TURTLE (or TTL), N3.
mapping.file.type=TURTLE
# The default namespace for the resulting graph
default.namespace=http://example.com/base#
# Uncomment the following to log inserted triples and debug messages.
default.verbose=false
# File where last run is logged.
default.log=status.rdf
#This will enforce creation of triple generation with a (RDFNode, Property, RDFNode) instead of (RDFNode, Property, Literal)
#if the literal to be inserted starts with 'http', ignoring presence of rr:Language, rr:Type, or rr:TermType that may
# coexist. This can be used in case there is a column that we want to export containing URIs in the source database.
default.forceURI=false
#Whether triple generation will be incremental or not.
#Taken into account only when outputting to the hard disk (i.e. when jena.storeOutputModelUsingTdb is false).
#If this parameter (default.incremental) is true, the file status.rdf should not be altered manually.
#Leave this to false unless you have full understanding of what you are doing. See http://dx.doi.org/10.1145/2611040.2611082
default.incremental=false
#---------------------------------------------------------------#
#------------------------- Input Model -------------------------#
#---------------------------------------------------------------#
# R2RML Parser allows merging an RDF file (an input model) to the output of the execution.
input.model=dspace/edm-empty.rdf
# The syntax of the input model. Valid values are RDF/XML, RDF/XML-ABBREV, N-TRIPLE, TURTLE (or TTL), N3.
input.model.type=TURTLE
#---------------------------------------------------------------#
#-------------------- Database connectivity --------------------#
#---------------------------------------------------------------#
# Mysql example
#db.url=jdbc:mysql://127.0.0.1:3306/sakila
#db.login=root
#db.password=1234
#db.driver=com.mysql.jdbc.Driver
# Postgresql example
db.url=jdbc:postgresql://localhost:5432/test
db.login=postgres
db.password=postgres
db.driver=org.postgresql.Driver
# Oracle example
#db.url=jdbc:oracle:thin:@127.0.0.1:1521
#db.login=system
#db.password=dba
#db.driver=oracle.jdbc.driver.OracleDriver
#---------------------------------------------------------------#
#---------------------- Jena TDB Output -----------------------#
#---------------------------------------------------------------#
# Store the resulting triples using TDB. Scales way more than storing on the hard disk, but the output is binary (not directly human-understandable).
jena.storeOutputModelUsingTdb=false
# Clean TDB on startup is taken into account only when jena.storeOutputModelUsingTdb is true.
jena.cleanTdbOnStartup=true
# The directory containing the dataset
jena.tdb.directory=tdb
#---------------------------------------------------------------#
#---------------------- Jena File Output -----------------------#
#---------------------------------------------------------------#
# Whether we will output the resulting triples in a file. This is taken into account only when property jena.storeOutputModelUsingTdb is false.
jena.destinationFileName=dump.rdf
# The syntax of the destination file. Valid values are RDF/XML, RDF/XML-ABBREV, N-TRIPLE, TURTLE (or TTL), N3.
jena.destinationFileSyntax=N3
# The following forces declaration of "<?xml version="1.0" encoding="UTF-8" ?>" in the beginning of the destination file,
# and is taken into account only when the syntax of the destination file is RDF/XML or RDF/XML-ABBREV.
jena.showXmlDeclaration=false
# When set to true, this forces encoding URLs generated by populating templates, i.e. forces conversion of generated URLs
# from http://data.example.org/aß
# to http://data.example.org/%CE%B1%CE%B2
jena.encodeURLs=false