Proposal for lightweight semantification using semantify³ #2753
WolfgangFahl
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A query such as https://github.com/WDscholia/scholia/blob/main/scholia/app/templates/event-series-index_list.sparql
is currently semantified by snapquery embedding the meta-data in yaml file
which then needs to be parsed and may be converted to RDF format as proposed in snapquery issue #59 Snap query should consider using the sparql-examples style of encoding queries as their own entities as the basis of it's data interchange.
Instead of having Snapquery try to collect meta-data from all queries it would IMHO be much more straightforward to have the meta - data annoation right in the queries.
The https://github.com/BITPlan/semantify3 semantify³ project proposes an annotation for that:
the yaml snippet is simply embedded in the SPARQL comment
semantify³ will then happily collect the metadata from the files. This process is IMHO much more straightforward then the current github scraping procedure as implemented in https://github.com/WolfgangFahl/snapquery/blob/main/snapquery/scholia.py
and also the snapquery solution can be made compatible to respect this metadata.
Instead of the current approach to load an SQL database. the triple conversion is readily available. To show off this capability i propose to add a SPARQL endpoint based on Vincent Emonet's https://github.com/vemonet/rdflib-endpoint
that will allow to do queries about queries and queries about endpoints and of course queries about runtime behavior.
going this lightweight route first before adding these features in an heavyweight style to snapquery seems to be more adequated for the current pressing need to get queries in the migration phase compared and analyzed quickly.
Beta Was this translation helpful? Give feedback.
All reactions