axiothOntology Hub

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

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

Asking questions, and building on others

Query a graph with SPARQL, and reuse existing ontologies by linking to them.

A question to a graph has the same shape as a triple. Leave the unknown position as a variable such as ?x, and you get back everything that fits there.

Ask with a sentence that has a blank

The graph is searched for everything that fits in place of ?x. This is the core of a SPARQL query.

?x
SELECT ?x WHERE {
  ?x rdf:type ex:Animal .
}
Results

Nothing matches. Try including inferred facts.

Three ways ontologies connect

WayMeaningWhere this site shows it
Import (owl:imports)Declares that another ontology is included in full"Imports" in the relation list
Term reuseBorrows some classes or properties from another ontology"Reuses terms", with the number of terms referenced
MappingStates that terms in different ontologies are the same or closeNot collected yet (see the later lesson on SKOS and mappings)

DCAT, for example, does not define its own title or issue date; it uses those from DCMI Metadata Terms. The more such overlap there is, the more easily separate datasets combine.

Verified relations versus similarity candidates

This site shows two kinds of connection. Relations stated in a definition file or an official registry are drawn solid, with their evidence. Similarity computed automatically from shared words in descriptions and terms is drawn dashed; it is a candidate worth a look, not a guarantee of compatibility or equivalence.

A sequence for choosing an ontology: find candidates in your field → check scope in the class graph → read the linked papers and standards → check the repository and licence.

実際のオントロジーで確認する

仕様でさらに読む