Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert a ontology to a graph

Tags:

graph

ontology

How to convert an ontology (.owl or .rdf) in a graph or an adjacency matrix? Is there any tool?

like image 709
user941273 Avatar asked Sep 03 '25 13:09

user941273


2 Answers

it is possibile to extract nodes and edges by using OWL API (Java API) available here. morever, you can use GraphX spark's API that takes nodes and edges to produce a property graph (directed multigraph) as explained at this link.

like image 53
Ahmed Dib Avatar answered Sep 05 '25 09:09

Ahmed Dib


It largely depends what you want to do. For example, RFD - Gravity, by Salzburg Research, provides a nice visualisation for both OWL and RDF files; and Protégé, by Stanford University, is a very popular Ontology editor. Both of them are written in Java and free of charge, and Protégé is open source.

You can fnid more Semantic Web tools in this URL: http://www.w3.org/wiki/SemanticWebTools.

like image 28
William Niu Avatar answered Sep 05 '25 07:09

William Niu