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

restrict documentatation generation

parent 9da80dba
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@ PREFIX iter: <http://w3id.org/sparql-generate/iter/>


BASE <https://saref.etsi.org/documentation/>
BASE <https://saref.etsi.org/documentation/>


TEMPLATE <classes.rqg>( ) { 
TEMPLATE <classes.rqg>( ?onto ) { 


  """\n<div id='classes'>
  """\n<div id='classes'>
  <h2>{fun:property(<en.properties>, 'classes')}</h2>
  <h2>{fun:property(<en.properties>, 'classes')}</h2>
+1 −1
Original line number Original line Diff line number Diff line
@@ -14,7 +14,7 @@ PREFIX schema: <http://schema.org/>


BASE <https://saref.etsi.org/documentation/>
BASE <https://saref.etsi.org/documentation/>


TEMPLATE <dataProperties.rqg>( ) { 
TEMPLATE <dataProperties.rqg>( ?onto ) { 


  """\n<div id='dataproperties'>
  """\n<div id='dataproperties'>
  <h2>{ fun:property(<en.properties>, 'dataproperties') }</h2>""" 
  <h2>{ fun:property(<en.properties>, 'dataproperties') }</h2>""" 
+4 −4
Original line number Original line Diff line number Diff line
@@ -168,22 +168,22 @@ TEMPLATE {


    "\n\n\n" TEMPLATE <ontology/namespaces.rqg>() .
    "\n\n\n" TEMPLATE <ontology/namespaces.rqg>() .


    "\n\n\n" TEMPLATE <ontology/classes.rqg>( ) 
    "\n\n\n" TEMPLATE <ontology/classes.rqg>( ?onto  ) 
    WHERE {
    WHERE {
      {?c a owl:Class} UNION {?c a rdfs:Class}
      {?c a owl:Class} UNION {?c a rdfs:Class}
    } LIMIT 1 . 
    } LIMIT 1 . 
    
    
    "\n\n\n" TEMPLATE <ontology/objectProperties.rqg>( ) 
    "\n\n\n" TEMPLATE <ontology/objectProperties.rqg>( ?onto  ) 
    WHERE {
    WHERE {
      ?op a owl:ObjectProperty
      ?op a owl:ObjectProperty
    } LIMIT 1 . 
    } LIMIT 1 . 


    "\n\n\n" TEMPLATE <ontology/dataProperties.rqg>( )
    "\n\n\n" TEMPLATE <ontology/dataProperties.rqg>( ?onto  )
    WHERE {
    WHERE {
      ?op a owl:DatatypeProperty
      ?op a owl:DatatypeProperty
    } LIMIT 1 . 
    } LIMIT 1 . 


    "\n\n\n" TEMPLATE <ontology/namedIndividuals.rqg>( ) . 
    "\n\n\n" TEMPLATE <ontology/namedIndividuals.rqg>( ?onto  ) . 


    "\n\n\n" TEMPLATE <ontology/examples.rqg>( ) .
    "\n\n\n" TEMPLATE <ontology/examples.rqg>( ) .


+1 −1
Original line number Original line Diff line number Diff line
@@ -11,7 +11,7 @@ PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
 
 
BASE <https://saref.etsi.org/documentation/>
BASE <https://saref.etsi.org/documentation/>


TEMPLATE <namedIndividuals.rqg>( ) { 
TEMPLATE <namedIndividuals.rqg>( ?onto ) { 


  """\n<div id='namedindividuals'>
  """\n<div id='namedindividuals'>
  <h2>{ fun:property(<en.properties>, 'namedindividuals') }</h2>""" 
  <h2>{ fun:property(<en.properties>, 'namedindividuals') }</h2>""" 
+1 −1
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@ PREFIX iter: <http://w3id.org/sparql-generate/iter/>


BASE <https://saref.etsi.org/documentation/>
BASE <https://saref.etsi.org/documentation/>


TEMPLATE <objectProperties.rqg>() { 
TEMPLATE <objectProperties.rqg>( ?onto ) { 


  """\n<div id='objectproperties'>
  """\n<div id='objectproperties'>
  <h2>{fun:property(<en.properties>, 'objectproperties')}</h2>
  <h2>{fun:property(<en.properties>, 'objectproperties')}</h2>