TypedResourceDescription

IRI: http://candidate.ottr.xyz/rdfs/TypedResourceDescription

Available formats

Specification

@prefix : <http://candidate.ottr.xyz/rdfs/TypedResourceDescription#> .
@prefix t-rdf: <http://candidate.ottr.xyz/rdf/> .
@prefix t-rdfs: <http://candidate.ottr.xyz/rdfs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

t-rdfs:TypedResourceDescription( :resource : 1 nonLiteral , :class : 1 class , "label"^^xsd:string : ? literal , "comment"^^xsd:string : ? literal , :seeOther : ? , :defOther : ? )
  ::
  t-rdf:Type( :resource , :class )
  t-rdfs:ResourceDescription( :resource , "label"^^xsd:string , "comment"^^xsd:string , :seeOther , :defOther ) .

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 :      <http://candidate.ottr.xyz/rdfs/TypedResourceDescription#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

:resource  a              :class ;
        rdfs:comment      "comment" ;
        rdfs:isDefinedBy  :defOther ;
        rdfs:label        "label" ;
        rdfs:seeAlso      :seeOther .

Source

Raw source - http://candidate.ottr.xyz/rdfs/TypedResourceDescription:

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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://candidate.ottr.xyz/rdfs/TypedResourceDescription#> .

<http://candidate.ottr.xyz/rdfs/TypedResourceDescription> a ottr:Template ;
    ottr:hasParameter
        [ ottr:index 1;  ottr:nonLiteralVariable  :resource ] ,
	[ ottr:index 2;  ottr:classVariable       :class ] ,
	[ ottr:index 3;  ottr:literalVariable     "label";    ottr:optional true ] ,
	[ ottr:index 4;  ottr:literalVariable     "comment";  ottr:optional true ] ,
	[ ottr:index 5;  ottr:variable            :seeOther;  ottr:optional true ] ,
	[ ottr:index 6;  ottr:variable            :defOther;  ottr:optional true ] .


[] ottr:templateRef <http://candidate.ottr.xyz/rdf/Type> ;
    ottr:withValues ( :resource :class ) .

[] ottr:templateRef <http://candidate.ottr.xyz/rdfs/ResourceDescription> ;
    ottr:hasArgument
        [ ottr:index 1;  ottr:value  :resource ] ,
	[ ottr:index 2;  ottr:value  "label";    ottr:optional true ] ,
	[ ottr:index 3;  ottr:value  "comment";  ottr:optional true ] ,
	[ ottr:index 4;  ottr:value  :seeOther;  ottr:optional true ] ,
	[ ottr:index 5;  ottr:value  :defOther;  ottr:optional true ] .