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

bug transformation subclass #24

Open
arademaker opened this issue Sep 27, 2019 · 3 comments
Open

bug transformation subclass #24

arademaker opened this issue Sep 27, 2019 · 3 comments

Comments

@arademaker
Copy link
Member

arademaker commented Sep 27, 2019

The original axiom could be used to type the arguments, but the translation turns this axiom useless.

(=>
  (subclass ?X ?Y)
  (and
    (instance ?X SetOrClass)
    (instance ?Y SetOrClass)))
/*
(forall (?Y ?X)
 (=> (and (instance ?Y SetOrClass) (instance ?X SetOrClass))
  (=> (subclass ?X ?Y)
   (and (instance ?X SetOrClass) (instance ?Y SetOrClass)))))
*/
fof(a14,axiom,! [Y,X] : (((s_instance(Y, s_SetOrClass) & s_instance(X, s_SetOrClass)) 
 => (s_subclass(X, Y) => (s_instance(X, s_SetOrClass) & s_instance(Y, s_SetOrClass)))))).
@arademaker
Copy link
Member Author

arademaker commented Sep 27, 2019

It looks like there is no easy way to prove that ins Vertebrate Class from ins Vertebrate SetOrClass. The axioms from subclass have the types as conditions.

We have (partition SetOrClass Set Class) but we don't have ways to say that something is not a Set.

It looks like the only way is to show that is using the axiom below and showing that it is a subclass of Entity:

(<=>
    (instance ?CLASS Class)
    (subclass ?CLASS Entity))

But for that, I will need to use the fact that subclass is a PartialOrderingRelation

@arademaker
Copy link
Member Author

This is actually already identified in #1 by @fcbr

@arademaker
Copy link
Member Author

arademaker commented Sep 29, 2019

The question is how we should interpret the axioms below:

(instance subclass BinaryPredicate)
(instance subclass PartialOrderingRelation)
(domain subclass 1 SetOrClass)
(domain subclass 2 SetOrClass)
...

(=>
  (subclass ?X ?Y)
  (and
    (instance ?X SetOrClass)
    (instance ?Y SetOrClass)))

See ontologyportal/sumo#181

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