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

Can we create new OWL individuals with HyLAR ? (is it DL Safe ?) #15

Open
benellefi opened this issue Apr 1, 2020 · 5 comments
Open

Comments

@benellefi
Copy link

Hello,

Can we create new OWL individuals with HyLAR rules ? (is it DL Safe ?)

Thanks,

@mterdjimi
Copy link
Member

Hello,

Yes you can create individuals with HyLAR rules. They will be DL-safe, cause the evaluation process will substitute each variable with known individuals from the KB.

May I see an example of rule you wanted to define?

Regards,

MT

@crapthings
Copy link

@mterdjimi hi, i have very similar issue.

if i want to make hylar as a service, and then provide each request that to create their own indiviuals, but keep original ontology clean each time of requeest.

any example?

what is keepOldValue used for ?

@mterdjimi
Copy link
Member

keepOldValues is used to import data, then do deductive closure without erasing the current values in both the reasoner and store.
If you need to create your own individuals without persistence (if that's what you mean), it's better to rely on CONSTRUCT queries rather than reasoner rules.

@crapthings
Copy link

crapthings commented May 15, 2020

If you need to create your own individuals without persistence (if that's what you mean), it's better to rely on CONSTRUCT queries rather than reasoner rules.

  1. i want them to share some individuals created by ontology itself
  2. user will INSERT their own individuals that relates to built-in individual from step "1" for reasoning

will UserB see those individuals inside their query that made by UserA?

@gick
Copy link

gick commented Oct 24, 2021

I'd be interested to see a rule for creating new individuals.
Thank for the amazing work @mterdjimi by the way!

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

4 participants