-
Notifications
You must be signed in to change notification settings - Fork 13
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
Mappings between shape languages #64
Comments
For completeness, you can add SHRL to the list of RDF shape languages. SHRL is based upon Augmented Transition Networks (ATNs) which were developed in the 1970's as a graphical representation of natural language grammars. SHRL rules are expressed directly in RDF. See: |
This is closely related to issue #27, Lack of a standard rules language, because rules can be used to map between shapes (a/k/a data models). |
https://www.w3.org/Data/events/data-ws-2019/assets/position/Ruben%20Taelman.pdf compares briefly 4 integrations of RDF and SHACL (half a page for each). By @rubensworks |
Jem Rayfield (semantic architect at Ontotext) asked: GraphQL +RDF directive harmonisation anyone? Seems to be various directives floating around |
You might look at GraphQL-LD. cc/@rubensworks |
I don't think there is a standard or working group on this harmonisation ATM. The mapping that we use is described in https://www.topquadrant.com/technology/graphql/ |
@VladimirAlexiev As far as I know, no collaborative efforts exist for this yet, but I would be very interested in setting this up. |
@HolgerKnublauch @ericprud @jimkont @labra @azaroth42 @gkellogg @msporny: please comment on https://docs.google.com/document/d/1unO7s2cTk0OqZIAj2iN_6ghcqJc0nT8A8NB3mLg-WLk/edit "input to the creation of a W3C community group that focuses on analyzing methods for accessing RDF data using GraphQL queries" by @rubensworks. In its second half I've proposed to include this issue in the CG scope. |
Is the community making progress in forming - since the January 2020 update above? |
@VladimirAlexiev asks about federated GraphQL mutations. Is there support in Apollo for distributed transactions with all-or-none commitments? When transforming shapes, an issue is that the composition hierarchy may differ between the various shape languages and modification updates stated in GraphQL (or in any interface language) might involve multiple updates to multiple repositories where all updates must commit or none are allowed to commit. I think of it as “transactional distributed schematic ontological transformation”. (I’m going to go read more about Apollo; it’s new to me.) |
The obvious solution for mappings is SPARQL |
+1 for the use case / application of building
|
Shapes are important to describe business objects (entities) in RDF, see #63.
There are several shape or shape-like languages:
Note: there are other RDF Shape languages (eg OSLC Shapes and DCAP profiles) but they were sort of subsubmed during the Shapes WG effort, and the outcome was SHACL and ShEx.
Each of these shape languages has its adherents and users, each has some strengths and weaknesses. It will be very useful for the community if some conceptual or technical mappings were created between the shape languages. This can help efforts such as:
By no means am I claiming that shape languages are equivalent or have the same strength, or that lossless mappings are possible in all cases. This is not meant to spark a religious war.
Exploring the detailed correspondences between these technologies can be very interesting and fruitful. Not least because it can suggest extensions to some of the languages.
There are multi-shape implementations (Shaclex) that I believe have a lot to contribute to this discussion.
cc @HolgerKnublauch @ericprud @jimkont @labra @azaroth42 @gkellogg @msporny
The text was updated successfully, but these errors were encountered: