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

Logical axiom IRI resolution issue #311

Closed
hkir-dev opened this issue Mar 18, 2021 · 3 comments
Closed

Logical axiom IRI resolution issue #311

hkir-dev opened this issue Mar 18, 2021 · 3 comments

Comments

@hkir-dev
Copy link
Contributor

We are using odk v1.2.26

Please see src.zip for the complete case.

For given logical_axiom:

axiom_type: subClassOf
text: "%s"
vars:
- gross_cell_type

Dosdp cannot resolve 'gross_cell_type' and default text value is used instead of the IRI. Accordingly given error is raised:

org.semanticweb.owlapi.manchestersyntax.renderer.ParserException: Encountered 'cell' at line 1 column 1. Expected one of:
Class name
Object property name
Data property name
inverse
not
(
{

For the other patterns (such as "name"), gross_cell_type curie resolved as expected.

@balhoff
Copy link
Member

balhoff commented Mar 18, 2021

Hello @hkir-dev, I haven't tried running this yet, but I did see one issue in the pattern. Within vars there is gross_cell_type: "'cell'", however cell is not defined in classes.

Can you see if fixing that clears up your issue, or if not, please post the command you're running. Thanks!

@balhoff
Copy link
Member

balhoff commented Mar 18, 2021

I think we should add some checks for variable declarations; I made this issue long ago: #62.

@hkir-dev
Copy link
Contributor Author

Hi @balhoff , yes this solved the issue.
Thank you very much.

@balhoff balhoff closed this as completed Mar 19, 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

2 participants