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

Implement new datamodel from RDF #5

Open
henhuy opened this issue Nov 15, 2023 · 0 comments
Open

Implement new datamodel from RDF #5

henhuy opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@henhuy
Copy link
Collaborator

henhuy commented Nov 15, 2023

Additionally to datasets stored into django models and queried via django ORM, we want to SPARQL data from OEP which is first mapped into RDF format and then made available via RDF endpoint(s).

In order to test/implement this, following steps must be done:

  • Add flag (from_rdf or similar) to source model
  • RDF Dataset does not store data in DB, only scenario ID, RDF endpoint and source RDF
  • rewrite get_filters to get filters from RDF endpoint in case of RDF source
  • rewrite get_scalar_data to query via SPARQL at endpoint, instead of DB query
  • Setup RDF endpoint from files for testing via https://github.com/vemonet/rdflib-endpoint
  • get example RDF files (from ADEL)
@henhuy henhuy added the enhancement New feature or request label Nov 15, 2023
@henhuy henhuy self-assigned this Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant