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

with-ontology macro seems to be missing from the code? #82

Open
Trevoke opened this issue Nov 4, 2024 · 2 comments
Open

with-ontology macro seems to be missing from the code? #82

Trevoke opened this issue Nov 4, 2024 · 2 comments

Comments

@Trevoke
Copy link

Trevoke commented Nov 4, 2024

Hello!

I see a test is defining an empty with-ontology function, and "using this as an API" says we can use the with-ontology macro like so:

(defn -main [& args]
  (with-ontology pizza
    (save-ontology "pizza.rdf" :rdf)
    (save-ontology "pizza.owl" :owl)))

But.. That code doesn't run for me. Seaching for with-ontology in this codebase doesn't bring up a definition. What am I missing?

@phillord
Copy link
Owner

phillord commented Nov 4, 2024

I think I blitzed that for Tawny 2.0. You can do "(save-ontology pizza....)" instead.

Where does it say to do that?

@Trevoke
Copy link
Author

Trevoke commented Nov 4, 2024

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