axiothOntology Hub

オントロジーとは何かを学ぶ / 第 3 部 設計と品質 · レッスン 16 / 16

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

Where it is used: knowledge graphs, stores and LLMs

Triple stores and SPARQL endpoints, federated queries, and working with language models.

An ontology together with data that follows it is called a knowledge graph. A blueprint alone does nothing; the value appears once data is loaded and queries run.

Where it is kept

A database that stores RDF and answers SPARQL is a triple store. The web address that accepts queries is a SPARQL endpoint, and anyone can send a question to a public one.

Asking several places at once

A SPARQL query can step out to another endpoint and continue there. If both sides use the same IRIs, the data joins without being copied into one place. This is where the linked data principles pay off.

SELECT ?dataset ?title ?creatorName WHERE {
  ?dataset a dcat:Dataset ; dcterms:title ?title ; dcterms:creator ?creator .
  SERVICE <https://people.example.org/sparql> {   # continue the question in a graph elsewhere
    ?creator foaf:name ?creatorName .
  }
}

Where it is used

FieldWhat it doesUses
Web searchUnderstands products, events and reviews on a page and shows them in resultsschema.org
Life sciencesIntegrates gene, disease and phenotype data across laboratoriesGene Ontology and other OBO ontologies
Public dataPublishes each agency's data catalogue in one formDCAT
Data managementTracks where data came from and how it was processedPROV-O
IoT and buildingsInterprets sensor and equipment readings regardless of device typeSOSA/SSN, SAREF, BOT

With language models

A language model handles sentences well and cannot vouch for where a fact came from. A knowledge graph is the reverse. So the two are increasingly combined: the part of the graph relevant to a question is retrieved and given to the model as grounding, or the model extracts facts from documents and files them under the classes and properties of an ontology. Either way the ontology is the reference for what to extract and what to call it.

Having come this far, you can read nearly every item on an ontology page here. Pick an ontology in your field and start by opening its hierarchy tree.

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

仕様でさらに読む