protegeproject / ontograf

Protege Desktop plug-in that allows visual, interactive navigation of the relationships in OWL ontologies.
18 stars 7 forks source link

ontograf: relations from imported ontologies are not shown #16

Open matthewhorridge opened 8 years ago

matthewhorridge commented 8 years ago

Filed here instead of here

Hi,

Scenario: 3 Ontologies Ontology 1 contains 2 classes (CA, CB) which are associated with ObjectProperty A1: CA --A1--> CB Using OntoGraf to visualize this works - the nodes and arc are visible.

Ontology 2 contains 2 classes (CF, CG) which are associated with ObjectProperty A2: CF --A2--> CG Using OntoGraf to visualize this only works after restarting protegé and loading Ontology 2 at first. Only for the first ontology all nodes and arc are visible. For the second loaded Ontology only arcs of type Subclass are visible.

Ontology 3 imports Ontology 1 and 2. Then only arcs of type Subclass are visible, too.

This seems to be a Bug in visualizing association other then SubClass of when more then one Ontology is loaded or imported.

Regards, Sebastian

lsarni commented 6 years ago

Is there a workaround for this?

csnyulas commented 6 years ago

One workaround would be to merge the ontologies into one, for the purpose of the vizualisation. You can merge ontologies with the following menu option Refactor -> Merge ontologies.... Some other Refactor menu items may help you as well.