All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttl.owl2.owl.declare.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

There is a newer version: 4.6.1
Show newest version
#
# Starting template for OWL pretty printing from RDF to Functional Syntax
# st:apply-all-templates run all templates on each value 
# Olivier Corby - Wimmics Inria I3S - 2013
#

template  st:declare  {

  xt:nl(st:apply-templates-with-all(st:owldecl, ?in), 1)
  ; separator = ""
  
    
}
where {

  select distinct ?in where {
     ?in rdf:type|owl:equivalentClass ?y 
    filter (isURI(?in))
    
    # OWL vocabulary must not be pretty printed
    filter (! xt:system(?in))       
    filter not exists { ?in a owl:Ontology }
        
  }
  order by ?in
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy