templateBlankRel1.ttl

IRI: http://test.ottr.xyz/test1/templateBlankRel1.ttl

Available formats

Specification


http://test.ottr.xyz/test1/templateBlankRel1.ttl( _:b1 : 1 individual )
  ::
  http://test.ottr.xyz/test1/templatePipe.ttl( _:b1 )
  http://test.ottr.xyz/test1/templateSelfRel1.ttl( _:b1 ) .

Direct dependency templates

Templates instantiated in the body of this template:

Diagram of pattern

RDF graph visualisation of the expanded body:

Pattern

The pattern the template represents, i.e., the expanded template body.

@prefix ex:    <http://www.example.com#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

_:b0    rdfs:label  "This is a pipe." ;
        ex:selfRel  _:b0 .

Source

Raw source - http://test.ottr.xyz/test1/templateBlankRel1.ttl:

@prefix owl:       <http://www.w3.org/2002/07/owl#> .
@prefix rdf:       <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd:       <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:      <http://www.w3.org/2000/01/rdf-schema#> .

@prefix ottr:        <http://ns.ottr.xyz/templates#> .

@prefix :          <http://test.ottr.xyz/test1/templateBlankRel1.ttl#> .
@prefix tRel1:     <http://test.ottr.xyz/test1/templateSelfRel1.ttl#> .
@prefix tPipe:     <http://test.ottr.xyz/test1/templatePipe.ttl#> .

<http://test.ottr.xyz/test1/templateBlankRel1.ttl> rdf:type ottr:Template ;
  ottr:hasParameter :param1 .

:param1  ottr:index 1; ottr:individualVariable  _:x .

  [ ] a ottr:TemplateInstance ;
    ottr:templateRef <http://test.ottr.xyz/test1/templatePipe.ttl> ;
    ottr:hasArgument
      [ ottr:index 1 ; ottr:value _:x ] .
	
  [ ] a ottr:TemplateInstance ;
    ottr:templateRef <http://test.ottr.xyz/test1/templateSelfRel1.ttl> ;
    ottr:hasArgument
	  [ ottr:index 1 ; ottr:value _:x ] .