Please support Ontotext GraphDB

Created on 10 September 2024, 2 months ago

Because Ontotext GraphDB has a great out-of-box feature of visualization.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇨🇳China fishfree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @fishfree
  • Status changed to Postponed: needs info 2 months ago
  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴

    What does this require? Could you provide a MR?

  • 🇨🇳China fishfree

    @claudiu Sorry, I'm not capable to do this.

  • 🇨🇳China fishfree

    I can provide more info:

    1. I run a Ontotext GraphDB container 10.6.4 according this doc;
    2. 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
    3. 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
    4. 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
  • 🇷🇴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

  • 🇷🇴Romania claudiu.cristea Arad 🇷🇴
Production build 0.71.5 2024