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

Generated file catalog.ttl has invalid syntax #99

Open
pedropaulofb opened this issue Dec 22, 2022 · 2 comments
Open

Generated file catalog.ttl has invalid syntax #99

pedropaulofb opened this issue Dec 22, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pedropaulofb
Copy link
Member

The catalog.ttl file generated by the ontouml2owl-batch function is reporting a syntax problem at line 11.

The problem is: ERROR: Expected IRI to follow prefix "foaf:" on line 11.
Line 11 is: @prefix foaf: <<http://xmlns.com/foaf/0.1/>.

Note that a double < char is used.

Can you please correct that? The solution is remove the double char, leaving only one.

@pedropaulofb pedropaulofb added the bug Something isn't working label Dec 22, 2022
@pedropaulofb
Copy link
Member Author

pedropaulofb commented Dec 22, 2022

In addition, as you're already going to edit the function, could you please add the following prefix to the generated ttl files (catalog.ttl and also the ontology.ttl files):

@prefix dataset: <http://purl.org/ontouml-models/dataset/>.

This is going to reduce the ttl files' size in about 25%, which is a big gain at it currently have almost 30 MB.

This request was also made here: OntoUML/ontouml-models#181

@pedropaulofb
Copy link
Member Author

This issue can be closed after the PR #105 is accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants