All Projects → usc-isi-i2 → ontology-visualization

usc-isi-i2 / ontology-visualization

Licence: MIT license
A simple ontology and RDF visualization tool.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ontology-visualization

semantic-web
Storing ontologies/vocabularies from the web. Wish anybody can translate some of them.
Stars: ✭ 114 (+11.76%)
Mutual labels:  semantic, rdf, ontology
ont-api
ONT-API (OWL-API over Apache Jena)
Stars: ✭ 20 (-80.39%)
Mutual labels:  rdf, ontology, triples
OLGA
an Ontology SDK
Stars: ✭ 36 (-64.71%)
Mutual labels:  semantic, rdf, ontology
solr-ontology-tagger
Automatic tagging and analysis of documents in an Apache Solr index for faceted search by RDF(S) Ontologies & SKOS thesauri
Stars: ✭ 36 (-64.71%)
Mutual labels:  rdf, ontology
mobi
Mobi is a decentralized, federated, and distributed graph data platform for teams and communities to publish and discover data, data models, and analytics that are instantly consumable.
Stars: ✭ 41 (-59.8%)
Mutual labels:  rdf, ontology
specification
RDF vocabulary and specification
Stars: ✭ 21 (-79.41%)
Mutual labels:  rdf, ontology
Rdflib
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
Stars: ✭ 1,584 (+1452.94%)
Mutual labels:  rdf, triples
triplestore
Nifty library to manage, query and store RDF triples. Make RDF great again!
Stars: ✭ 101 (-0.98%)
Mutual labels:  rdf, triples
Semanticmediawiki
🔗 Semantic MediaWiki turns MediaWiki into a knowledge management platform with query and export capabilities
Stars: ✭ 359 (+251.96%)
Mutual labels:  semantic, rdf
knowledge-graph-change-language
Tools for working with KGCL
Stars: ✭ 14 (-86.27%)
Mutual labels:  rdf, ontology
fibo
The Financial Industry Business Ontology (FIBO) defines the sets of things that are of interest in financial business applications and the ways that those things can relate to one another. In this way, FIBO can give meaning to any data (e.g., spreadsheets, relational databases, XML documents) that describe the business of finance.
Stars: ✭ 204 (+100%)
Mutual labels:  rdf, ontology
ontobio
python library for working with ontologies and ontology associations
Stars: ✭ 104 (+1.96%)
Mutual labels:  rdf, ontology
semantic-python-overview
(subjective) overview of projects which are related both to python and semantic technologies (RDF, OWL, Reasoning, ...)
Stars: ✭ 406 (+298.04%)
Mutual labels:  rdf, ontology
shex
ShEx language issues, including new features for e.g. ShEx2.1
Stars: ✭ 24 (-76.47%)
Mutual labels:  rdf
matcha
🍵 SPARQL-like DSL for querying in memory Linked Data Models
Stars: ✭ 18 (-82.35%)
Mutual labels:  rdf
synbiohub
Web application enabling users and software to browse, upload, and share synthetic biology designs
Stars: ✭ 56 (-45.1%)
Mutual labels:  rdf
evidenceontology
Evidence & Conclusion Ontology development site: Use ISSUES to request terms. See WIKI for how to request terms. See README for how to cite ECO. Visit our website for more project info.
Stars: ✭ 35 (-65.69%)
Mutual labels:  ontology
viziquer
Tool for Search in Structured Semantic Data
Stars: ✭ 12 (-88.24%)
Mutual labels:  rdf
yang-db
YANGDB Open-source, Scalable, Non-native Graph database (Powered by Elasticsearch)
Stars: ✭ 92 (-9.8%)
Mutual labels:  ontology
unfurl
Extract rich metadata from URLs
Stars: ✭ 41 (-59.8%)
Mutual labels:  rdf

Ontology Visualization

Example

./ontology_viz.py -o test.dot test.ttl -O ontology.ttl
dot -Tpng -o test.png test.dot
  • Use -o to indicate the path of output file
  • Use -O to indicate the input ontology (Optional).
  • Use -C to indicate the configuration file (Optional).
    • max_label_length: config the max length of labels. If the text exceeds the length, exceeded part will be replaced with “…”. Default value is 0.
    • blacklist: config the predicate that you don’t want to see in the graph.
    • class_inference_in_object: config the predicate that can inference the object is a Class, even if the class doesn’t defined in the ontology.
    • label_property: config the predicate that used for labeling nodes, if such a label exists, it will display inside the node.
    • tooltip_property: config the predicate that contains the tooltip texts.
    • bnode_regex: a list of regexes, if an uri matches, then it will be dispaly as a blank node without its uri nor label. It can be useful if you have a lot of reifications.
    • colors: config the colors of nodes
      • class, literal, instance can accept HEX value(e.g. ~”#ff0000”~ ), MATLAB style(e.g. ~”r”~ ), and color name (e.g. ~”red”~ ).
      "colors": {
        "class": "#ff0000",
        "literal": "r",
        "instance": "red",
      }
              
      • instance can also accept a dict value to specify the color of each class instance. And use ~”default”~ to to set color for undefined instances.
      "instance": {
        "https://tac.nist.gov/tracks/SM-KBP/2018/ontologies/SeedlingOntology#Facility": "#a6cee3",
        "default": "#ffff99"
      }
              
      • filled: config whether fill the node, default value: true.
  • Classes defined in the ontology will be omitted in the output graph. This action can be switched with argument -V.

Useful Graphviz flags

  • -K to specify which layout algorithm to use. E.g. -Kneato and -Ksfdp . Notice that inorder to use sfdp layout algorithm, you will need to build your graphviz with GTS.
  • -T to specify the output format.
  • -G to set a graph attribute. E.g. -Goverlap=prism

Requirements

In order to use this tool, you’ll need to make sure you have rdflib installed.

In order to convert dot into png or svg image, you will need Graphviz.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].