@prefix o-owl-dec: <http://tpl.ottr.xyz/owl/declaration/0.1/> .
@prefix ottr:      <http://ns.ottr.xyz/0.4/> .
@prefix owl:       <http://www.w3.org/2002/07/owl#> .
@prefix rdf:       <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:      <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd:       <http://www.w3.org/2001/XMLSchema#> .

o-owl-dec:Ontology  rdf:type  ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:modifier  ottr:nonBlank , ottr:optional ;
                             ottr:type      xsd:string ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:modifier  ottr:nonBlank , ottr:optional ;
                             ottr:type      xsd:string ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:modifier  ottr:nonBlank , ottr:optional ;
                             ottr:type      xsd:string ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:modifier  ottr:optional ;
                             ottr:type      ( rdf:List rdfs:Resource ) ;
                             ottr:variable  _:b4
                           ]
                           [ ottr:modifier  ottr:optional ;
                             ottr:type      ( ottr:NEList ottr:IRI ) ;
                             ottr:variable  _:b5
                           ]
                         ) ;
        ottr:pattern     [ ottr:arguments  ( [ ottr:value  _:b0 ]
                                             [ ottr:value  owl:imports ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     _:b5
                                             ]
                                           ) ;
                           ottr:modifier   ottr:cross ;
                           ottr:of         ottr:Triple
                         ] ;
        ottr:pattern     [ ottr:of      <http://tpl.ottr.xyz/rdfs/0.2/TypedResourceDescription> ;
                           ottr:values  ( _:b0
                                          owl:Ontology
                                          _:b2
                                          _:b3
                                          _:b4
                                          ottr:none
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          owl:versionInfo
                                          _:b1
                                        )
                         ] .
