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

TEMPLATE <head/htmlhead.rqg>(?ontologyUrl) {
  '''<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link href="{?cssLocation}owl.css" rel="stylesheet" type="text/css" />
<link href="{?cssLocation}Primer.css" rel="stylesheet" type="text/css" />
<link href="{?cssLocation}rec.css" rel="stylesheet" type="text/css" />
<link href="{?cssLocation}extra.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="{?cssLocation}favicon.ico" />
<script src="{?cssLocation}jquery.js"><!-- Comment for compatibility --></script>
<script src="{?cssLocation}jquery.scrollTo.js"><!-- Comment for compatibility --></script>
<script src="./marked.min.js"><!-- Comment for compatibility --></script>
<script>
$(document).ready(
  function () \{
    jQuery(".markdown").each(function(el)\{jQuery(this).after(marked(jQuery(this).text())).remove()});
    var list = $('a[name="{?ontologyUrl}"]');
    if (list.size() != 0) \{
      var element = list.first();
      $.scrollTo(element);
    }
  });
</script>''' 
}
SOURCE <css-location.txt> AS ?cssLocation
WHERE {
}
