Contents

Template: inter:WorkOrderForm

URI: http://tpl.ottr.xyz/p/asset-maintenance/interface/0.1/WorkOrderForm

Parameters

🛈 The parameters defined by the signature are listed here. Unfortunately parameter names are not informative; fixing it is a planned future feature. An optional parameter will accept the value ottr:none as an argument. A parameter which allows blanks will accept a blank node as argument value.

IndexNameTypeOptionalBlanks allowedDefault value
1idowl:NamedIndividualnoyesno
2datexsd:datenoyesno
3descrxsd:stringnoyesno
4funcLocowl:NamedIndividualnoyesno
5failureFuncLocowl:Classnoyesno
6codeowl:Classnoyesno
7failureowl:NamedIndividualnoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

inter:WorkOrderForm[
    owl:NamedIndividual ?id,
    xsd:date ?date,
    xsd:string ?descr,
    owl:NamedIndividual ?funcLoc,
    owl:Class ?failureFuncLoc,
    owl:Class ?code,
    owl:NamedIndividual ?failure
] :: {
    wo-tmp:RealizedFailureCategorization(?failureFuncLoc, ?code, ?failure),
    wo-tmp:WorkAddressesFailure(?id, ?funcLoc, ?failure),
    wo-tmp:WorkOrder(?id, ?date, ?descr, ?funcLoc, ?failure)
} .

🛈 The pattern of the template is illustrated by expanding a generated instance. Below the generated instance is shown in different serialisations, and its expansion is presented in different formats.

Generated instance

stOTTR
inter:WorkOrderForm(x:argument1, _:argument2, _:argument3, x:argument4, x:argument5, x:argument6, x:argument7)
RDF/wOTTR
[ ottr:of      inter:WorkOrderForm ;
  ottr:values  ( x:argument1
                 [] 
                 [] 
                 x:argument4 x:argument5 x:argument6 x:argument7
               )
] .

Visualisation of expanded RDF graph

🛈 Each resource node is linked to its IRI. Type relationships are not visualised, rather each node contains its type.

Hierarchical horizontal layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> fmea:WorkOrderDatum x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> fmea:onDate http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> x:argument5 , x:argument6 x:argument7 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> fmea:workOnFailure http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> fmea:workOn argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> fmea:Description
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> fmea:WorkOrderDatum x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> fmea:onDate http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> x:argument5 , x:argument6 x:argument7 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> fmea:workOnFailure http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> fmea:workOn argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> fmea:Description
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> fmea:WorkOrderDatum x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> fmea:onDate http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> x:argument5 , x:argument6 x:argument7 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> fmea:workOnFailure http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> fmea:workOn argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> fmea:Description
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> fmea:WorkOrderDatum x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> fmea:onDate http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> x:argument5 , x:argument6 x:argument7 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> fmea:workOnFailure http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> fmea:workOn argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> fmea:Description
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> fmea:WorkOrderDatum x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> fmea:onDate http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> x:argument5 , x:argument6 x:argument7 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> fmea:workOnFailure http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> fmea:workOn argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> fmea:Description
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> fmea:WorkOrderDatum x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> fmea:onDate http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> x:argument5 , x:argument6 x:argument7 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument7 : LUB<ottr:IRI> fmea:workOnFailure http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> fmea:workOn argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> fmea:Description

Expanded RDF graph

x:argument1  rdf:type       fmea:WorkOrderDatum ;
        fmea:Description    []  ;
        fmea:onDate         []  ;
        fmea:workOn         x:argument4 ;
        fmea:workOnFailure  x:argument7 .

x:argument7  rdf:type  x:argument6 , x:argument5 .

Interactive expansion

🛈 Click the list to expand/contract one list element. Click 'expand/contact all' to expand/contract all elements. Note that the interactive expansion is not correct for instances that are marked by list expanders.

