Show rdf:comment in path edit mode in Pathbuilder

Created on 30 May 2023, over 1 year ago
Updated 14 June 2023, over 1 year ago

Problem/Motivation

It would be nice to have a tooltip for the rdfs:comment attribute of classes and properties in the pathbuilder edit mode to check the definitions. No fancy stuff, just add a title attribute to the select elements for the options array in the select form element.

Proposed resolution

Add column "comments" in the DB-Tables with the corresponding rdfs:comment.
Add "title" attribute to the select options within the pathbuilder edit mode and populate with the comment text.

Classes and Methods

  • wisski/wisski_adapter_sparql11_pb/src/Plugin/wisski_salz/Engine/Sparql11EngineWithPB.php
    • getReasonerTableSchema()
  • web/modules/contrib/wisski/wisski_pathbuilder/src/Form/WisskiPathForm.php
    • form()
Feature request
Status

Needs work

Version

3.0

Component

User interface

Created by

🇩🇪Germany rnsrk

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

Comments & Activities

  • Issue created by @rnsrk
  • Assigned to Knurg
  • Status changed to Needs review over 1 year ago
  • 🇩🇪Germany rnsrk

    First implementation with commit 041d7cd2

  • Status changed to Needs work over 1 year ago
  • 🇩🇪Germany rnsrk

    Implementation in Sparql11EngineWithPB::retrieve failed, because it produced to much overhead. Functions used to add comments and labels should only used in WissKIPathForm.

Production build 0.71.5 2024