Skip to content

Commit 6c8a2ae

Browse files
committed
A better r2rml.properties example/starting-point
1 parent 8936386 commit 6c8a2ae

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

r2rml.properties

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
#---------------------------------------------------------------#
2-
#-------------------- General configuration --------------------#
2+
#------------- R2RML Parser General configuration --------------#
33
#---------------------------------------------------------------#
44

5+
# The R2RML mapping file
56
mapping.file=dspace/epersons-mapping.rdf
67

7-
# Valid types are RDF/XML, N-TRIPLE, TURTLE, TTL, N3.
8+
# The syntax of the mapping file. Valid values are RDF/XML, N-TRIPLE, TURTLE (or TTL), N3.
89
mapping.file.type=TURTLE
910

11+
# The default namespace for the resulting graph
1012
default.namespace=http://example.com/base#
1113

12-
# Uncomment the following to log inserted triples.
14+
# Uncomment the following to log inserted triples and debug messages.
1315
default.verbose=false
1416

1517
# File where last run is logged.
1618
default.log=status.rdf
1719

18-
#Whether triple generation will be incremental or no.
19-
#Taken into account only when jena.storeOutputModelInDatabase is false.
20-
#If this is true, the file status.rdf should not be altered manually.
20+
#Whether triple generation will be incremental or not.
21+
#Taken into account only when outputting to the hard disk (i.e. when jena.storeOutputModelUsingTdb is false).
22+
#If this parameter (default.incremental) is true, the file status.rdf should not be altered manually.
23+
#Leave this to false unless you have full understanding of what you are doing. See http://dx.doi.org/10.1145/2611040.2611082
2124
default.incremental=false
2225

2326
#---------------------------------------------------------------#
2427
#------------------------- Input Model -------------------------#
2528
#---------------------------------------------------------------#
2629

30+
# R2RML Parser allows merging an RDF file (an input model) to the output of the execution.
2731
input.model=dspace/dcterms-empty.rdf
2832

29-
# Valid types are RDF/XML, N-TRIPLE, TURTLE, TTL, N3.
30-
#input.model.type=TURTLE
33+
# The syntax of the input model. Valid values are RDF/XML, N-TRIPLE, TURTLE (or TTL), N3.
3134
input.model.type=RDF/XML
3235

3336
#---------------------------------------------------------------#
@@ -56,17 +59,21 @@ db.driver=org.postgresql.Driver
5659
#---------------------- Jena TDB Output -----------------------#
5760
#---------------------------------------------------------------#
5861

59-
# Store the resulting triples using TDB.
62+
# Store the resulting triples using TDB. Scales way more than storing on the hard disk, but the output is not human-understandable
6063
jena.storeOutputModelUsingTdb=true
64+
6165
# Clean TDB on startup is taken into account only when jena.storeOutputModelUsingTdb is true.
6266
jena.cleanTdbOnStartup=true
67+
6368
# The directory containing the dataset
6469
jena.tdb.directory=tdb
6570

6671
#---------------------------------------------------------------#
6772
#---------------------- Jena File Output -----------------------#
6873
#---------------------------------------------------------------#
6974

70-
#in case we will output the resulting triples in a file. This matters if property jena.storeOutputModelUsingTdb is false.
75+
# Whether we will output the resulting triples in a file. This is taken into account only when property jena.storeOutputModelUsingTdb is false.
7176
jena.destinationFileName=dump.rdf
77+
78+
# The syntax of the destination file. Valid values are RDF/XML, N-TRIPLE, TURTLE (or TTL), N3.
7279
jena.destinationFileSyntax=N3

0 commit comments

Comments
 (0)