ResourceDescription

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

Available formats

Specification

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

t-rdfs:ResourceDescription( :resource : 1 nonLiteral , "label"^^xsd:string : ? literal , "comment"^^xsd:string : ? literal , :seeOther : ? , :defOther : ? )
  ::
  ( :resource , rdfs:label , "label"^^xsd:string )
  ( :resource , rdfs:comment , "comment"^^xsd:string )
  ( :resource , rdfs:seeAlso , :seeOther )
  ( :resource , rdfs:isDefinedBy , :defOther ) .

Direct dependency templates

Templates instantiated in the body of this template:

This template contains no template instances.

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/ResourceDescription#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

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

Source

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

@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/ResourceDescription#> .

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

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