Skip to main content

Reasoning

Run an RDFS or OWL reasoner over the active Turtle/SHACL document to materialize triples that are implied by its schema but not written explicitly.

Run a reasoner​

  1. Open the Turtle or SHACL file you want to reason over.
  2. Choose the reasoner:
    • neonto: Run RDFS Reasoner applies RDFS semantics only, such as rdfs:subClassOf, rdfs:subPropertyOf, and domain/range entailments. Use it for lighter-weight class-hierarchy and property-hierarchy inference.
    • neonto: Run OWL Reasoner applies RDFS plus OWL RL semantics, such as owl:equivalentClass, owl:inverseOf, property chains, and other OWL RL entailment rules.
  3. Run the chosen command. Both commands are available from the Command Palette. neonto: Run RDFS Reasoner also appears as an editor-title button on Turtle and SHACL files. Run the OWL reasoner from the Command Palette.

A .ttl file with the Run RDFS Reasoner editor-title button highlighted and its tooltip "neonto: Run RDFS Reasoner" shown

Figure 1. The Run RDFS Reasoner editor-title button.

The reasoner processes the full active document. It opens the resulting graph in a new Turtle document beside the current editor. The graph includes the original and inferred triples.

The output reuses the prefixes from your source document. It also adds owl, rdf, and rdfs. Inferred triples use the same abbreviations as the input.

The reasoner output opened as a new Turtle document beside the source file, showing the original triples plus inferred ones such as ex a rdfs and rdfs statements

Figure 2. The reasoner output.