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

Create a plugin for custom resource views #37

Open
Aklakan opened this issue Oct 19, 2020 · 1 comment
Open

Create a plugin for custom resource views #37

Aklakan opened this issue Oct 19, 2020 · 1 comment

Comments

@Aklakan
Copy link
Member

Aklakan commented Oct 19, 2020

For a given set of RDFnodes enable:

  • determine applicable data shapes (e.g shacl) and view components

on that basis:

  • retrieve corresponding triples (e.g. nested property structures)
  • present retrieved data using an appropriate vaadin component
@Aklakan Aklakan changed the title Create a plugin for custom resourceviews Create a plugin for custom resource views Oct 19, 2020
@Aklakan
Copy link
Member Author

Aklakan commented Dec 2, 2020

The system is now in place and working - the central classes being ViewTemplate and ViewFactory in conjunction with ViewManager.

Currently the 'shape' needs to be provided as an entity query which is a sparql-based model for composing sparql syntax elements for specifying a set of entities together with attributes. We should add support for a specification using shacl which is then compiled to an EntityQuery. The compilation code is mostly rewritten in the class NodeSchemaDataFetcher.
NodeSchema is essentially the SPARQL-centric version of a NodeShape - i.e. conditions over a set of triples are expressed in terms of SPARQL expressions which e.g. allows the use of SPARQL functions such as langMatches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant