Class: RDF::Vocab::SiocServices

Inherits:
StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/vocab/siocservices.rb

Overview

Vocabulary for <rdfs.org/sioc/services#>

SIOC Services Ontology Module Namespace

Extends the SIOC Core Ontology (Semantically-Interlinked Online Communities) by defining basic information on community-related web services.

Instance Attribute Summary collapse

Instance Attribute Details

#has_serviceRDF::Vocabulary::Term (readonly)

A Service associated with this SIOC object.

Returns:

  • (RDF::Vocabulary::Term)


14
15
16
# File 'lib/rdf/vocab/siocservices.rb', line 14

def has_service
  @has_service
end

#max_resultsRDF::Vocabulary::Term (readonly)

Maximum number of results results returned by a web service.

Returns:

  • (RDF::Vocabulary::Term)


18
19
20
# File 'lib/rdf/vocab/siocservices.rb', line 18

def max_results
  @max_results
end

#results_formatRDF::Vocabulary::Term (readonly)

Format of results returned by a web service.

Returns:

  • (RDF::Vocabulary::Term)


22
23
24
# File 'lib/rdf/vocab/siocservices.rb', line 22

def results_format
  @results_format
end

#ServiceRDF::Vocabulary::Term (readonly)

A Service is web service associated with a Site or part of it.

Returns:

  • (RDF::Vocabulary::Term)


10
11
12
# File 'lib/rdf/vocab/siocservices.rb', line 10

def Service
  @Service
end

#service_definitionRDF::Vocabulary::Term (readonly)

Links to a web service definition of this sioc:Service.

Returns:

  • (RDF::Vocabulary::Term)


26
27
28
# File 'lib/rdf/vocab/siocservices.rb', line 26

def service_definition
  @service_definition
end

#service_endpointRDF::Vocabulary::Term (readonly)

URL of a web service endpoint.

Returns:

  • (RDF::Vocabulary::Term)


30
31
32
# File 'lib/rdf/vocab/siocservices.rb', line 30

def service_endpoint
  @service_endpoint
end

#service_ofRDF::Vocabulary::Term (readonly)

A SIOC object this Service is associated with.

Returns:

  • (RDF::Vocabulary::Term)


34
35
36
# File 'lib/rdf/vocab/siocservices.rb', line 34

def service_of
  @service_of
end

#service_protocolRDF::Vocabulary::Term (readonly)

A protocol used by a web service. Possible protocol values include SOAP, REST, SPARQL-QUERY, GData and OpenSearch. These will be added to this module later.

Returns:

  • (RDF::Vocabulary::Term)


38
39
40
# File 'lib/rdf/vocab/siocservices.rb', line 38

def service_protocol
  @service_protocol
end