-
Notifications
You must be signed in to change notification settings - Fork 2
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
Shorthand for built-in operations #109
Comments
How would you determine the datatype? Would |
Do you mean the
Yes, I was thinking that the easiest way, and requiring no changes to pipeline code, would be to merge the pipeline graph with a graph containing all those built-in operations. This way it would also be trivially possible to keep a separate RDF file with shared and add a way for consumer to load additional graphs into the definition. The downside is having to parse a bunch of additional triples, even if most of them are not used in a given pipeline. Otherwise I was taking about something more sophisticated where we destructure the URI to figure out what built-in operation is referenced and insert those triples into the definition graph. Something like a extracting variables from a URI template
This method also does not affect how the definition is the processed but requires more additional code to parse the URIs (URI Template or regex?) and seems somewhat more magical and less extensible.
I do not understand that |
I think it should be possible to have some kind of smart graph loader or triple generator. Where do you think that feature should be placed? I was thinking of between the cli tool and the pipeline code. The cli tool uses a function like |
Closing in favor of #131 |
The current way of importing code from
barnard59-base
,barnard59-formats
andbarnard59-protocols
seems a little verbose and repetitive to me. How about if instead of typing thecode:link
/code:type
one could just have a set of well-known identifiers?For example
could be interpreted as the more verbose
The text was updated successfully, but these errors were encountered: