# Inference

> The conclusions Folio draws by default: the RDFS and OWL rules for subclasses, subproperties, datatypes, domain and range, equivalent classes and properties and inverse properties, and Folio's own inherited properties, dataset membership and default values, plus what Folio does not infer.

Source: https://semvia.io/docs/modeling/inference

**Inference** draws conclusions: statements that follow from what you wrote without being written. Folio applies each rule under [Standard inference](https://semvia.io/docs/modeling/inference#standard-inference) and [Folio inference](https://semvia.io/docs/modeling/inference#folio-inference) across every file in the workspace, and each family there shows one kind of conclusion with an example. [Not inferred](https://semvia.io/docs/modeling/inference#not-inferred) lists the conclusions Folio does not draw. A query and **Problems** use every conclusion; [Seeing inferred values](https://semvia.io/docs/modeling/inference#seeing-inferred-values) covers forms and graph views.

## Standard inference

[RDFS](https://www.w3.org/TR/rdf11-schema/) and [OWL](https://www.w3.org/TR/owl2-overview/) define these rules.

### Subclasses ([rdfs9](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment))

An instance of a class is concluded to be an instance of its superclasses by `rdfs:subClassOf`.

Graph

Figure: Graph View of the subclasses file. Solar installation, a Class with its comment, links by subClassOf to Power plant, a Class with its comment. dry-lake-solar carries a Solar installation badge and no properties.

Solar installation is a subclass of Power plant, and dry-lake-solar is written as a solar installation.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# A power plant: a facility that generates electricity for the grid.
plants:PowerPlant a rdfs:Class ;
  rdfs:label "Power plant"@en ;
  rdfs:comment "A facility that generates electricity for the grid."@en .

# A solar installation is one kind of power plant.
plants:SolarInstallation a rdfs:Class ;
  rdfs:label "Solar installation"@en ;
  rdfs:comment "A photovoltaic power plant connected to the grid."@en ;
  rdfs:subClassOf plants:PowerPlant .

# Dry Lake Solar is written only as a solar installation.
fleet:dry-lake-solar a plants:SolarInstallation .
```

Folio concludes:

```turtle
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .

fleet:dry-lake-solar a plants:PowerPlant .
```

### Subproperties ([rdfs7](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment))

A statement made with a property is concluded to hold for its superproperties by `rdfs:subPropertyOf`.

Graph

Figure: Graph View of the subproperties file. Exclusive territory, a Property with its comment, links by subPropertyOf to Licensed territory, a Property with its comment. long-harvest-streaming links by exclusiveTerritory to canada, a card from the films namespace with no properties.

Exclusive territory is a subproperty of Licensed territory, and long-harvest-streaming holds canada as an exclusive territory.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix films: <https://example.org/my-semantic-package/films#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# The territories a license lets its holder distribute a film in.
films:licensedTerritory a rdf:Property ;
  rdfs:label "Licensed territory"@en ;
  rdfs:comment "A territory where the licensee may distribute the film."@en .

# An exclusive territory is a licensed territory no other licensee shares.
films:exclusiveTerritory a rdf:Property ;
  rdfs:label "Exclusive territory"@en ;
  rdfs:comment "A territory where no other licensee may distribute the film."@en ;
  rdfs:subPropertyOf films:licensedTerritory .

# The Long Harvest's streaming license holds Canada exclusively.
films:long-harvest-streaming films:exclusiveTerritory films:canada .
```

Folio concludes:

```turtle
@prefix films: <https://example.org/my-semantic-package/films#> .

films:long-harvest-streaming films:licensedTerritory films:canada .
```

### Datatypes ([rdfs1](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment)/[rdfs13](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment))

Every [XSD](https://www.w3.org/TR/xmlschema11-2/) datatype Folio recognizes is concluded to be a subclass of `rdfs:Literal`.

Graph

Figure: Graph View of the datatypes file. capacity (MW) is a Property with its comment. riverbend-station lists capacity (MW) as 1100.

riverbend-station records its capacity, 1100, as a decimal.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# A power plant's nameplate capacity.
plants:capacityMW a rdf:Property ;
  rdfs:label "capacity (MW)"@en ;
  rdfs:comment "Nameplate capacity in megawatts."@en .

# Riverbend Station can generate 1,100 megawatts.
fleet:riverbend-station plants:capacityMW "1100.0"^^xsd:decimal .
```

Folio concludes:

```turtle
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

xsd:decimal rdfs:subClassOf rdfs:Literal .
```

### Domain and range ([rdfs2](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment)/[rdfs3](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment))

The subject of a property is concluded to be an instance of the property's `rdfs:domain`, and its value an instance of the property's `rdfs:range`.

Graph

Figure: Graph View of the domain-and-range file. desert-ridge's card lists helios-energy under operator. operator, a Property with its comment, lists Power plant as its domain and Company as its range.

The file links the plant, desert-ridge, to its operator, helios-energy.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# A power plant: a facility that generates electricity for the grid.
plants:PowerPlant a rdfs:Class ;
  rdfs:label "Power plant"@en ;
  rdfs:comment "A facility that generates electricity for the grid."@en .

# A company: a business that owns or operates power plants.
plants:Company a rdfs:Class ;
  rdfs:label "Company"@en ;
  rdfs:comment "A business that owns or operates power plants."@en .

# Only a power plant has an operator, and the operator is a company.
plants:operator a rdf:Property ;
  rdfs:label "operator"@en ;
  rdfs:comment "The company that runs the plant day to day."@en ;
  rdfs:domain plants:PowerPlant ;
  rdfs:range plants:Company .

# Desert Ridge is run by Helios Energy.
fleet:desert-ridge plants:operator fleet:helios-energy .
```

Folio concludes:

```turtle
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .

fleet:desert-ridge a plants:PowerPlant .
fleet:helios-energy a plants:Company .
```

### Equivalent classes ([scm-eqc1](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules))

An instance of either class in an `owl:equivalentClass` statement is concluded to be an instance of the other.

Graph

Figure: Graph View of the equivalent-classes file. Film, a Class with its comment, links by equivalentClass to Movie, the schema.org class, marked derived because no file defines it. the-long-harvest carries a Movie badge and no properties.

Film is equivalent to schema.org's Movie, and the-long-harvest is written as a Movie.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix films: <https://example.org/my-semantic-package/films#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# A film the studio licenses: what schema.org calls a Movie.
films:Film a rdfs:Class ;
  rdfs:label "Film"@en ;
  rdfs:comment "A feature film whose rights the studio licenses to distributors."@en ;
  owl:equivalentClass schema:Movie .

# The Long Harvest, written as a schema.org Movie.
films:the-long-harvest a schema:Movie .
```

Folio concludes:

```turtle
@prefix films: <https://example.org/my-semantic-package/films#> .

films:the-long-harvest a films:Film .
```

### Equivalent properties ([scm-eqp1](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules))

A statement made with either property in an `owl:equivalentProperty` statement is concluded to hold for the other.

Graph

Figure: Graph View of the equivalent-properties file. Directed by, a Property with its comment, links by equivalentProperty to director, the schema.org property, marked derived because no file defines it. the-long-harvest links by director to anna-voss, a card from the films namespace.

Directed by is equivalent to schema.org's director, and the-long-harvest names anna-voss with schema.org's property.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix films: <https://example.org/my-semantic-package/films#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# A film's director: what schema.org calls director.
films:directedBy a rdf:Property ;
  rdfs:label "Directed by"@en ;
  rdfs:comment "The person credited with directing a film."@en ;
  owl:equivalentProperty schema:director .

# The Long Harvest's director, written with schema.org's property.
films:the-long-harvest schema:director films:anna-voss .
```

Folio concludes:

```turtle
@prefix films: <https://example.org/my-semantic-package/films#> .

films:the-long-harvest films:directedBy films:anna-voss .
```

### Inverse properties ([prp-inv](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules))

A statement made with one property in an `owl:inverseOf` statement is concluded, with subject and value swapped, for the other.

Graph

Figure: Graph View of the inverse-properties file. subsidiary of, a Property with its comment, links by inverseOf to parent company of, a Property with its comment. helios-energy links by subsidiaryOf to helios-holdings, marked derived because no file defines it.

subsidiary of is the inverse of parent company of, and helios-energy is written as a subsidiary of helios-holdings.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/rdfs> .

# A subsidiary points at its parent; the parent points back.
plants:subsidiaryOf a rdf:Property ;
  rdfs:label "subsidiary of"@en ;
  rdfs:comment "Links a company to the company that holds a controlling stake."@en ;
  owl:inverseOf plants:parentCompanyOf .

# A parent company points at each company it controls.
plants:parentCompanyOf a rdf:Property ;
  rdfs:label "parent company of"@en ;
  rdfs:comment "Links a company to a company it holds a controlling stake in."@en .

# Helios Energy is a subsidiary of Helios Holdings.
fleet:helios-energy plants:subsidiaryOf fleet:helios-holdings .
```

Folio concludes:

```turtle
@prefix fleet: <https://example.org/my-semantic-package/fleet#> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .

fleet:helios-holdings plants:parentCompanyOf fleet:helios-energy .
```

## Folio inference

Folio draws these conclusions from [SHACL](https://www.w3.org/TR/shacl/) shapes and Semvia's dataset vocabulary; no standard defines them as inference.

### Inherited properties

A class is concluded to inherit every `sh:property` block of its superclasses by `rdfs:subClassOf`, of the shapes it reaches by `sh:node`, and of the shapes that name it in `sh:targetClass`.

Graph

Figure: Graph View of the inherited-properties file. Nuclear plant, a Class Schema with its comment, links by subClassOf to Power plant, a Class Schema with its comment. Both list capacity (MW), a decimal, under Instance properties: Power plant declares it and Nuclear plant inherits it.

Nuclear plant is a subclass of Power plant and lists the capacity (MW) property it inherits.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix plants: <https://example.org/my-semantic-package/plants#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix svs: <https://pkg.semvia.io/semvia/core/meta-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/class-schema> .

# A power plant: a facility that generates electricity for the grid.
# Every power plant records its capacity.
plants:PowerPlant a svs:ClassSchema ;
  rdfs:label "Power plant"@en ;
  rdfs:comment "A facility that generates electricity for the grid."@en ;
  sh:property plants:PowerPlant.capacity .

# A plant's nameplate capacity, in megawatts.
plants:PowerPlant.capacity a sh:PropertyShape ;
  sh:path plants:capacityMW ;
  sh:name "capacity (MW)"@en ;
  sh:description "Nameplate capacity in megawatts."@en ;
  sh:datatype xsd:decimal .

# A nuclear plant is one kind of power plant.
plants:NuclearPlant a svs:ClassSchema ;
  rdfs:label "Nuclear plant"@en ;
  rdfs:comment "A power plant that makes electricity by nuclear fission."@en ;
  rdfs:subClassOf plants:PowerPlant .
```

Folio concludes:

```turtle
@prefix plants: <https://example.org/my-semantic-package/plants#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

plants:NuclearPlant sh:property plants:PowerPlant.capacity .
```

### Dataset membership

A dataset with an `svds:memberSpace` is concluded to have, by `dct:hasPart`, every document it holds. A document is held by the nearest dataset whose space its IRI starts with: the longest space wins, and two datasets claiming the same space both hold it. A dataset nested inside another holds its own files, and the outer dataset reaches them only through a join written in a dataset file: `dct:hasPart` in the outer dataset or `dct:isPartOf` in the nested one. A concluded `dct:hasPart` doesn't join them. `licenses/index.ttl` claims its folder:

Graph

Figure: Graph View of licenses/index.ttl. Licenses, a Dataset that conforms to Dataset and Package, links by memberSpace to the licenses folder.

The Licenses dataset claims the licenses folder as its member space.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix svds: <https://pkg.semvia.io/semvia/core/dataset#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/dataset-and-package> .

# The licenses dataset: every file in this folder.
<> a svds:Dataset ;
  rdfs:label "Licenses" ;
  svds:memberSpace <./> .
```

With `licenses/canada.ttl` in the same folder, Folio concludes:

```turtle
@prefix dct: <http://purl.org/dc/terms/> .

<> dct:hasPart <./canada> .
```

### Default values

A resource with no value for a property is concluded to have the [`sh:defaultValue`](https://www.w3.org/TR/shacl/) its class's `sh:property` block declares.

Graph

Figure: Graph View of the default-values file. Streaming license, a Class Schema with its comment, lists Exclusive, a boolean, under Instance properties. long-harvest-canada carries a Streaming license badge and no properties.

Streaming license declares the Exclusive property, and long-harvest-canada says nothing about exclusivity.

Turtle

```turtle
@prefix dct: <http://purl.org/dc/terms/> .
@prefix films: <https://example.org/my-semantic-package/films#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix svs: <https://pkg.semvia.io/semvia/core/meta-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<> dct:conformsTo <https://pkg.semvia.io/semvia/core/profiles/class-schema> .

# A streaming license: the right to stream a film in one territory.
# A license is not exclusive unless it says so.
films:StreamingLicense a svs:ClassSchema ;
  rdfs:label "Streaming license"@en ;
  rdfs:comment "A right to stream a film in one territory for a fixed term."@en ;
  sh:property [
    sh:path films:exclusive ;
    sh:name "Exclusive"@en ;
    sh:description "Whether no other licensee may stream the film there."@en ;
    sh:datatype xsd:boolean ;
    sh:defaultValue false
  ] .

# The Long Harvest's Canadian license says nothing about exclusivity.
films:long-harvest-canada a films:StreamingLicense .
```

Folio concludes:

```turtle
@prefix films: <https://example.org/my-semantic-package/films#> .

films:long-harvest-canada films:exclusive false .
```

## Not inferred

Folio does not draw these conclusions or flag these contradictions. A file can still state any conclusion below, and a query matches what the file states.

- **Transitive properties** — A chain of two statements made with an `owl:TransitiveProperty` is not concluded to give a third ([prp-trp](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). With `plants:subsidiaryOf` transitive, `fleet:helios-energy plants:subsidiaryOf fleet:helios-holdings` and `fleet:helios-holdings plants:subsidiaryOf fleet:helios-group` do not conclude `fleet:helios-energy plants:subsidiaryOf fleet:helios-group`. In a [SPARQL](https://www.w3.org/TR/sparql11-query/) query, the property path `plants:subsidiaryOf+` follows the chain.
- **SKOS transitive hierarchy** — [SKOS](https://www.w3.org/TR/skos-reference/) defines `skos:broaderTransitive` as a transitive superproperty of `skos:broader`, and `skos:narrowerTransitive` of `skos:narrower`. The SKOS vocabulary Folio loads does not state those links, so [subproperties](https://semvia.io/docs/modeling/inference#subproperties) concludes neither from `skos:broader` or `skos:narrower` statements. A file that states a link gets the one step it licenses, never the chain. Without one, `?concept skos:broaderTransitive ex:electronics` matches only the statements a file writes; `?concept skos:broader+ ex:electronics` follows the chain, as in [Taxonomies](https://semvia.io/docs/modeling/taxonomies).
- **Same individuals** — Two IRIs joined by `owl:sameAs` are not concluded to share their statements ([eq-rep-s, eq-rep-p, eq-rep-o](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). With `fleet:helios-energy owl:sameAs crm:account4471`, `fleet:desert-ridge plants:operator fleet:helios-energy` does not conclude `fleet:desert-ridge plants:operator crm:account4471`. Nor is `owl:sameAs` concluded from an `owl:FunctionalProperty` ([prp-fp](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)) or an `owl:InverseFunctionalProperty` ([prp-ifp](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)).
- **Symmetric properties** — A statement made with an `owl:SymmetricProperty` is not concluded in the other direction ([prp-symp](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). With `plants:jointVenturePartner` symmetric, `fleet:helios-energy plants:jointVenturePartner fleet:cascade-power` does not conclude `fleet:cascade-power plants:jointVenturePartner fleet:helios-energy`. In a query, the property path `plants:jointVenturePartner|^plants:jointVenturePartner` matches both directions.
- **Property chains** — A property declared by an `owl:propertyChainAxiom` is not concluded from the chain it names ([prp-spo2](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). With `films:distributedBy` the chain of `films:hasLicense` then `films:licensee`, a film's licensee is not concluded as its distributor. In a query, the property path `films:hasLicense/films:licensee` follows the chain.
- **Restrictions and cardinality** — An `owl:Restriction` concludes nothing: no type or value from `owl:someValuesFrom` or `owl:hasValue` ([cls-svf1, cls-hv1, cls-hv2](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)), no value type from `owl:allValuesFrom` ([cls-avf](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)), and no `owl:sameAs` from `owl:maxCardinality` or `owl:maxQualifiedCardinality` ([cls-maxc2, cls-maxqc3](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). A restriction on `plants:operator` with `owl:allValuesFrom plants:Company` does not conclude that a plant's operator is a company. An [`rdfs:range`](https://semvia.io/docs/modeling/inference#domain-and-range) concludes that type. As validation, not inference, a SHACL `sh:class` checks a value's type, and `sh:minCount` or `sh:maxCount` checks how many values a property has.
- **Class expressions** — An entity in every class an `owl:intersectionOf` combines is not concluded to be in the intersection, and a member of the intersection is not concluded to be in each class ([cls-int1, cls-int2](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). A member of one class an `owl:unionOf` combines is not concluded to be in the union ([cls-uni](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). An individual an `owl:oneOf` lists is not concluded to be a member ([cls-oo](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). Nor is an intersection concluded to be a subclass of each class it combines, or each class of a union a subclass of the union ([scm-int, scm-uni](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). With `plants:RegulatedOperator` the intersection of `plants:Company` and `plants:LicensedOperator`, an entity typed as both is not concluded to be a `plants:RegulatedOperator`, and `plants:RegulatedOperator rdfs:subClassOf plants:Company` is not concluded.
- **Disjoint classes** — A resource typed in two classes declared disjoint by `owl:disjointWith` or `owl:AllDisjointClasses`, or in a class and its `owl:complementOf`, is not flagged as a contradiction ([cax-dw, cax-adc, cls-com](https://www.w3.org/TR/owl2-profiles/#Reasoning_in_OWL_2_RL_and_RDF_Graphs_using_Rules)). With `plants:SolarInstallation owl:disjointWith plants:NuclearPlant`, a site typed as both is not flagged. A SHACL `sh:not` shape checks it as validation, not inference.
- **The rdfs:Resource type** — A resource is not concluded to be an `rdfs:Resource` ([rdfs4a, rdfs4b](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment)), and a class is not concluded to be a subclass of `rdfs:Resource` ([rdfs8](https://www.w3.org/TR/rdf11-mt/#rdfs-entailment)). `fleet:riverbend-station a rdfs:Resource` is not concluded.

## Seeing inferred values

A SPARQL query and **Problems** use every conclusion Folio draws, with nothing turned on.

Forms and graph views show only the values your files state until **Show inferred values** is on. It is under **Editor** in Folio's settings, off by default, and takes effect when the next form or graph view opens.

The one exception is the properties a class inherits. Class cards list them while the **Inherited properties** toggle in a graph view's **Display** flyout is on, as it is by default, independent of **Show inferred values**.

The **Inferred values** toggle in the same flyout overrides **Show inferred values** for that panel only.

An inferred value is marked. On the graph canvas its edge is dotted. In a form or card its row is muted, with a lock whose hover reads "This value isn't written in any document you can edit here, so there's nothing to change."

Figure: Graph View of the domain-and-range file with the Inferred values toggle on. desert-ridge carries a Power plant badge drawn dotted, muted and in italics, and lists helios-energy under operator. operator, a Property with its comment, lists Power plant as its domain and Company as its range.

The domain-and-range file with the panel's [**Inferred values**](https://semvia.io/docs/modeling/inference#seeing-inferred-values) toggle on. No line states desert-ridge's type; the [rdfs:domain](https://semvia.io/docs/modeling/inference#domain-and-range) of operator licenses its Power plant badge.

## From an agent

A [connected agent](https://semvia.io/docs/quickstart/connect-your-agent) asks Folio about inference over [MCP](https://modelcontextprotocol.io/specification). `describe_inference` lists every rule Folio knows and whether Folio runs it. `explain_inference` shows, for one SPARQL query, which rules fired on each pattern and which were skipped.

[Next: Taxonomies](https://semvia.io/docs/modeling/taxonomies): Write a hierarchy of concepts in SKOS and Turtle, and let the SKOS Taxonomy profile check it.