inter:WorkOrderForm(x:argument1, _:argument2, _:argument3, x:argument4, x:argument5, x:argument6, x:argument7)
wo-tmp:RealizedFailureCategorization(x:argument5, x:argument6, x:argument7)
o-rdf:Type(x:argument7, x:argument5)ottr:Triple(x:argument7, rdf:type, x:argument5)
o-rdf:Type(x:argument7, x:argument6)ottr:Triple(x:argument7, rdf:type, x:argument6)
wo-tmp:WorkAddressesFailure(x:argument1, x:argument4, x:argument7)ottr:Triple(x:argument1, fmea:workOn, x:argument4)
wo-tmp:WorkOnFailure(x:argument1, x:argument7)ottr:Triple(x:argument1, fmea:workOnFailure, x:argument7)
wo-tmp:WorkOrder(x:argument1, _:argument2, _:argument3, x:argument4, x:argument7)ottr:Triple(x:argument1, fmea:onDate, _:argument2)
tmp:CodeDescription(x:argument1, _:argument3)ottr:Triple(x:argument1, fmea:Description, _:argument3)
wo-tmp:WorkAddressesFailure(x:argument1, x:argument4, x:argument7)ottr:Triple(x:argument1, fmea:workOn, x:argument4)
wo-tmp:WorkOnFailure(x:argument1, x:argument7)ottr:Triple(x:argument1, fmea:workOnFailure, x:argument7)
o-rdf:Type(x:argument1, fmea:WorkOrderDatum)ottr:Triple(x:argument1, rdf:type, fmea:WorkOrderDatum)

Dependencies

Dependency graph

🛈 The graph shows all the templates that this template depends on. The colour of the node indicates its namespace. Each node is linked to its documentation page.

