Commit 15c2622a authored by Maxime Lefrançois's avatar Maxime Lefrançois

add deprecated warning

parent a6bf074d
......@@ -34,6 +34,11 @@ TEMPLATE <classes.rqg>( ?onto ) {
"<a name='{?class}'></a>"
"\n<h3>"
TEMPLATE <ontology/label.rqg>( ?class ) .
TEMPLATE {
' <span class="alert alert-danger" role="alert"> &#9888; { fun:property(<en.properties>, 'deprecated') }</span>'
} WHERE {
?class owl:deprecated true .
} .
<ontology/backlink.rqg>("classes", "Class")
"</h3>"
"\n<p><strong>IRI:</strong> { ?class }</p>"
......
......@@ -34,6 +34,11 @@ TEMPLATE <dataProperties.rqg>( ?onto ) {
"<a name='{?dp}'></a>"
"\n<h3>"
TEMPLATE <ontology/label.rqg>( ?dp ) .
TEMPLATE {
' <span class="alert alert-danger" role="alert"> &#9888; { fun:property(<en.properties>, 'deprecated') }</span>'
} WHERE {
?dp owl:deprecated true .
} .
<ontology/backlink.rqg>("dataproperties", "Data Property")
"</h3>"
"\n<p><strong>IRI:</strong> { ?dp }</p>"
......
......@@ -40,6 +40,11 @@ TEMPLATE <namedIndividuals.rqg>( ?onto ) {
"<a name='{?individual}'></a>"
"\n<h3>"
TEMPLATE <ontology/label.rqg>( ?individual ) .
TEMPLATE {
' <span class="alert alert-danger" role="alert"> &#9888; { fun:property(<en.properties>, 'deprecated') }</span>'
} WHERE {
?individual owl:deprecated true .
} .
<ontology/backlink.rqg>("namedindividuals", "Named Individuals")
"</h3>"
"\n<p><strong>IRI:</strong> { ?individual }</p>"
......
......@@ -34,6 +34,11 @@ TEMPLATE <objectProperties.rqg>( ?onto ) {
"<a name='{?op}'></a>"
"\n<h3>"
TEMPLATE <ontology/label.rqg>( ?op ) .
TEMPLATE {
' <span class="alert alert-danger" role="alert"> &#9888; { fun:property(<en.properties>, 'deprecated') }</span>'
} WHERE {
?op owl:deprecated true .
} .
<ontology/backlink.rqg>("objectproperties", "Object Property")
"</h3>"
"\n<p><strong>IRI:</strong> { ?op }</p>"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment