axiothOntology Hub

オントロジーとは何かを学ぶ / 第 1 部 基礎 · レッスン 5 / 16

選択した言語の翻訳がないため、Englishの内容を表示しています。

Finding facts nobody wrote

Inference is new facts following from the rules in the blueprint.

If the data says only "Nabi is a cat" and the ontology says "a cat is a mammal", a program can work out that Nabi is a mammal. Applying rules to obtain new triples is called inference, or reasoning.

Turn on rules and watch new facts appear

Nobody wrote the facts below. They follow from rules stated in the ontology.

is akeepslives inis asubclass ofsubclass ofNabiCatMinjiSeoulCityMammalAnimal

Solid: stated facts · Dashed (blue): inferred facts

Inferred facts

Turn on a rule to see results here.

Domain and range infer; they do not validate

This is the most common early mistake. Stating that the domain of "keeps" is Person does not stop a non-person from appearing as the subject. It does the opposite: it concludes that whatever appears there is a person. To reject bad input, use a validation tool such as SHACL.

Unknown is not the same as false

Ontologies follow the open-world assumption. What is not stated is not false, only unknown. A database treats "no order row" as "did not order"; an ontology does not, because it assumes anyone may add more facts later, as on the web.

This site performs no inference. The class and property counts shown are those stated directly in the definition file.

仕様でさらに読む