Hierarchical horizontal layout (dot)
%3 inter:WorkOrderForm inter:WorkOrderForm wo-tmp:RealizedFailureCategorization wo-tmp:RealizedFailureCategorization inter:WorkOrderForm->wo-tmp:RealizedFailureCategorization wo-tmp:WorkAddressesFailure wo-tmp:WorkAddressesFailure inter:WorkOrderForm->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder wo-tmp:WorkOrder inter:WorkOrderForm->wo-tmp:WorkOrder o-rdf:Type o-rdf:Type wo-tmp:RealizedFailureCategorization->o-rdf:Type ottr:Triple ottr:Triple wo-tmp:WorkAddressesFailure->ottr:Triple wo-tmp:WorkOnFailure wo-tmp:WorkOnFailure wo-tmp:WorkAddressesFailure->wo-tmp:WorkOnFailure wo-tmp:WorkOrder->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder->o-rdf:Type wo-tmp:WorkOrder->ottr:Triple tmp:CodeDescription tmp:CodeDescription wo-tmp:WorkOrder->tmp:CodeDescription o-rdf:Type->ottr:Triple wo-tmp:WorkOnFailure->ottr:Triple tmp:CodeDescription->ottr:Triple
Hierarchical vertical layout (dot)
%3 inter:WorkOrderForm inter:WorkOrderForm wo-tmp:RealizedFailureCategorization wo-tmp:RealizedFailureCategorization inter:WorkOrderForm->wo-tmp:RealizedFailureCategorization wo-tmp:WorkAddressesFailure wo-tmp:WorkAddressesFailure inter:WorkOrderForm->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder wo-tmp:WorkOrder inter:WorkOrderForm->wo-tmp:WorkOrder o-rdf:Type o-rdf:Type wo-tmp:RealizedFailureCategorization->o-rdf:Type ottr:Triple ottr:Triple wo-tmp:WorkAddressesFailure->ottr:Triple wo-tmp:WorkOnFailure wo-tmp:WorkOnFailure wo-tmp:WorkAddressesFailure->wo-tmp:WorkOnFailure wo-tmp:WorkOrder->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder->o-rdf:Type wo-tmp:WorkOrder->ottr:Triple tmp:CodeDescription tmp:CodeDescription wo-tmp:WorkOrder->tmp:CodeDescription o-rdf:Type->ottr:Triple wo-tmp:WorkOnFailure->ottr:Triple tmp:CodeDescription->ottr:Triple
Spring model layout (neato)
%3 inter:WorkOrderForm inter:WorkOrderForm wo-tmp:RealizedFailureCategorization wo-tmp:RealizedFailureCategorization inter:WorkOrderForm->wo-tmp:RealizedFailureCategorization wo-tmp:WorkAddressesFailure wo-tmp:WorkAddressesFailure inter:WorkOrderForm->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder wo-tmp:WorkOrder inter:WorkOrderForm->wo-tmp:WorkOrder o-rdf:Type o-rdf:Type wo-tmp:RealizedFailureCategorization->o-rdf:Type ottr:Triple ottr:Triple wo-tmp:WorkAddressesFailure->ottr:Triple wo-tmp:WorkOnFailure wo-tmp:WorkOnFailure wo-tmp:WorkAddressesFailure->wo-tmp:WorkOnFailure wo-tmp:WorkOrder->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder->o-rdf:Type wo-tmp:WorkOrder->ottr:Triple tmp:CodeDescription tmp:CodeDescription wo-tmp:WorkOrder->tmp:CodeDescription o-rdf:Type->ottr:Triple wo-tmp:WorkOnFailure->ottr:Triple tmp:CodeDescription->ottr:Triple
Spring model layout (fdp)
%3 inter:WorkOrderForm inter:WorkOrderForm wo-tmp:RealizedFailureCategorization wo-tmp:RealizedFailureCategorization inter:WorkOrderForm->wo-tmp:RealizedFailureCategorization wo-tmp:WorkAddressesFailure wo-tmp:WorkAddressesFailure inter:WorkOrderForm->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder wo-tmp:WorkOrder inter:WorkOrderForm->wo-tmp:WorkOrder o-rdf:Type o-rdf:Type wo-tmp:RealizedFailureCategorization->o-rdf:Type ottr:Triple ottr:Triple wo-tmp:WorkAddressesFailure->ottr:Triple wo-tmp:WorkOnFailure wo-tmp:WorkOnFailure wo-tmp:WorkAddressesFailure->wo-tmp:WorkOnFailure wo-tmp:WorkOrder->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder->o-rdf:Type wo-tmp:WorkOrder->ottr:Triple tmp:CodeDescription tmp:CodeDescription wo-tmp:WorkOrder->tmp:CodeDescription o-rdf:Type->ottr:Triple wo-tmp:WorkOnFailure->ottr:Triple tmp:CodeDescription->ottr:Triple
Radial layout (twopi)
%3 inter:WorkOrderForm inter:WorkOrderForm wo-tmp:RealizedFailureCategorization wo-tmp:RealizedFailureCategorization inter:WorkOrderForm->wo-tmp:RealizedFailureCategorization wo-tmp:WorkAddressesFailure wo-tmp:WorkAddressesFailure inter:WorkOrderForm->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder wo-tmp:WorkOrder inter:WorkOrderForm->wo-tmp:WorkOrder o-rdf:Type o-rdf:Type wo-tmp:RealizedFailureCategorization->o-rdf:Type ottr:Triple ottr:Triple wo-tmp:WorkAddressesFailure->ottr:Triple wo-tmp:WorkOnFailure wo-tmp:WorkOnFailure wo-tmp:WorkAddressesFailure->wo-tmp:WorkOnFailure wo-tmp:WorkOrder->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder->o-rdf:Type wo-tmp:WorkOrder->ottr:Triple tmp:CodeDescription tmp:CodeDescription wo-tmp:WorkOrder->tmp:CodeDescription o-rdf:Type->ottr:Triple wo-tmp:WorkOnFailure->ottr:Triple tmp:CodeDescription->ottr:Triple
Circular layout (circo)
%3 inter:WorkOrderForm inter:WorkOrderForm wo-tmp:RealizedFailureCategorization wo-tmp:RealizedFailureCategorization inter:WorkOrderForm->wo-tmp:RealizedFailureCategorization wo-tmp:WorkAddressesFailure wo-tmp:WorkAddressesFailure inter:WorkOrderForm->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder wo-tmp:WorkOrder inter:WorkOrderForm->wo-tmp:WorkOrder o-rdf:Type o-rdf:Type wo-tmp:RealizedFailureCategorization->o-rdf:Type ottr:Triple ottr:Triple wo-tmp:WorkAddressesFailure->ottr:Triple wo-tmp:WorkOnFailure wo-tmp:WorkOnFailure wo-tmp:WorkAddressesFailure->wo-tmp:WorkOnFailure wo-tmp:WorkOrder->wo-tmp:WorkAddressesFailure wo-tmp:WorkOrder->o-rdf:Type wo-tmp:WorkOrder->ottr:Triple tmp:CodeDescription tmp:CodeDescription wo-tmp:WorkOrder->tmp:CodeDescription o-rdf:Type->ottr:Triple wo-tmp:WorkOnFailure->ottr:Triple tmp:CodeDescription->ottr:Triple

List of dependencies

🛈 The number in parenthesis is the number of instances of each template.

inter:WorkOrderForm
wo-tmp:RealizedFailureCategorization (1)
o-rdf:Type (2)ottr:Triple (1)
wo-tmp:WorkAddressesFailure (1)ottr:Triple (1)
wo-tmp:WorkOnFailure (1)ottr:Triple (1)
wo-tmp:WorkOrder (1)ottr:Triple (1)
tmp:CodeDescription (1)ottr:Triple (1)
wo-tmp:WorkAddressesFailure (1)ottr:Triple (1)
wo-tmp:WorkOnFailure (1)ottr:Triple (1)
o-rdf:Type (1)ottr:Triple (1)

Depending templates

🛈 The templates in this library that depend on this template.

None found.

Metrics

🛈 Dependency graph metrics. Depth is the number of steps to a leaf node in the dependency graph. Branching is the number of outgoing edges from a node.

Templates used

Direct dependenciesComplete expansion

Vocabulary introduced

Direct dependencies
  • Namespaces introduced: (0)
    Complete expansion

    Serialisations

    stOTTR

    inter:WorkOrderForm[
        owl:NamedIndividual ?id,
        xsd:date ?date,
        xsd:string ?descr,
        owl:NamedIndividual ?funcLoc,
        owl:Class ?failureFuncLoc,
        owl:Class ?code,
        owl:NamedIndividual ?failure
    ] :: {
        wo-tmp:RealizedFailureCategorization(?failureFuncLoc, ?code, ?failure),
        wo-tmp:WorkAddressesFailure(?id, ?funcLoc, ?failure),
        wo-tmp:WorkOrder(?id, ?date, ?descr, ?funcLoc, ?failure)
    } .

    RDF/wOTTR

    inter:WorkOrderForm  rdf:type  ottr:Template ;
            ottr:parameters  ( [ ottr:type      owl:NamedIndividual ;
                                 ottr:variable  _:b0
                               ]
                               [ ottr:type      xsd:date ;
                                 ottr:variable  _:b1
                               ]
                               [ ottr:type      xsd:string ;
                                 ottr:variable  _:b2
                               ]
                               [ ottr:type      owl:NamedIndividual ;
                                 ottr:variable  _:b3
                               ]
                               [ ottr:type      owl:Class ;
                                 ottr:variable  _:b4
                               ]
                               [ ottr:type      owl:Class ;
                                 ottr:variable  _:b5
                               ]
                               [ ottr:type      owl:NamedIndividual ;
                                 ottr:variable  _:b6
                               ]
                             ) ;
            ottr:pattern     [ ottr:of      wo-tmp:RealizedFailureCategorization ;
                               ottr:values  ( _:b4
                                              _:b5
                                              _:b6
                                            )
                             ] ;
            ottr:pattern     [ ottr:of      wo-tmp:WorkAddressesFailure ;
                               ottr:values  ( _:b0
                                              _:b3
                                              _:b6
                                            )
                             ] ;
            ottr:pattern     [ ottr:of      wo-tmp:WorkOrder ;
                               ottr:values  ( _:b0
                                              _:b1
                                              _:b2
                                              _:b3
                                              _:b6
                                            )
                             ] .

    Prefixes

    🛈 Prefixes are removed from all listings on this page for readability, but are listed here in RDF Turtle format.

    @prefix ottr:       <http://ns.ottr.xyz/0.4/>.
    @prefix inter:      <http://tpl.ottr.xyz/p/asset-maintenance/interface/0.1/>.
    @prefix wo-tmp:     <http://tpl.ottr.xyz/p/asset-maintenance/work-orders/0.1/>.
    @prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
    @prefix xsd:        <http://www.w3.org/2001/XMLSchema#>.
    @prefix owl:        <http://www.w3.org/2002/07/owl#>.