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

Help to found Pellet Java Code sample to check Consistency in correspondences (alignment) #43

Open
MiriamOliveira opened this issue Jun 1, 2018 · 4 comments

Comments

@MiriamOliveira
Copy link

I look for an example in java using the reasoning pellet to check if given two ontologies and incrementally given the indication of correspondences between these ontologies if the alignment between them remains consistent.

Example:

Input: Ontology1, Ontology2, ArrayCorrespondencestoCheck
Output: CorrespondencesChecked

FOR i = 0 to Len( ArrayCorrespondencestoCheck )
IF Is Consistent (Ontology1, Ontology2, ArrayCorrespondencestoCheck[i]) then
CorrespondencesChecked [L] = ArrayCorrespondencestoCheck[i];
L=L+1;
END IF
NEXT

Thank you,

Miriam Oliveira
PhD Student

@ignazio1977
Copy link
Contributor

Are you using Pellet with the Jena or the OWLAPI library?

@MiriamOliveira
Copy link
Author

MiriamOliveira commented Jun 1, 2018 via email

@MiriamOliveira
Copy link
Author

I found examples with code from the own pellet and hermit to test the consistency of a single ontology, including new axioms and checking its consistency. my problem is how to include axioms for two ontologies and the alignment between them from matches pointed to with equivalence relation and get from reasoning if this alignment is consistent.

@ignazio1977
Copy link
Contributor

Create a new ontology that imports both ontologies to align and create a reasoner with the new ontology. Then you can add alignment axioms to the new ontology.

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