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

add deprecated warning

parent a6bf074d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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>"
+5 −0
Original line number Diff line number Diff line
@@ -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>"
+5 −0
Original line number Diff line number Diff line
@@ -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>"
+5 −0
Original line number Diff line number Diff line
@@ -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>"