Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property:public.sparql.endpoint
Example
Value:
public.sparql.endpoint = http://${dspace.baseUrl}/sparql
Informational
Note:
Address of the read-only public SPARQL endpoint supporting SPARQL 1.1 Query Language.
Property:URIGenerator
Example
Value:
URIGenerator = org.dspace.rdf.storage.LocalURIGenerator
Informational
Note:

Defines the class that that generates the URIs to be used within the converted data. The LocalURIGenerator gernates URIs using the ${dspace.url} property. The class org.dspace.rdf.storage.HandleURIGenerator uses handles in form of http URLs. It uses the property ${handle.canoncial.prefix} to convert handles into https URLs. The class org.dspace.rdf.storage.DOIURIGenerator uses DOIs in the form of http URLs if possible or local URIs if there are no DOIs. It uses the DOI resolver "http://dx.doi.org" to convert DOIs into http URLs. The class org.dspace.rdf.storage.DOIHandleGenerator does the same but juses handles as fallback if no DOI exist. The fallbacks are necessary as DOIs are used for Items only currently and not for Communities or Collections.

Property:converter
Example
Value:
converter = org.dspace.rdf.conversion.RDFConverterImpl
Informational
Note:
This property sets the class that manage the hole conversion process. Currently there shouldn't be any need to change it.
Property:converter.plugins
Example
Value:

converter.plugins = org.dspace.rdf.conversion.StaticDSOConverterPlugin, \
                    org.dspace.rdf.conversion.MetadataConverterPlugin, \
                    org.dspace.rdf.conversion.SimpleDSORelationsConverterPlugin

Informational
Note:
List all plugins in to be used during the conversion of DSpace contents into RDF. If you write a new conversion plugin you want to add its class path to this property.
Property: converter.DSOtypes
Example
Value:
 converter.DSOtypes = SITE, COMMUNITY, COLLECTION, ITEM
Informational
Note:
 Define which kind of DSpaceObjects should be converted. Bundles and Bitstreams will be converted as part of the Item they belong to. Don't add EPersons here unless you really know what you do. All converted data is stored in the triple store that provides a publicly readable SPARQL endpoint. So all data converted into RDF is exposed publicly. Every DSO type you add here has to get a http URI to be referenced in the generated RDF, which is another reason not to add EPersons here currently.
Property: storage
Example
Value:
 storage = org.dspace.rdf.storage.RDFStorageImpl
Informational
Note:
 Configure which class to use to store the converted data. This class handles the connection to the SPARQL endpoint. Currently there is only one implementation, so there is no need/possibility to change this property.
Property: storage.graphstore.endpoint
Example
Value:
 storage.graphstore.endpoint = http://localhost:3030/dspace/data
Informational
Note:
 Address of a writable SPARQL 1.1 Graph Store HTTP Protocol endpoint. This address is used to create, update and delete converted data in the triple store. If you use fuseki with the configuration provided as part of DSpace 5, you can leave this as it is. If you use another Triple Store or configure Fuseki on your own, change this property to point on a writeable SPARQL endpoint supporting the SPARQL 1.1 Graph Store HTTP Protocol.
Property: storage.graphstore.authentication
Example
Value:
 storage.graphstore.authentication = no
Informational
Note:
 Defines whether to use http basic authentication to connect to the writable SPARQL 1.1 Graph Store HTTP Protocol endpoint.
Properties:

storage.graphstore.login
storage.graphstore.password

Example
Values:

storage.graphstore.login = dspace
storage.graphstore.password =ecapsd

Informational
Note:
Credentials for the http basic authentictaion if it is necessary to connect to the writable SPARQL 1.1 Graphs Store HTTP Protocol endpoint.
Property:storage.sparql.endpoint
Example
Value:
storage.sparql.endpoint = http://localhost:3030/dspace/sparql
Informational
Note:
Beside a writable SPARQL 1.1 Graph Store HTTP Protocol endpoint, DSpace needs a SPARQL 1.1 Query Language endpoint, which can be read-only. This properties allows you to set an address to be used to connect to such a SPARQL endpoint. If you leave this property empty the property ${public.sparql.endpoint} will be used instead.
Properties:

storage.sparql.authentication
storage.sparql.login
storage.sparql.password

Example
Values:

storage.sparql.authentication = yes
storage.sparql.login = dspace
storage.sparql.password = ecapsd

Informational
Note:
As for the SPARQL 1.1 Graph Store HTTP Protocol you can configure DSpace to use HTTP Basic authentication to authenticate against the (read-only) SPARQL 1.1 Query Language endpoint.
Property:contextPath
Example
Value:
contextPath = ${dspace.baseUrl}/rdf
Informational
Note:
The content negotiation needs to know where to refer if anyone asks for RDF serializations of content stored within DSpace. This property sets the URL where the dspace-rdf module can be reached on the internet (depending on how you deployed it).
Property:contentNegotiation.enable
Example
Value:
contentNegotiation.enable = true
Informational
Note:
Defines whether the content negotiation should be activated. Set this true, if you use Linked Data support.
The following properties configure the StaticDSOConverterPlugin.
Properties:constant.data.GENERAL
constant.data.COLLECTION
constant.data.COMMUNITY
constant.data.ITEM
constant.data.SITE
Example
Values:

constant.data.GENERAL = ${dspace.dir}/config/modules/rdf/constant-data-general.ttl
constant.data.COLLECTION = ${dspace.dir}/config/modules/rdf/constant-data-collection.ttl
constant.data.COMMUNITY = ${dspace.dir}/config/modules/rdf/constant-data-community.ttl
constant.data.ITEM = ${dspace.dir}/config/modules/rdf/constant-data-item.ttl
constant.data.SITE = ${dspace.dir}/config/modules/rdf/constant-data-site.ttl

Informational
Note:

The properties define files to read static data from. This data should be in RDF, by default Turtle is used as serialization. The data in the file referenced by the property ${constant.data.GENERAL} will be included in every Entity that is converted to RDF. E.g. it can be used to point to the address of the public readable SPARQL endpoint or may contain the name of the institution running DSpace.

The other properties define files that will be included if a DSpace Object of the specified type (collection, community, item or site) is converted. This makes it possible to add static content to every Item, every Collection, ...

The following properties configure the MetadataConverterPlugin.
Property:metadata.mappings
Example
Value:
metadata.mappings = ${dspace.dir}/config/modules/rdf/metadata-rdf-mapping.ttl
Informational
Note:
Defines the file that contains the mappings for the MetadataConverterPlugin. See below the description of the configuration file [dspace-source]/dspace/config/modules/rdf/metadata-rdf-mapping.ttl.
Property:metadata.schema
Example
Value:

metadata.schema = file://${dspace.dir}/config/modules/rdf/metadata-rdf-schema.ttl

Informational
Note:
Configures the URL used to load the RDF Schema of the DSpace Metadata RDF mapping Vocabulary. Using a file:// URI makes it possible to convert DSpace content without having an internet connection. The version of the schema has to be the right one for the used code, in DSpace 5.0 we use the version 0.2.0. This Schema can be found here as well: http://digital-repositories.org/ontologies/dspace-metadata-mapping/0.2.0 the newest version of the Schema can be found here: http://digital-repositories.org/ontologies/dspace-metadata-mapping/.
Property:

metadata.prefixes

Example
Value:

metadata.prefixes = ${dspace.dir}/config/modules/rdf/metadata-prefixes.ttl

Informational
Note:
If you want to use prefixes in RDF serializations that support prefixes, you can define these perfixes in the file referenced by this property.
The following protperties configure the SimpleDSORelationsConverterPlugin
Property:simplerelations.prefixes
Example
Value:
simplerelations.prefixes = ${dspace.dir}/config/modules/rdf/simple-relations-prefixes.ttl
Informational
Note:
If you want to use prefixes in RDF serializations that support prefixes, you can define these perfixes in the file referenced by this property.
Property:simplerelations.site2community
Example
Value:
simplerelations.site2community = http://purl.org/dc/terms/hasPart, http://digital-repositories.org/ontologies/dspace/0.1.0#hasCommunity
Informational
Note:
Defines the predicates used to link from the data representing the hole repository to the top level communities. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.community2site
Example
Value:
simplerelations.community2site = http://purl.org/dc/terms/isPartOf, http://digital-repositories.org/ontologies/dspace/0.1.0#isPartOfRepository
Informational
Note:
Defines the predicates used to link from the top level communities to the data representing the hole repository. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.community2subcommunity
Example
Value:
simplerelations.community2subcommunity = http://purl.org/dc/terms/hasPart, http://digital-repositories.org/ontologies/dspace/0.1.0#hasSubcommunity
Informational
Note:
Defines the predicates used to link from communities to their subcommunities. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.subcommunity2community
Example
Value:
simplerelations.subcommunity2community = http://purl.org/dc/terms/isPartOf, http://digital-repositories.org/ontologies/dspace/0.1.0#isSubcommunityOf
Informational
Note:
Defines the predicates used to link from subcommunities to the communities they belong to. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.community2collection
Example
Value:
simplerelations.community2collection = http://purl.org/dc/terms/hasPart, http://digital-repositories.org/ontologies/dspace/0.1.0#hasCollection
Informational
Note:
Defines the predicates used to link from communities to their collections. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.collection2community
Example
Value:
simplerelations.collection2community = http://purl.org/dc/terms/isPartOf, http://digital-repositories.org/ontologies/dspace/0.1.0#isPartOfCommunity
Informational
Note:
Defines the predicates used to link from collections to the communities they belong to. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.collection2item
Example
Value:
simplerelations.collection2item = http://purl.org/dc/terms/hasPart, http://digital-repositories.org/ontologies/dspace/0.1.0#hasItem
Informational
Note:
Defines the predicates used to link from collections to their items. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.item2collection
Example Value:simplerelations.item2collection = http://purl.org/dc/terms/isPartOf, http://digital-repositories.org/ontologies/dspace/0.1.0#isPartOfCollection
Informational
Note:
Defines the predicates used to link from items to the collections they belong to. Defining multiple predicates separated by commata will result in multiple triples.
Property:simplerelations.item2bitstream
Example
Value:
simplerelations.item2bitstream = http://purl.org/dc/terms/hasPart, http://digital-repositories.org/ontologies/dspace/0.1.0#hasBitstream
Informational
Note:
Defines the predicates used to link from item to their bitstreams. Defining multiple predicates separated by commata will result in multiple triples.

...