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

Document pddl type definition #30

Open
tobiaswjohn opened this issue Dec 20, 2024 · 1 comment
Open

Document pddl type definition #30

tobiaswjohn opened this issue Dec 20, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@tobiaswjohn
Copy link
Collaborator

Document how pddl types can be defined in the ontology. See #20 as a reference.
This part of the ontology is not translated (as the rest of the ontology is), so documentation is necessary as the behavior might be unexpected.

@tobiaswjohn tobiaswjohn added the documentation Improvements or additions to documentation label Dec 20, 2024
@tobiaswjohn tobiaswjohn self-assigned this Dec 20, 2024
@chcorbato
Copy link

Nice job on #20 @tobiaswjohn !
I would like to understand better the implications of this modelling solution, which I briefly discussed with @Rezenders
What do you mean with this part of the ontology not being translated into PDDL? Do I understand it correctly that it is not content to be translated, but rather meta-data on the ontology about HOW to transform?

I agree this is important to document in the paper.

Here are my thoughts:
Ideally, we would like to have an ontology that is independent of any potential use with PDDL planners, it is just a representation of a domain (in this case self-adaptive systems) following an OWL interpretation.
However, due to the practicalities of translating our ontology into PDDL, we need to add additional information on HOW to process the ontology elements in that translation. This is what pddl type addresses, right?
However, adding these types adds elements that do not model the domain the ontology captures.

The question could be:
Are there other ways we could add this meta-data about how to parse the ontology for PDDL planning?

I have seen in other ontologies the use of annotations to capture additional, non-formal information. Despite this recommendation from OWL 2 specification:

OWL 2 provides several built-in annotation properties for ontology annotations. The usage of these annotation properties on entities other than ontologies is discouraged.

Maybe we could use annotations for our purpose.
See how the menu to add them looks like no Protege:
Screenshot 2025-01-03 at 11 46 07

This does not solve the issue of adding extra, non-domain related, modelling elements in our ontology.
We could work around this by creating the annotations in a separate file that imports the original ontology.
By the way, this could also address the problem in your solution too, haha

There may be other approaches, even recommended practices for this, but so far I have not found them. Do you or Einar know, or someone in your department?

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

No branches or pull requests

2 participants