PREFIX st:   <http://ns.inria.fr/sparql-template/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

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

TEMPLATE <templates/definitionFoaf.rqg> ( ?dt , ?uri , ?sep ) {
  before = "\n<dt>{ ?dt }:</dt><dd>" ;
  <function/href.rqg>(?uri, ?name)
  ; separator = ?sep ; after = "</dd>"
} WHERE {
  OPTIONAL {
    ?uri foaf:name ?name
  }
} ORDER BY ?uri 