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

Grammar incorrectly defined for DataOneOf #43

gnu9 opened this Issue Jul 4, 2017 · 0 comments


None yet
1 participant

gnu9 commented Jul 4, 2017

Similar to issue #3
The FSS-Parser requires DataOneOf(...) to enumerate at least two individuals which does not comply with OWL2-FSS, e.g. OWL-EL does allow only singletons.

To fix it, change in
org.semanticweb.elk.owl.parsing.javacc.Owl2FunctionalStyleParser.jj /* 7.4 Enumeration of Literals */
the lines

		x = literal() { v.add(x); }
		( x = literal() { v.add(x); } )+


		( x = literal() { v.add(x); } )+

@ykazakov ykazakov closed this in 8a83db8 Jul 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment