Class: RDF::SAK::TFO

Inherits:
RDF::StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/sak/tfo.rb

Overview

Vocabulary for <privatealpha.com/ontology/transformation/1#>

Transformation Functions Ontology

This document describes functions which transform HTTP representations, i.e., the actual literal payloads of HTTP messages.

This document describes functions which transform HTTP representations, i.e., the actual literal payloads of HTTP messages.

Instance Attribute Summary collapse

Instance Attribute Details

#acceptsRDF::Vocabulary::Term (readonly)

Specifies the list of content-types, in order of preference, that the function can process.

Returns:

  • (RDF::Vocabulary::Term)


35
36
37
# File 'lib/rdf/sak/tfo.rb', line 35

def accepts
  @accepts
end

#ApplicationRDF::Vocabulary::Term (readonly)

This class represents an application of a transformation function, connecting a specific input and scalar parameters with its output.

Returns:

  • (RDF::Vocabulary::Term)


11
12
13
# File 'lib/rdf/sak/tfo.rb', line 11

def Application
  @Application
end

#completesRDF::Vocabulary::Term (readonly)

Identifies a tfo:Partial function that this tfo:Application completes.

Returns:

  • (RDF::Vocabulary::Term)


39
40
41
# File 'lib/rdf/sak/tfo.rb', line 39

def completes
  @completes
end

#defaultRDF::Vocabulary::Term (readonly)

Specifies one or more default values for a parameter.

Returns:

  • (RDF::Vocabulary::Term)


43
44
45
# File 'lib/rdf/sak/tfo.rb', line 43

def default
  @default
end

#implementationRDF::Vocabulary::Term (readonly)

URI to the implementation of the function.

Returns:

  • (RDF::Vocabulary::Term)


47
48
49
# File 'lib/rdf/sak/tfo.rb', line 47

def implementation
  @implementation
end

#inputRDF::Vocabulary::Term (readonly)

Specifies the resource that was the input of the transformation function.

Returns:

  • (RDF::Vocabulary::Term)


51
52
53
# File 'lib/rdf/sak/tfo.rb', line 51

def input
  @input
end

#iregexpRDF::Vocabulary::Term (readonly)

A case-insensitive regular expression.

Returns:

  • (RDF::Vocabulary::Term)


75
76
77
# File 'lib/rdf/sak/tfo.rb', line 75

def iregexp
  @iregexp
end

#MarkupTransformRDF::Vocabulary::Term (readonly)

This class represents the set of transformation functions that operate exclusively over (HTML/XML) markup.

Returns:

  • (RDF::Vocabulary::Term)


15
16
17
# File 'lib/rdf/sak/tfo.rb', line 15

def MarkupTransform
  @MarkupTransform
end

#outputRDF::Vocabulary::Term (readonly)

Specifies the resource that was the output of the transformation function.

Returns:

  • (RDF::Vocabulary::Term)


55
56
57
# File 'lib/rdf/sak/tfo.rb', line 55

def output
  @output
end

#ParameterRDF::Vocabulary::Term (readonly)

This class provides a specification for a parameter in a given function.

Returns:

  • (RDF::Vocabulary::Term)


19
20
21
# File 'lib/rdf/sak/tfo.rb', line 19

def Parameter
  @Parameter
end

#parameterRDF::Vocabulary::Term (readonly)

Binds a parameter object to its function.

Returns:

  • (RDF::Vocabulary::Term)


59
60
61
# File 'lib/rdf/sak/tfo.rb', line 59

def parameter
  @parameter
end

#ParameterListRDF::Vocabulary::Term (readonly)

This class represents a list with the restriction that its members be tfo:Parameter nodes.

Returns:

  • (RDF::Vocabulary::Term)


23
24
25
# File 'lib/rdf/sak/tfo.rb', line 23

def ParameterList
  @ParameterList
end

#PartialRDF::Vocabulary::Term (readonly)

This class represents a partial application of a transformation function, affording the encapsulation and re-use of existing parameters.

Returns:

  • (RDF::Vocabulary::Term)


27
28
29
# File 'lib/rdf/sak/tfo.rb', line 27

def Partial
  @Partial
end

#prefixRDF::Vocabulary::Term (readonly)

Specifies a SHACL prefix declaration for complementing any associated XPath expression.

Returns:

  • (RDF::Vocabulary::Term)


63
64
65
# File 'lib/rdf/sak/tfo.rb', line 63

def prefix
  @prefix
end

#regexpRDF::Vocabulary::Term (readonly)

A regular expression.

Returns:

  • (RDF::Vocabulary::Term)


79
80
81
# File 'lib/rdf/sak/tfo.rb', line 79

def regexp
  @regexp
end

#returnsRDF::Vocabulary::Term (readonly)

Specifies the list of content-types, in order of preference, that the function is capable of returning.

Returns:

  • (RDF::Vocabulary::Term)


67
68
69
# File 'lib/rdf/sak/tfo.rb', line 67

def returns
  @returns
end

#TransformRDF::Vocabulary::Term (readonly)

This class provides a specification for a transformation function.

Returns:

  • (RDF::Vocabulary::Term)


31
32
33
# File 'lib/rdf/sak/tfo.rb', line 31

def Transform
  @Transform
end

#transformRDF::Vocabulary::Term (readonly)

Specifies the transform associated with this particular application

Returns:

  • (RDF::Vocabulary::Term)


71
72
73
# File 'lib/rdf/sak/tfo.rb', line 71

def transform
  @transform
end

#xpathRDF::Vocabulary::Term (readonly)

An XPath expression.

Returns:

  • (RDF::Vocabulary::Term)


83
84
85
# File 'lib/rdf/sak/tfo.rb', line 83

def xpath
  @xpath
end