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

Property has no domain or range in generated OWL #777

Closed
crapo opened this issue Aug 23, 2021 Discussed in #772 · 1 comment
Closed

Property has no domain or range in generated OWL #777

crapo opened this issue Aug 23, 2021 Discussed in #772 · 1 comment
Assignees

Comments

@crapo
Copy link
Collaborator

crapo commented Aug 23, 2021

Discussed in #772

Originally posted by AbhaMoitra August 20, 2021
I am using SADL version 3.4.1.202010012108 and here is a snippet of SADL (the entire project is available at https://github.com/ge-high-assurance/RACK (navigate to https://github.com/ge-high-assurance/RACK/blob/master/RACK-Ontology/ontology/AGENTS.sadl)

PERSON (note "Person agents are people - alias for User")
is a type of AGENT.

employedBy (note "Relates people to the company they were acting on behalf of.")
describes PERSON with at most one value of type AGENT.
employedBy is a type of actedOnBehalfOf.

There is no domain or range for employedBy in the generated OWL file. That is still the case when "employedBy is a type of actedOnBehalfOf" is commented out.

But when "with at most one value of type AGENT" is replaced by "with values of type AGENT" then domain and range info is present in the OWL file.

I also tried this out in SADL version 3.5.0.202105101655; and again I did not see domain or range for employedBy.

This translation to OWL seems strange?

@crapo
Copy link
Collaborator Author

crapo commented Sep 10, 2021

This, and a number of possible related errors, are fixed with PR #787 .

@crapo crapo closed this as completed Sep 10, 2021
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

1 participant