Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced support for dash:propertyRole (additionnal roles) #656

Open
tfrancart opened this issue Oct 23, 2024 · 0 comments
Open

Enhanced support for dash:propertyRole (additionnal roles) #656

tfrancart opened this issue Oct 23, 2024 · 0 comments
Labels
kind: Enhancement 📈 New feature or request

Comments

@tfrancart
Copy link
Contributor

Step 1: better integration between yasgui plugins and Sparnatural

yasGUI plugins should be able to notify Sparnatural of the property roles they need. This means that YasGUI plugins should be notified of the full Sparnatural object, probably, not only of the query and the config (?)

Sparnatural should have an API to the outside world setAutoFetchRoles(listOfRoles) that the plugins can call.

Step 2: Sparnatural will auto-fetch these roles

Based on what the plugin needs, Sparnatural will auto-fetch the corresponding properties when executing the query.
This should be made be pre-processing the JSON query before it is turned into SPARQL (see ongoing work in #592)

List of roles

  • dash:KeyInfoRole (table, grid)
  • dash:IDRole (table)
  • dash:DescriptionRole (grid, map)
  • dash:DepictionRole (grid)
  • dash:GeoCoordinateRole (map)
  • dash:FromRole (timeline)
  • dash:ToRole (timeline)
  • also dash:ParentRole and dash:ChildRole could be useful to auto-configure the tree widget
@tfrancart tfrancart added the kind: Enhancement 📈 New feature or request label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: Enhancement 📈 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant