---
to: generated/{{ crate_name }}/src/{{ module_name }}.rs
rdf:
  - ontology/domain.ttl
sparql:
  module_functions: |
    PREFIX ex: <http://example.org/maturity-matrix/level3#>
    SELECT ?functionName ?signature ?returnType WHERE {
      ?module a ex:Module .
      ?module ex:moduleName "{{ module_name }}" .
      ?module ex:moduleFunctions ?function .
      ?function ex:functionName ?functionName .
      ?function ex:functionSignature ?signature .
      ?function ex:functionReturnType ?returnType .
    }
    ORDER BY ?functionName
vars:
  crate_name: core
  module_name: user
---

// Level 3: Generated Module
// AUTO-GENERATED from ontology - DO NOT EDIT

{% for row in sparql_results.module_functions %}
pub fn {{ row.functionName }}({{ row.signature }}) -> {{ row.returnType }} {
    // TODO: Implement function
    todo!()
}

{% endfor %}

