Reorganization of federation description vocabulary#597
Conversation
DrJonasWestman
left a comment
There was a problem hiding this comment.
Overall, the changes reflect the direction we agreed upon after the meeting we had. Nicely done!
I left some smaller/easily fixed comments that I found. I think it makes sense to fix them,
Co-authored-by: DrJonasWestman <jonas.westman@scania.com> Co-authored-by: Olaf Hartig <olaf.hartig@liu.se>
|
Thanks Jonas! I have added your fixes. With this, we can proceed with this new version of the vocabulary. To this end, I have re-generated the Java file for the vocabulary (
which need to be adapted in the same way as I have already adapted ./examples/ExampleFederation.ttl in this PR. |
|
The latest commit adapts all the aforementioned files to the new vocabulary. However, it doesn't add any wrapper logic in I assume since this commit doesn't make changes to the vocabulary, I should request a review from @hartig instead? |
Thanks!
It can remain as is. We have not properly integrated Neo4j (with Bolt endpoints) and GraphQL yet.
I have reviewed it offline and also added the case of a I will merge the PR now. |
|
@keski The PR that reorganizes the federation description vocabulary is merged now. This means for you:
|
@DrJonasWestman @kentthang010 Sorry for being late with the reorganization of the feddesc. vocabulary, but now I am finally done with it. This PR currently contains the updated Turtle file for the vocabulary (
feddesc.ttl) and an updated version of the federation description used for the examples (ExampleFederation.ttl).In a nutshell, the new class hierarchy is as follows:
For more details about these classes, including the properties that are to be used for the instances of each of them, refer to the rdfs:comment entries in the Turtle file (
feddesc.ttl), and the updatedExampleFederation.ttlillustrates how this is supposed to be used now.Please take a look and let me know whether this redesign is okay for you. Ideally, we have an agreement on these changes by the end of Wednesday, because I need to submit the camera-ready version of the ESWC demo paper on Thursday and I would still like to adapt the examples in that paper such that they use the updated version of the vocabulary.
Once we have an agreement, I will regenerate the Java class for the vocabulary and add it to this PR. After that, I will ask Kent to adapt the rest of the code base (essentially, the
FederationDescriptionReaderand the corresponding unit tests inFederationDescriptionReaderTest).