Class(sswap:Resource complete annotation(rdfs:label "Resource"^^<http://www.w3.org/2001/XMLSchema#string>)
annotation(rdfs:comment "A sswap:Resource designates a semantically described web resource.
Resources that "do things" for example, transform some input to some output are called services. A sswap:Resource sswap:operatesOn one or more sswap:Graphs, where the sswap:Graph acts as a data structure for the mapping of some input (sswap:Subject) to some output (sswap:Object). A resource that is a sswap:Resource has the URI of its Resource Description Graph (RDG).
All sswap:Resources have a sole and unique sswap:Provider (indicated by the sswap:providedBy predicate) which claims ownership of the resource (reciprocated by the sswap:providesResource predicate). If the resource's URI is a lexical sub-path of the provider, then the provider does not have to reciprocate the sswap:providesResource claim. But if the resource is claiming ownership by a provider whose URI is not a lexical sub-path, then the provider must explicitly reciprocate the claim with sswap:providesResource. Similarly, if a provider claims a resource which is not in a sub-path, then the resource must reciprocate the claim.
Required predicates: sswap:name, sswap:operatesOn, sswap:providedBy;
Optional predicates: sswap:aboutURI, sswap:inputURI, sswap:metadata, sswap:oneLineDescription, sswap:outputURI."^^<http://www.w3.org/2001/XMLSchema#string>)
restriction(sswap:name cardinality(1))
restriction(sswap:operatesOn allValuesFrom(sswap:Graph))
restriction(sswap:operatesOn someValuesFrom(sswap:Graph))
restriction(sswap:providedBy cardinality(1))
restriction(sswap:providedBy allValuesFrom(sswap:Provider)))
SubClassOf(sswap:Resource restriction(sswap:oneLineDescription maxCardinality(1)))
SubClassOf(sswap:Resource restriction(sswap:inputURI maxCardinality(1)))
SubClassOf(sswap:Resource restriction(sswap:outputURI maxCardinality(1)))
SubClassOf(sswap:Resource restriction(sswap:metadata minCardinality(0)))
SubClassOf(sswap:Resource restriction(sswap:aboutURI maxCardinality(1)))
SubClassOf(sswap:Resource sswap:SSWAP)
DisjointClasses(sswap:Resource sswap:Graph)