-
Notifications
You must be signed in to change notification settings - Fork 2
Entity Iris are now objects in JSON-LD #245
Conversation
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.
Please check that you handled all the IRIs that are not objects of @id
or @type
.
It should be |
# Conflicts: # src/app/model/test-data/ontologycache/beol-complex-onto.json
@benjamingeer Could you try this branch with your PR? |
What exactly should I try? Should I run automated tests? If so, how do I run them? |
The automated the tests are run be travis. You can run them locally like this Could you try |
"Use the GUI" is a bit vague. I can click on random things, but since I don't know how they're supposed to work, I don't think I can test the GUI manually. |
You can search for a resource in the GUI and see if it is displayed correctly. There are already some tests for the ontology cache service. But we should add more. Would you be interested in doing that? |
How will I know if it's displayed correctly? |
I think that it's best if the people who wrote the code write the tests for it... |
Open the browser console to check for errors. What I did was: I created an |
What if there are no errors, but the resource is displayed wrong, but I don't know that, because I don't know how it's supposed to look? |
Ideally yes. But I simply have very scarce time resources, still I had to add all this functionality because it was not there yet and we needed it for BEOL (and for all the other projects). So if could dedicate some time, that would be great. Also because you surely will have good suggestions how to improve it. We can look at it together and then see what is realistic. |
I also have very scarce time resources and I'm supposed to finish API v2. But when I write code, I write tests for it. I thought we had all agreed on that as part of our development process in the DHLab. |
Sure, I understand. Can I at least explain the design of SALSAH2 to you, so we can figure out what the design documentation should look like? Also I can show you the tests I have written so fare and you could give me some feedback on that. |
I'd be glad to try to understand a bit about how the GUI works and perhaps make some suggestions. But I don't think I can actually work on GUI development and still get API v2 done in a reasonable amount of time, unless Lukas decides that he wants priorities to change. |
I think it would be great if I could give you some insight in the service that parsers the ontology JSON-LD responses and the mapping from JSON-LD to internal classes for resources and values. It is quite probably that there will be future changes in Knora that require more changes on the side of SALSAH2. I will be glad to start a documentation for it and also write more test, but I can only do it step by step. |
I will try to add some more tests to this PR: |
I would really like to merge dasch-swiss/dsp-api#833 today if possible, because it's blocking other things that I need to work on. Could you make a new PR for SALSAH 2 tests instead? |
Yes, absolutely. |
but you still have to approve this PR |
This PR relates to dasch-swiss/dsp-api#833.
schema:name
has been replaced byrdfs:label