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

Variable name might be wrong for the convert method of the OWLClassExpressionToSPARQLConverter class. #6

Open
yayamamo opened this issue Nov 24, 2020 · 0 comments

Comments

@yayamamo
Copy link

Even though the second argument of the convert method of the OWLClassExpressionToSPARQLConverter class is like "?s", the following exception occurs. It might be due to the variable name of the method is "String rootVariable" whereas the one in the createSelectClause method is "Stack variables". If not, could you let me know why this exception occurs? I use 0.1-SNAPSHOT of owl2sparql-core.

Exception in thread "main" java.util.NoSuchElementException
	at java.util.Vector.firstElement(Vector.java:489)
	at org.aksw.owl2sparql.OWLClassExpressionToSPARQLConverter.createSelectClause(OWLClassExpressionToSPARQLConverter.java:343)
	at org.aksw.owl2sparql.OWLClassExpressionToSPARQLConverter.convert(OWLClassExpressionToSPARQLConverter.java:125)
...
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