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

Problem to create annotations #1

Open
esgg opened this issue Nov 3, 2020 · 3 comments
Open

Problem to create annotations #1

esgg opened this issue Nov 3, 2020 · 3 comments

Comments

@esgg
Copy link

esgg commented Nov 3, 2020

Hi,

I have created the following research object in rohub: [http://www.rohub.org/rodetails/ACTION_air_pollution].

I am trying to create an annotation on an specific resource (
DATALOG_Lambertseter_VGS_20190329 in Raw data folder) but it is not working. I can't see the annotation in the annotation list.

No error message is shown in the screen or in the javascript console.

Thank you!

@rapw3k
Copy link
Member

rapw3k commented Nov 5, 2020

Hi @esgg, thanks for the feedback.
Can you tell us which annotation did you try to add?
The resource has title and type, so annotations seems to be created.
However, there seems to be an issue in "show the annotations", which does not show them. The issues is with the "#" in the URI.
By the way you can always check in the sparql endpoint, e.g., http://sandbox.rohub.org/rodl/sparql?query=describe%20%3Chttps://zenodo.org/record/3737799%23.X6GSnVNKi8o%3E
You can also use the old sparql UI http://old.rohub.org/portal/sparql

@esgg
Copy link
Author

esgg commented Nov 5, 2020

I tried to add the following annotation on dataset DATALOG_Lambertseter_VGS_20190329 (Raw data folder):

Thanks!

@rapw3k
Copy link
Member

rapw3k commented Nov 24, 2020

thanks @esgg , yes, I confirm. As mentioned above, the issue is not with creating the resource annotation, but with displaying the resource annotations because the resource URI ("https://zenodo.org/record/3737759#.X6GSQFNKi8o") includes "#", and the string after that character (the fragment part) is not parsed in the frontend visualization i.e., "#.X6GSQFNKi8o". I have opened an internal issue for this in the portal (frontend).

Also mentioned above, you can always check the annotations via the sparql endpoint.

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

2 participants