@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix : <https://blog.neuralstorm.io/knowledge#> .
@prefix rel: <https://blog.neuralstorm.io/vocab#> .

:scheme a skos:ConceptScheme ;
  rdfs:label "Blog Domain Knowledge Scheme" .

:dependent-types a skos:Concept, rel:concept ;
  skos:inScheme :scheme ;
  skos:prefLabel "Dependent Types"@en-GB ;
  skos:definition "Types that depend on the values of other types, allowing for more expressive and flexible type systems."@en-GB ;
  skos:broader :type-theory ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:domain-knowledge a skos:Concept, rel:concept ;
  skos:inScheme :scheme ;
  skos:prefLabel "Domain Knowledge"@en-GB ;
  skos:definition "Knowledge about a specific domain or area of expertise that is used to inform the design of types and type systems."@en-GB ;
  skos:broader :type-theory ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:formal-system a skos:Concept, rel:domain ;
  skos:inScheme :scheme ;
  skos:prefLabel "Formal System"@en-GB ;
  skos:definition "Domain encompassing Type Theory."@en-GB ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:formal-verification a skos:Concept, rel:technology ;
  skos:inScheme :scheme ;
  skos:prefLabel "Formal Verification"@en-GB ;
  skos:definition "The process of using mathematical techniques to prove the correctness of software and hardware designs."@en-GB ;
  skos:broader :software-development ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:lean a skos:Concept, rel:technology ;
  skos:inScheme :scheme ;
  skos:prefLabel "Lean"@en-GB ;
  skos:definition "A formal verification system that uses type theory to prove the correctness of software and hardware designs."@en-GB ;
  skos:broader :formal-verification ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:software-development a skos:Concept, rel:domain ;
  skos:inScheme :scheme ;
  skos:prefLabel "Software Development"@en-GB ;
  skos:definition "Domain encompassing Formal Verification."@en-GB ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:type a skos:Concept, rel:concept ;
  skos:inScheme :scheme ;
  skos:prefLabel "Type"@en-GB ;
  skos:definition "A classification of data that determines the set of possible values it can take."@en-GB ;
  skos:broader :type-theory ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:type-inference a skos:Concept, rel:concept ;
  skos:inScheme :scheme ;
  skos:prefLabel "Type Inference"@en-GB ;
  skos:definition "The process of automatically determining the types of expressions in a programming language."@en-GB ;
  skos:broader :type-system ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:type-system a skos:Concept, rel:concept ;
  skos:inScheme :scheme ;
  skos:prefLabel "Type System"@en-GB ;
  skos:definition "A set of rules that govern how types can be combined and reasoned about in a programming language."@en-GB ;
  skos:broader :type-theory ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

:type-theory a skos:Concept, rel:technology ;
  skos:inScheme :scheme ;
  skos:prefLabel "Type Theory"@en-GB ;
  skos:definition "A formal system that defines types, their associated terms, and the rules governing how those terms can be constructed, combined and reasoned about."@en-GB ;
  skos:broader :formal-system ;
  prov:wasDerivedFrom <https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers> .

# Ontology triples with post provenance
:dependent-types rel:extends :type-theory . # source: https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers
:lean rel:implements :type-theory . # source: https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers
:type-inference rel:is_a_part_of :type-system . # source: https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers
:type-system rel:is_governed_by :type-theory . # source: https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers
:type-theory rel:uses :domain-knowledge . # source: https://blog.neuralstorm.io/posts/type-theory-for-cpp-and-odin-engineers
