cognitive-kb

Cognitive Active Inference knowledge base

Concept pages on Active Inference and related fields, with typed and untyped relations and citation records, as SKOS/Dublin Core/schema.org RDF.

The knowledge base of the Active Inference Institute's cognitive repository as RDF. Every page is a schema:CreativeWork; articles on one idea are also skos:Concepts in one concept scheme, grouped into skos:Collections by domain (mathematics, biology, cognitive science, philosophy, systems, ontology, citations). Edges are typed relations from each page's semantic_relations (skos:related, dcterms:isPartOf, dcterms:hasPart or a term under https://purl.org/okn/frink/kg/cognitive-kb/relation/ that is a sub-property of skos:semanticRelation) and untyped body links (dcterms:references). Citation pages carry authors, year and DOI (schema:sameAs), and many concept pages link to the matching Wikidata item with skos:closeMatch. Provenance is prov:wasDerivedFrom the public repository; repository-owned graph content is licensed under CC BY 4.0. The graph serves public research and education by connecting explanatory concepts and their literature across Active Inference, cognitive science, mathematics and biology. Wikidata mappings are candidate correspondences requiring review before using them as identity assertions. No external grant funding is claimed.

A cross-graph query follows the existing Wikidata mappings through the OKN identifier-mappings graph to labeled OBO identifiers in Ubergraph. Captured live responses, the query and replayable join evidence are in the source repository's docs/okn/evidence/2026-10-13/. This demonstrates identifier-based discovery; it does not promote candidate page mappings to identity assertions. The reusable capture and submission methods are maintained in docxology/daf-okn.

Entity IRIs are under https://purl.org/okn/frink/kg/cognitive-kb/; the named graph is https://purl.org/okn/frink/kg/cognitive-kb. A prose description, vocabulary mapping, sample and counts are in the source repository: https://github.com/ActiveInferenceInstitute/cognitive/tree/main/docs/okn. The exporter, code/scripts/export_rdf.py, is in the same repository.

Cognitive citation pages and their DOI join keys
PREFIX schema: <https://schema.org/>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT ?page ?title ?doi ?source
WHERE {
  GRAPH <https://purl.org/okn/frink/kg/cognitive-kb> {
    ?page schema:sameAs ?doi ; dcterms:title ?title ; dcterms:source ?source .
    FILTER(STRSTARTS(STR(?doi), "https://doi.org/"))
  }
}
ORDER BY ?page
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?doi"):::projected 
  v1("?page"):::projected 
  v4("?source"):::projected 
  v3("?title"):::projected 
  f0[["starts-with(str(?doi),'https://doi.org/')"]]
  f0 --> v2
  v1 --"schema:sameAs"-->  v2
  v1 --"dct:title"-->  v3
  v1 --"dct:source"-->  v4
Cognitive concept pages and their candidate Wikidata mappings
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT ?concept ?label ?external ?source
WHERE {
  GRAPH <https://purl.org/okn/frink/kg/cognitive-kb> {
    ?concept a skos:Concept ; skos:prefLabel ?label ;
             skos:closeMatch ?external ; dcterms:source ?source .
  }
}
ORDER BY ?concept
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?concept"):::projected 
  v3("?external"):::projected 
  v2("?label"):::projected 
  v4("?source"):::projected 
  c2([skos:Concept]):::iri 
  v1 --"a"-->  c2
  v1 --"skos:prefLabel"-->  v2
  v1 --"skos:closeMatch"-->  v3
  v1 --"dct:source"-->  v4