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

Clarify restriction on Ordered Member #574

Closed
rjyounes opened this issue Sep 22, 2021 · 0 comments
Closed

Clarify restriction on Ordered Member #574

rjyounes opened this issue Sep 22, 2021 · 0 comments

Comments

@rjyounes
Copy link
Collaborator

rjyounes commented Sep 22, 2021

Change:

owl:unionOf (
	[
		a owl:Restriction ;
		owl:onProperty gist:precedesDirectly ;
		owl:someValuesFrom gist:Thing ;
	]
	[
		a owl:Restriction ;
		owl:onProperty gist:followsDirectly ;
		owl:someValuesFrom gist:Thing ;
	]
	[
		a owl:Restriction ;
		owl:onProperty gist:sequence ;
		owl:someValuesFrom xsd:integer ;
	]
) ;

to


owl:unionOf (
	[
		a owl:Restriction ;
		owl:onProperty gist:precedesDirectly ;
		owl:someValuesFrom gist:OrderedMember ;
	]
	[
		a owl:Restriction ;
		owl:onProperty gist:followsDirectly ;
		owl:someValuesFrom gist:OrderedMember ;
	]
	[
		a owl:Restriction ;
		owl:onProperty gist:sequence ;
		owl:someValuesFrom xsd:integer ;
	]
) ;

This change clarifies the meaning of the restriction, though it is strictly speaking logically redundant: since only OrderedMembers belong to OrderedCollections, precedence would be only in relation to other OrderedMembers. There's an edge case counterexample where an OrderedMember is asserted to precede or follow something outside the OrderedCollection, but it's hard to see how that situation would occur. At any rate, this creates greater clarity.

Full disclosure: this issue has already been addressed in PR #573, and is being created retroactively in order to have an issue associated with the PR (which I neglected to do when I submitted it.)

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