PREFIX cc:   <http://creativecommons.org/ns#>
PREFIX st: <http://ns.inria.fr/sparql-template/>
PREFIX doc: <https://w3id.org/seas/documentation/html/loweringRule#>
TEMPLATE doc:license (?ontology){
    "- **License:** This ontology is distributed under license " str(?licenselink) "\n"
} WHERE { 
    ?ontology cc:license ?license .
     BIND( CONCAT( "[", str(IRI(?license)), "](", str(?license), ")" ) AS ?licenselink)
}