- Issue created by @fishfree
- Status changed to Postponed: needs info
2 months ago 7:07am 12 September 2024 - 🇷🇴Romania claudiu.cristea Arad 🇷🇴
What does this require? Could you provide a MR?
- 🇨🇳China fishfree
I can provide more info:
- I run a Ontotext GraphDB container 10.6.4 according this doc;
- In GraphDB admin Web UI, I created a respository schema_org, and on Drupal page /admin/config/system/rdf-sync, according to this doc, configured as below:
SPARQL query path: repositories/schema_org
SPARQL update path: repositories/schema_org/statements
Graph store path: repositories/schema_org - Then I created a node, there is an error, according the message, I put the genereated SPARQL directly into GraphDB SPARQL page, it told me "WITH ***" should be deleted in the SPARQL, so I deleted line 96 "WITH <$graphUri>" in the file src/RdfSyncTriples.php
- But then I showed error as below, which I'm not able to solve it:
TypeError: Drupal\rdf_sync\RdfSyncConnection::performOperation(): Return value must be of type EasyRdf\Sparql\Result, EasyRdf\Http\Response returned in Drupal\rdf_sync\RdfSyncConnection->performOperation() (line 68 of /var/www/html/drupal/web/modules/contrib/rdf_sync/src/RdfSyncConnection.php) #0 /var/www/html/drupal/web/modules/contrib/rdf_sync/src/RdfSyncConnection.php(107): Drupal\rdf_sync\RdfSyncConnection->performOperation() #1 /var/www/html/drupal/web/modules/contrib/rdf_sync/src/RdfSyncTriples.php(100): Drupal\rdf_sync\RdfSyncConnection->update() #2 /var/www/html/drupal/web/modules/contrib/rdf_sync/src/RdfSyncSynchronizer.php(134): Drupal\rdf_sync\RdfSyncTriples->insertTriples() #3 /var/www/html/drupal/web/modules/contrib/rdf_sync/src/RdfSyncSynchronizer.php(104): Drupal\rdf_sync\RdfSyncSynchronizer->doSynchronize() #4 /var/www/html/drupal/web/core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php(51): Drupal\rdf_sync\RdfSyncSynchronizer->destruct() #5 [internal function]: Drupal\Core\EventSubscriber\KernelDestructionSubscriber->onKernelTerminate() #6 /var/www/html/drupal/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func() #7 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(115): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() #8 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(63): Symfony\Component\HttpKernel\HttpKernel->terminate() #9 /var/www/html/drupal/web/core/lib/Drupal/Core/DrupalKernel.php(688): Drupal\Core\StackMiddleware\StackedHttpKernel->terminate() #10 /var/www/html/drupal/web/index.php(22): Drupal\Core\DrupalKernel->terminate() #11 {main}
My Drupal 10.2, PHP 8.2.
- Status changed to Active
3 days ago 2:37pm 20 November 2024 - 🇷🇴Romania claudiu.cristea Arad 🇷🇴
Now it's possible to write an RdfSyncConnector plugin that would provide the connection to this type of backend.
- 🇷🇴Romania claudiu.cristea Arad 🇷🇴
Some changes are required. Please check the MR