Analyse your own ontology
Paste a Turtle file or drop one here. You get the same reading, hierarchy and class graph as an ontology page, plus where it meets the ontologies in this hub.
1. Put it in
Paste Turtle into the box, choose a file, or load the sample and edit it. Analysis starts when you select Analyse.
2. Read it
See what the ontology consists of: how many classes and properties, which classes are central, how the hierarchy runs, and what each property connects.
3. Hold it up to the hub
See which ontologies in the hub your file already builds on, and which others are close enough to be worth reusing instead of defining your own terms.
After analysing, two more tabs appear. Ask lets you query the file with a triple pattern; Convert format writes the same triples as Turtle, N-Triples, TriG or N-Quads.
Good to know before you start
- Which files can I use?
- Turtle (.ttl), TriG, N-Triples and N-Quads. RDF/XML (.owl, .rdf) and JSON-LD are not read here, so convert them to Turtle first: in Protégé use File, Save as and choose Turtle Syntax; with Apache Jena run riot --output=TURTLE file.owl.
- I do not have an ontology yet.
- Load the sample and change it: add a class, rename a property, then analyse again to see what moves. Or open any ontology in the hub and select Ask questions in the lab to bring it here.
- How are the numbers counted?
- Only what the file states directly is counted. Imported ontologies are not fetched and no inference is run. Your own namespace is taken to be the one most of your defined terms share; classes and properties outside it are shown as external.
- How is the comparison with the hub made?
- In two ways with different reliability. Reuse is found by exact namespace match, so it is dependable: if your file mentions prov:Activity, PROV-O is listed. Similar ontologies are ranked by shared words in labels and definitions, so they are candidates to look at, not conclusions.
- What are the limits?
- Files up to 8 MB. The class graph shows the 110 most connected classes, and the hierarchy opens up to five levels. Labels are shown in your language when the file provides them, otherwise in English or as the term's local name.