Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Commit

Permalink
Document that the SPARQL endpoint path can be configured.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed May 28, 2018
1 parent 088022f commit 75c9b85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Grant 'update' rights to the SPARQL user:
System admin -> Users -> SPARQL (edit)
Account roles -> Put SPARQL_UPDATE in 'Selected'

## Connecting Drupal to the Sparql endpoint
## Connecting Drupal to the SPARQL endpoint
The following example demonstrates the use with a local Virtuoso installation.
To connect Drupal to the endpoint, the db connection should be added to the
settings.php file.
Expand All @@ -54,6 +54,9 @@ settings.php file.
'prefix' => '',
'host' => '127.0.0.1',
'port' => '8890',
// Optional. This is actually the endpoint path. If omitted, 'sparql' will
// be used.
'database' => 'data/endpoint',
'namespace' => 'Drupal\\rdf_entity\\Database\\Driver\\sparql',
'driver' => 'sparql',
];
Expand Down

0 comments on commit 75c9b85

Please sign in to comment.