cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

How to visualize Class restrictions without blank nodes between classes?

contzero
Node Link

Hello all

I am trying to import an OWL ontology from Protege using n10s.rdf.import.fetch (....,'Turtle', {typestolabels=False}). The {handleRDFTypes} parameter is set on "LABELS_AND_NODES"
This ontology contains for each class a subClassOf predicate that contains either an object property or a data property (ex: Class_A subClassOf isRelatedWith Class_C), as well as instances for each class (instances have Object and Data property assertions)
When I import the ontology, I can see the name of the Object Property between instances directly on the string that connects them:
3X_c_6_c65073d1071d22f76668a3addeda61374b2a6dad.png

But for the classes, there is a bnode between them :

3X_e_9_e9ae20875fbd19bf65f5152d7e496a5498b7c2e6.png

Is there any way to visualize my ontology without the Bnode but instead with the name of the Object or Data restriction directly on the string between my class nodes? And if not, is there any more optimal way to visualize a Class Restriction ?

Thank you for your help!

0 REPLIES 0