-
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
sparql/turtle/omn prefix insertion #28
Comments
This looks useful, but I've so far taken a special approach to handling prefixes -- a table with My thinking, here, is that the user should not need to worry about keeping prefixes in sync across different types of code blocks, for most common tasks. The list of Wikidata prefixes looks really helpful. I would love to have some tempo templates that could make it easier to get started with Wikidata queries -- I think the way Wikidata is set up, it's quite hard for an occasional user (like myself). |
Quite agree, with some additions:
|
Absolutely. Here's a suggestion: When the user invokes a call to Question. Does
Yes, absolutely. Maybe in some kind of combination with the package rdf-prefix? |
rdfpuml predefines these
The code above uses rdf-prefix, see
|
I suppose those are defined and used "inside" the rdfpuml code, so would not need to be added to prefixes.ttl? There will perhaps be a slight possibility of a clash, if a user decides to introduce one of the mentioned prefixes with a different expansion. Is this something we need to worry about/check for?
Sorry, I should have seen that! Proposal -- maybe we could do the following: introduce a tempo template for adding a new row to The template definition can include code for looking up common prefixes, using something like your code at the top of this issue. There's an example at the end of the |
Yes. (But I still add
|
This inserts a prefix using appropriate syntax for a variety of modes (codeblock langs), using prefix.cc and wikidata prefixes.
The text was updated successfully, but these errors were encountered: