Permutation Functions Ontology

Author
Dorian Taylor
Created
June 4, 2014
Namespace URI
https://privatealpha.com/ontology/permutation/1#
Preferred Namespace Prefix
pfo

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

Many, if not most Web content manipulation tasks are concerned exclusively with representations: the literal contents of HTTP messages, rather than abstract or internal representations. Such manipulations may include excerpting and rearranging files, compressing and decompressing, cropping and resizing images, and converting between data formats. If we separate these operations from other development tasks, we can reuse them.

Classes

Permutation

This class provides a specification for a permutation function.

Properties:
pfo:implementation
pfo:parameter
pfo:parameter-list
pfo:accepts
pfo:returns

Parameter

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

Instance

This class connects a specific input to a function with its output.

Properties

implementation

URI to the implementation of the function.

The URI is meant to be dereferenced by an internal implementation, e.g. file:, jar:, or an idiosyncratic scheme like urn:x-python:.

Domain:
pfo:Permutation
Range:
rdfs:Resource

Back to Top

parameter

Binds a parameter object to its function.

Parameters can either be supplied to the function as key-value pairs or sequentially.

Domain:
pfo:Permutation
Range:
pfo:Parameter

Back to Top

parameter-list

Specifies the sequence of parameters when the invocation method of the function is sequential.

Domain:
pfo:Permutation
Range:
rdf:List

Back to Top

accepts

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

Domain:
pfo:Permutation
Range:
rdf:List

Back to Top

returns

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

Domain:
pfo:Permutation
Range:
rdf:List

Back to Top