Skip to content
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

add examples #1

Open
VladimirAlexiev opened this issue Mar 4, 2024 · 10 comments
Open

add examples #1

VladimirAlexiev opened this issue Mar 4, 2024 · 10 comments

Comments

@VladimirAlexiev
Copy link
Collaborator

@johanwk Thanks for inviting me to this work! I've forked the repo and can make Pull Requests.
Can you please add some example to make it easier to get oriented?
Eg elot-lob has file:images/example-ttl.svg but that is not included.

@johanwk
Copy link
Owner

johanwk commented Mar 4, 2024

I'm happy to add examples. As for the svg example you are referring to, that's obviously a left-over that should have been taken out.

What kind of example would you prefer to start with? More ontology content, or rdfpuml content? I'm happy with both.

With rdfpuml, my setup on Windows is kind of inconvenient. The Perl installation and everything, I wasn't able to make it portable at all. I think you mentioned a Docker image for rdfpuml -- would that be something that could be fetched from somewhere else, then made easy to access from this repo, perhaps?

@VladimirAlexiev
Copy link
Collaborator Author

Any examples you see fit!

  • Obviously, it will be easier for me to help with rdfpuml diagramming
  • But I also know OMN and a bit of org literate programming, so may be able to help with that too
  • In particular, I see some intriguing tables in elot-template ("Overview of progress")
  • I've just learned of org-ql and org-roam (previously dabbled with Roam and Zettelkasten): org is an ever-expanding world :-)

If you don't want to add examples to this repo, you can send them by email.

@johanwk
Copy link
Owner

johanwk commented Mar 5, 2024

Actually, the largest example so far is the Industrial Data Ontology, for which the document made with this tool is available at https://rds.posccaesar.org/ontology/lis14/ (see the link under the word "here"). A new version will be out very soon, we are wrapping up the next version by the end of next week, with hundreds of corrections and improvements. So, the IDO ontology is the main example we have so far. Note, the document there was made with MS Word, to satisfy ISO requirements, but only after the contents were written into the ELOT tool.

The IDO document available at the above link is very close to the ISO document, but modified so it can be distributed. IDO as new standard ISO 27326-3 is planned to be published in 2025.

@johanwk
Copy link
Owner

johanwk commented Mar 5, 2024

The org-ql tables are really powerful, and org-ql is under active development, so new features keep coming. Now, it's of course possible to just query the ontology using SPARQL, but -- there are advantages to having these queries in the ELOT document. You can add links and quickly jump to places you want to edit. You can typeset the tables and have them included in the document while working on draft versions. Completion "cookies" that show how complete you are with regard to annotation requirements (IDO uses the excellent annotation vocabulary by IOF) can be queried; these aren't even exported to the ontology document, so will not be available to SPARQL. And so forth -- all very nice.

@johanwk
Copy link
Owner

johanwk commented Mar 5, 2024

The IDO document includes quite a few rdfpuml diagrams. In some cases, they are tweaked to fit with ad-hoc content. For instance, it's difficult to show class unions in any reasonably compact way in ontology documentation. Maybe this is something we could look at together, for a reusable way to do it.

@VladimirAlexiev
Copy link
Collaborator Author

Hi! I know https://rds.posccaesar.org/WD_IDO.pdf (looked at it end of last year).
But I mean some simple example as org source (similar to what you've shown me), so we can retest as I make any changes to your code (org or elisp).
Thanks for a great meeting!

@johanwk
Copy link
Owner

johanwk commented Mar 25, 2024

I see! Yes, I'll see if I can add some examples in the repo today. Now that the new template <os is working, it's easy to create new ontologies.

OH, and by the way, the README needs to be updated. The "package" is now in subfolder elot-package, so that should be added to load-path, followed by `(load-library "elot").

@johanwk
Copy link
Owner

johanwk commented Mar 25, 2024

I just added pizza.org as an example!

This was converted from the original with Emacs keyboard macros.

The export to LaTeX is not quite right , but from a superficial inspection, the tangled OWL version seems to be at least very close to the original.

@johanwk
Copy link
Owner

johanwk commented Mar 28, 2024

Update to the pizza.org example: now there's a section called "ROBOT metrics" that illustrates how ROBOT can provide useful information.

@johanwk
Copy link
Owner

johanwk commented Mar 28, 2024

Update 9843b79 to pizza.org: sparql queries using ROBOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants