PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX voaf: <http://purl.org/vocommons/voaf#>
PREFIX dc:   <http://purl.org/dc/terms/>
PREFIX vann: <http://purl.org/vocab/vann/>
PREFIX st: <http://ns.inria.fr/sparql-template/>
PREFIX doc: <https://w3id.org/seas/documentation/html/loweringRule#>
TEMPLATE doc:priorversion (?ontology){
    "- **Previous version:** " ?priorVersion "\n"
} WHERE { 
    ?ontology owl:priorVersion ?priorVersion .
} LIMIT 1