Skip to content

A lightweight, browser-based app to upload RDF/XML files, extract metadata and stats, visualize selected properties in an interactive graph with search, run SPARQL queries, and support TEDI-built ontoterminologies.

License

Notifications You must be signed in to change notification settings

TALOS-AI4SSH/RDF-Graph-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TALOS RDF Graph Viewer

Python Flask RDFlib PyVis

Available languages: English | Ελληνικά


This repository provides a lightweight, browser-based application for visualizing and exploring RDF graphs.


📂 Contents

This repository contains:

  • Talos_RDF_Viewer.py — the complete source code (all-in-one application)
  • TALOS_RDF_Viewer_Documentation.pdf — documentation and usage instructions

Overview

The TALOS RDF Graph Viewer is a cross-platform, Python web app for interactive RDF exploration. It lets you:

  • Upload RDF datasets (.rdf, .xml, .ttl, .jsonld)
  • Inspect graph statistics, Dublin Core metadata (from owl:Ontology), and declared namespaces
  • Select which properties to visualize (object / data / annotation)
  • Generate an interactive graph (drag, freeze physics, search with wildcards, delete nodes)
  • Query data via a built-in SPARQL endpoint

It is designed for researchers, educators, and developers and is particularly convenient for ontoterminologies built with the TEDI environment.


Features

  • Multi-format upload: RDF/XML, Turtle, JSON-LD
  • Auto-extraction: triples count, property types, Dublin Core (from owl:Ontology), declared namespaces
  • Property selector: object, data, annotation (with bulk select/deselect)
  • Graph viewer (PyVis):
    • Node labeling priority: otv:shortConceptNamerdfs:label → URI fragment
    • Tooltips with otv:conceptName + full URI
    • Node coloring by role: root / terminal / intermediate / literal
    • Search with * wildcard, case-insensitive; auto-focus + highlighting
    • Physics toggle (Freeze ON/OFF), reset, delete selected node
  • SPARQL endpoint: execute queries; ready-made examples
  • Responsive UI: modern, accessible, clean design

Run

# 1) Ensure Python 3.8+ is installed
python --version

# 2) Install dependencies
pip install flask rdflib pyvis

# 3) Run the app
python Talos_RDF_Viewer.py

# 4) Open in your browser (opens automatically)
# http://127.0.0.1:5000

Author

Prof. Christophe Roche — TALOS ERA Chair Holder — University of Crete

📧 roche.university@gmail.com

🌐 https://talos-ai4ssh.uoc.gr/


Citation

For general reference to the project:

Roche, C. (2025). TALOS RDF Graph Viewer (Version 1.0).
TALOS AI4SSH Project, University of Crete.
https://talos-ai4ssh.uoc.gr/


License

All the code is distributed under the Creative Commons Attribution–NonCommercial (CC BY-NC 4.0) license.
You are free to share and redistribute the material under the following conditions:

  • BY: Credit must be given to the creator(s).
  • NC: Only non-commercial uses are permitted.

More info: https://creativecommons.org/licenses/by-nc/4.0/


More Information


About

A lightweight, browser-based app to upload RDF/XML files, extract metadata and stats, visualize selected properties in an interactive graph with search, run SPARQL queries, and support TEDI-built ontoterminologies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages