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

comment on different lines

parent 85a27ffd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ TEMPLATE <ontology/classDescription.rqg>( ?class , ?first ) {
    FILTER(ISURI(?class))
    OPTIONAL { ?class rdfs:comment ?comment }
    BIND( IF(BOUND(?comment), ?comment, "<<no comment>>") AS ?commentStr )
  } .
  } LIMIT 1 .

  TEMPLATE {

+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ TEMPLATE <classes.rqg>( ?onto ) {
        TEMPLATE {
          before = "\n<div class='comment'><p>\n" ;
          TEMPLATE <function/formatText.rqg>(?comment) .
          ; after = "</p></div>"
          ; separator = "<br/>" ; after = "</p></div>"
        }
        WHERE {
          ?class rdfs:comment ?comment  .
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ TEMPLATE <dataProperties.rqg>( ?onto ) {
          TEMPLATE {
            before = "\n<div class='comment'><p>\n" ;
            TEMPLATE <function/formatText.rqg>(?comment) .
            ; after = "</p></div>"
            ; separator = "<br/>" ; after = "</p></div>"
          }
          WHERE {
            ?dp rdfs:comment ?comment  .
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ TEMPLATE <ontology/individualAndLiteralDescription.rqg>( ?object ) {
    FILTER(ISURI(?object))
    OPTIONAL {?object rdfs:comment ?comment }
    BIND( IF(BOUND(?comment), ?comment, "<<no comment>>") AS ?commentStr )
  } .
  } LIMIT 1 .

  # anonymous individual
  TEMPLATE {
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ TEMPLATE <namedIndividuals.rqg>( ?onto ) {
          TEMPLATE {
            before = "\n<div class='comment'><p>\n" ;
            TEMPLATE <function/formatText.rqg>(?comment) .
            ; after = "</p></div>"
            ; separator = "<br/>" ; after = "</p></div>"
          }
          WHERE {
            ?individual rdfs:comment ?comment  .
Loading