From ac7ef7209f140cea216c8c9c349f7ccdc6403349 Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 23 Feb 2015 13:34:19 -0500 Subject: [PATCH] VIVO-978 clarify the instructions for alternative triple stores --- config/example.applicationSetup.n3 | 24 +++++++++++------------- config/example.runtime.properties | 20 +++++--------------- 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/config/example.applicationSetup.n3 b/config/example.applicationSetup.n3 index c46ceb6b..6110a364 100644 --- a/config/example.applicationSetup.n3 +++ b/config/example.applicationSetup.n3 @@ -86,8 +86,8 @@ # The SDB-based implementation is the default option. It reads its parameters # from the runtime.properties file, for backward compatibility. # -# Other implementations are based on a local TDB instance, a Virtuoso endpoint, -# or a "standard" SPARQL endpoint, with parameters as shown. +# Other implementations are based on a local TDB instance, a "standard" SPARQL +# endpoint, or a Virtuoso endpoint, with parameters as shown. # :sdbContentTripleSource @@ -100,22 +100,20 @@ # # May be an absolute path, or relative to the Vitro home directory. # :hasTdbDirectory "tdbContentModels" . -#:virtuosoContentTripleSource -# a , -# ; -# # The URI of Virtuoso's SPARQL endpoint. -# :hasEndpointURI "PUT_YOUR_VIRTUOSO_URI_HERE" ; -# # URI to use for SPARQL UPDATE calls against Virtuoso. If not specified, -# # the primary endpoint URI will be used. -# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" . - #:sparqlContentTripleSource # a , # ; # # The URI of the SPARQL endpoint for your triple-store. # :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ; -# # URI to use for SPARQL UPDATE calls against your triple-store. If not -# # specified, the primary endpoint URI will be used. +# # The URI to use for SPARQL UPDATE calls against your triple-store. +# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" . + +#:virtuosoContentTripleSource +# a , +# ; +# # The URI of Virtuoso's SPARQL endpoint. +# :hasEndpointURI "PUT_YOUR_VIRTUOSO_URI_HERE" ; +# # The URI to use for SPARQL UPDATE calls against Virtuoso. # :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" . diff --git a/config/example.runtime.properties b/config/example.runtime.properties index 4151ea69..36e063e8 100644 --- a/config/example.runtime.properties +++ b/config/example.runtime.properties @@ -107,7 +107,7 @@ VitroConnection.DataSource.pool.maxIdle = 10 # ----------------------------------------------------------------------------- -# USING A DIFFERENT DATA STORE +# USING A DIFFERENT DATABASE # ----------------------------------------------------------------------------- # @@ -118,20 +118,10 @@ VitroConnection.DataSource.dbtype = MySQL VitroConnection.DataSource.driver = com.mysql.jdbc.Driver VitroConnection.DataSource.validationQuery = SELECT 1 - # - # Optional URI of a SPARQL endpoint from which VIVO should display data. - # If set, VIVO will use this endpoint as its triple store instead of the - # SDB database. - # -#VitroConnection.DataSource.endpointURI = - - # - # Optional URI to use for modifying the above endpoint via SPARQL UPDATE. - # This setting is only necessary if the endpoint does not support updates via - # its main URI. (This may be done for access control purposes.) - # If the endpointURI above is not set, this setting has no effect. - # -#VitroConnection.DataSource.updateEndpointURI = + # Note: the above parameters allow you to change the relational database that + # is used as the back end for Jena SDB. If you want to use a triple store + # other than SDB, you will need to edit applicationSetup.n3. See the + # installation instructions for more details. # -----------------------------------------------------------------------------