PREFIX st:   <http://ns.inria.fr/sparql-template/>
PREFIX fun: <http://w3id.org/sparql-generate/fn/>
PREFIX dcterms: <http://purl.org/dc/terms/>

BASE <https://saref.etsi.org/documentation/>

TEMPLATE <ontology/acknowledgements.rqg>( ) {
  IF( ?acknowledgements != "" , "<h2 id=\"acknowledgements\">{ fun:property(<en.properties>, 'acknowledgements') }</h2>\n{ ?acknowledgements }" , "" )
}
SOURCE <acknowledgements.html> AS ?html
SOURCE <acknowledgements.md> AS ?md
WHERE {
  BIND( COALESCE( str( ?html ) , fun:markdownToHTML(?md) , "" ) AS ?acknowledgements )
}

