-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add annotations and geo data #32
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
base: development
Are you sure you want to change the base?
Conversation
- Bump `virtuoso` to a version support geosparql, follow the steps in the README[1] to update - Removes the superfluous `+` symbols in the virtuoso's configuration. These caused these lines to be ignored and thus not loading the necessary plugins. [1] https://github.com/redpencilio/docker-virtuoso?tab=readme-ov-file#upgrading
10e0d55 to
2b616dd
Compare
2b616dd to
0a3c160
Compare
| :resource-base (s-url "http://data.lblod.info/id/memberships/")) | ||
|
|
||
| (define-resource location () | ||
| (define-resource location-temp () |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this one about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran into issues when I defined the other location resource type for dct:Location in geo.lisp. Renaming the one defined here was a quick fix at the time as it is not (yet) used in the frontend.
| :resource-base (s-url "http://data.lblod.info/id/locations/geometry/") | ||
| :on-path "geometries") | ||
|
|
||
| ;; TODO: Add: `schema:TouristAttraction', `Perceel:Perceel', and `wikidata:Q2785216'? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably not for the pilot? check with business?
This builds on #27 to provide a public endpoint for the app's annotations with geographical information. More specifically, this extends the configuration for the resource and dispatcher services with the appropriate resource definitions and routes respectively. Furthermore, this bumps the used
docker-virtuosoto a version supporting geosparql and updates its configurations to load the appropriate plugins. Finally, this adds a migration inserting some example data for demonstration and testing purposes.How to test
This PR involves upgrading the version of the virtuoso service. For this follow the upgrade instructions in the
docker-virtuosoREADME. Note, make sure you already started the virtuoso service before switching to this PR's branch.Afterwards, make sure to restart the
resourcesanddispatcherservices such that they load their updated configurations. To load the example data into the app simply start the migrations service.Notes
Related PRs
Related tickets