Learn R Programming

⚠️There's a newer version (1.0.17-18) of this package.Take me there.

redland (version 1.0.17-6)

RDF Library Bindings in R

Description

Provides methods to parse, query and serialize information stored in the Resource Description Framework (RDF). RDF is described at . This package supports RDF by implementing an R interface to the Redland RDF C library, described at . In brief, RDF provides a structured graph consisting of Statements composed of Subject, Predicate, and Object Nodes.

Copy Link

Version

Install

install.packages('redland')

Monthly Downloads

1,474

Version

1.0.17-6

License

Apache License 2.0

Maintainer

Matthew B Jones

Last Published

February 18th, 2016

Functions in redland (1.0.17-6)

librdf_world_set_logger

Set the world log handling function.
librdf_serializer_serialize_stream_to_string

Write a librdf_stream to a string.
librdf_parser_check_name

Check if a parser name is known
Query-class

Query an RDF model
Model-class

A Redland Model object
World-class

A Redland World object, used to initialize the Redland RDF library.
librdf_free_serializer

Destructor - destroys a librdf_serializer object.
librdf_copyright_string

Copyright string (multiple lines).
librdf_free_hash

Destructor - destroy a librdf_hash object.
initialize,Node-method

Initialize a Node object.
getNextResult

Get the next query result.
Serializer-class

An RDF Serializer object.
librdf_digest_to_string

Get a string representation of the digest object.
librdf_iterator_next

Move to the next iterator element.
librdf_free_digest

Destructor - destroy a librdf_digest object.
librdf_log_message_locator

Retrieve locator of log entry.
Storage-class

A Redland Storage object
freeStatement

Free memory used by a librdf statement
librdf_model_find_statements

Find matching statements in the model.
initialize,Storage-method

Initialize a Storage object
librdf_log_message_facility

Retrieve facility that generated the message.
librdf_query_results_get_binding_value

Get one binding value for the current result.
librdf_node_get_literal_value

Get the literal value of the node as a UTF-8 encoded string.
librdf_free_model

Destructor - Destroy a librdf_model object.
is.null.externalptr

Determine whether an externalptr object is NULL.
librdf_model_context_add_statement

Add a statement to a model with a context.
librdf_iterator_get_context

Get the context of the current object on the iterator.
librdf_new_uri_from_filename

Constructor - create a new librdf_uri object from a filename.
QueryResults-class

A Redland QueryResults object is used to inspect query results from a Query object.
freeStorage

Free memory used by a librdf storage object
librdf_model_get_sources

Return the sources (subjects) of arc in an RDF graph given arc (predicate) and target (object).
librdf_node_to_string

Format the node as a string in a debugging format.
librdf_parser_get_namespaces_seen_count

Get the number of namespaces seen during parsing
executeQuery

Execute a query
librdf_parser_guess_name2

Get a parser name for content with type or identifier
librdf_new_hash_from_string

Constructor - create a new librdf_hash object from a string.
librdf_model_context_as_stream

List all statements in a model context.
librdf_free_world

Terminate the library and frees all allocated resources.
librdf_model_add

Create and add a new statement about a resource to the model.
librdf_parser_get_accept_header

Get an HTTP Accept value for the parser.
librdf_model_remove_statement

Remove a known statement from the model.
librdf_digest_update

Add more data to the librdf_digest object.
librdf_model_contains_statement

Check for a statement in the model.
raptor_version_release

Raptor library release.
librdf_new_hash_from_array_of_strings

Constructor - create a new librdf_hash object from an array of strings.
librdf_new_query_from_query

Copy constructor - create a new librdf_query object from an existing one
librdf_new_model

Constructor - create a new storage librdf_model object.
librdf_new_parser

Constructor - create a new librdf_parser object.
initialize,World-method

Initialize the World object.
librdf_new_node_from_literal

Constructor - create a new literal librdf_node object.
librdf_new_node_from_typed_literal

Constructor - create a new typed literal librdf_node object.
librdf_model_as_stream

List the model contents as a stream of statements.
initialize,QueryResults-method

Initialize the QueryResults object.
librdf_new_node_from_blank_identifier

Constructor - create a new blank node librdf_node object from a blank node identifier.
librdf_new_statement

Constructor - create a new empty librdf_statement.
librdf_digest_init

(Re)initialise the librdf_digest object.
librdf_digest_final

Finish the digesting of data.
librdf_log_message_code

Retrieve error code from log message.
librdf_free_iterator

Destructor - destroy a librdf_iterator object.
librdf_hash_to_string

Format the hash as a string, suitable for parsing by librdf_hash_from_string.
librdf_model_get_arcs_out

Return the properties pointing from the given resource.
librdf_model_contains_context

Check for a context in the model.
librdf_new_node_from_node

Copy constructor - create a new librdf_node object from an existing librdf_node object.
librdf_new_uri_from_uri

Copy constructor - create a new librdf_uri object from an existing librdf_uri object.
librdf_internal_test_error

For internal testing, not part of public API
librdf_query_results_to_string

Turn a query results into a string.
addStatement

Add a Statement object to the Model
librdf_parser_parse_as_stream

Parse a URI to a librdf_stream of statements.
librdf_model_transaction_commit

Commit a transaction.
initialize,Query-method

Initialize the Query object.
initialize,Serializer-method

Construct a Serializer object.
librdf_node_equals

Compare two librdf_node objects for equality.
librdf_model_get_contexts

Return the list of contexts in the graph.
librdf_serializer_serialize_stream_to_file

Write a librdf_stream to a file.
librdf_stream_get_object

Get the current librdf_statement in the stream.
librdf_log_message_message

Retrieve text message from log entry.
librdf_model_add_string_literal_statement

Create and add a new statement about a literal to the model.
librdf_copyright_string_get

Return Redland RDF copyright string
librdf_parser_parse_string_into_model

Parse a string of content into an librdf_model.
initialize,Model-method

Constructor for a Model object.
freeQueryResults

Free memory used by a librdf query results
librdf_query_results_get_binding_name

Get binding name for the current result.
librdf_model_find_statements_in_context

Search the model for matching statements in a given context.
librdf_stream_end

Test if the stream has ended.
getBlankNodeId

Get the blank identifier that has been assigned for a specified Node object
librdf_node_is_literal

Check node is a literal.
librdf_query_results_is_boolean

Test if librdf_query_results is boolean format.
librdf_statement_is_complete

Check if statement is a complete and legal RDF triple.
librdf_new_hash

Constructor - create a new librdf_hash object.
raptor_locator_column

Get column number from locator
librdf_model_add_statements

Add a stream of statements to the model.
librdf_world_get_feature

Get the value of a world feature.
librdf_internal_test_warning

For internal testing, not part of public API
librdf_model_get_target

Return one target (object) of an arc in an RDF graph given source (subject) and arc (predicate).
librdf_model_get_targets

Return the targets (objects) of an arc in an RDF graph given source (subject) and arc (predicate).
librdf_model_to_string

Write serialized model to a string.
librdf_node_get_literal_value_language

Get the XML language of the node.
librdf_node_is_blank

Check node is a blank nodeID.
librdf_query_results_to_file2

Write a query results to a file.
librdf_model_size

Get the number of statements in the model.
freeWorld

Free memory used by a librdf world object
freeModel

Free memory used by a librdf model.
librdf_node_get_literal_value_as_latin1

Get the string literal value of the node as ISO Latin-1.
librdf_query_results_to_file

Write a query results to a file.
librdf_digest_update_string

Add a string to the librdf_digest object.
librdf_statement_set_subject

Set the statement subject.
librdf_query_results_is_syntax

Test if librdf_query_results is a syntax.
librdf_statement_set_object

Set the statement object.
librdf_free_uri

Destructor - destroy a librdf_uri object.
raptor_version_string

Raptor library version string.
librdf_new_node_from_uri_string

Constructor - create a new librdf_node object from a URI string.
librdf_model_query_execute

Execute a query against the model.
librdf_parser_parse_string_as_stream

Parse a string of content to a librdf_stream of statements.
librdf_model_sync

Synchronise the model to the model implementation.
librdf_new_uri

Constructor - create a new librdf_uri object from a URI string.
librdf_parser_parse_counted_string_as_stream

Parse a counted string of content to a librdf_stream of statements.
librdf_query_set_offset

Set the query-specified offset on results.
librdf_node_get_type

Get the type of the node.
librdf_serializer_serialize_model_to_file

Write a serialized librdf_model to a file.
librdf_query_results_as_stream

Get a query result as an RDF graph in librdf_stream form
librdf_query_results_get_count

Get number of bindings so far.
librdf_serializer_set_feature

Set the value of a serializer feature.
librdf_new_node_from_uri_local_name

Constructor - create a new resource librdf_node object with a given URI and local name.
librdf_query_results_get_boolean

Get boolean query result.
librdf_parser_set_feature

Set the value of a parser feature.
librdf_parser_guess_name

Get a parser name for content with type or identifier
librdf_version_decimal_get

Return Redland librdf copyright
librdf_new_storage

Constructor - create a new librdf_storage object.
librdf_version_release_get

Return the Redland librdf release version number
librdf_query_set_limit

Set the query-specified limit on results.
librdf_query_results_is_bindings

Test if librdf_query_results is variable bindings format.
librdf_uri_compare

Compare two librdf_uri objects lexicographically.
mergeNamespace_roclet

A custom Roxygen roclet that adds Redland RDF functions to NAMESPACE file generated by Roxygen.
librdf_new_digest

Constructor - create a new librdf_digest object.
librdf_query_results_next

Move to the next result.
librdf_statement_get_object

Get the statement object.
librdf_serializer_serialize_model_to_string

Write a serialized librdf_model to a string. The returned string must be freed by the caller using librdf_free_memory().
rasqal_version_major_get

Get Rasqal major version number.
librdf_free_statement

Destructor - destroy a librdf_statement.
getNodeType

Determine the node type and return as a string
librdf_parser_parse_into_model

Parse a URI of content into an librdf_model.
librdf_node_get_blank_identifier

Get the blank node identifier as a UTF-8 encoded string.
librdf_model_has_arc_out

Check if a node has a given property pointing from it.
librdf_iterator_end

Test if the iterator has finished.
librdf_node_get_li_ordinal

Get the node li object ordinal value.
librdf_new_model_from_model

Copy constructor - create a new librdf_model from an existing one.
librdf_version_major

Library major version number as a decimal integer.
librdf_free_stream

Destructor - destroy an libdf_stream object.
getTermType

Return the redland node type for the specified RDF term in a statement
librdf_version_string

Library full version as a string.
librdf_model_load

Load content from a URI into the model.
librdf_free_node

Destructor - destroy an librdf_node object.
librdf_model_add_statement

Add a statement to the model.
librdf_new_storage_from_storage

Copy constructor - create a new librdf_storage object from an existing one
librdf_serializer_get_feature

Get the value of a serializer feature.
length,SWIGArray-method

Return length of a SWIGArray
librdf_new_query

Constructor - create a new librdf_query object.
librdf_query_get_limit

Get the query-specified limit on results.
rasqal_version_release

Rasqal release version number.
initialize,Statement-method

Construct a Statement object.
librdf_new_node

Constructor - create a new librdf_node object with a private identifier.
rasqal_version_minor_get

Get the Rasqal minor version number.
librdf_new_statement_from_nodes

Constructor - create a new librdf_statement from existing librdf_node objects.
librdf_query_results_get_binding_value_by_name

Get one binding value for a given name in the current result.
librdf_short_copyright_string_get

Return Redland librdf copyright string
librdf_version_release

Library release version number as a decimal integer.
[<-,ExternalReference-method

Assign values in a list of ExternalReferences
Parser-class

An RDF Parser object
librdf_short_copyright_string

Short copyright string (one line).
librdf_version_string_get

Return the Redland librdf version as a string.
librdf_stream_get_context

Get the context of the current object on the stream.
Statement-class

An RDF Statement object
librdf_free_query

Destructor - destroy a librdf_query object.
librdf_statement_get_subject

Get the statement subject.
freeQuery

Free memory used by a librdf query
raptor_version_minor

Raptor library minor version.
setQueryResultLimit

Set limit on returned query results
librdf_model_context_add_statements

Add statements to a model with a context.
librdf_statement_get_predicate

Get the statement predicate.
rasqal_version_major

Rasqal major version number.
serializeToFile

Serialize a model to a file.
librdf_model_has_arc_in

Check if a node has a given property pointing to it.
librdf_model_get_feature

Get the value of a graph feature .
redland

Create, query and write RDF graphs.
librdf_model_transaction_start

Start a transaction
getQueryResultLimit

Get the query result limit
[,ExternalReference-method

Subset a list of ExternalReferences
freeSerializer

Free memory used by a librdf serializer.
librdf_version_minor

Library minor version number as a decimal integer.
librdf_model_get_arcs_in

Return the properties pointing to the given resource.
librdf_query_results_get_bindings_count

Get the number of bound variables in the result.
rasqal_version_decimal_get

Get the Rasqal version as a decimal number.
freeParser

Free memory used by a librdf parser
librdf_free_storage

Destructor - destroy a librdf_storage object.
rasqal_version_decimal

Rasqal version as a decimal number.
librdf_new_node_from_normalised_uri_string

Constructor - create a new librdf_node object from a UTF-8 encoded URI string normalised to a new base URI.
librdf_statement_to_string

Format the librdf_statement as a string.
librdf_model_context_remove_statement

Remove a statement from a model in a context.
librdf_free_query_results

Destructor - destroy a librdf_query_results object.
rasqal_version_minor

Rasqal minor version number.
librdf_model_transaction_rollback

Rollback a transaction.
librdf_world_set_feature

Set the value of a world feature.
librdf_node_get_literal_value_is_wf_xml

Get the XML well-formness property of the node.
librdf_model_get_source

Return one source (subject) of arc in an RDF graph given arc (predicate) and target (object).
rasqal_version_string_get

Get the Rasqal version as a string
raptor_version_decimal_get

Raptor version as a decimal number.
librdf_new_world

Create a new Redland execution environment.
librdf_new_model_with_options

Constructor - Create a new librdf_model with storage.
librdf_parser_get_feature

Get the value of a parser feature.
librdf_query_results_finished

Find out if binding results are exhausted.
librdf_node_get_uri

Get the URI for a node object.
roc_process.mergeNamespace

Roxygen process function for the 'mergeNamespace' roclet
librdf_free_parser

Destructor - destroys a librdf_parser object.
librdf_statement_match

Match a statement against a 'partial' statement.
librdf_model_get_arc

Return one arc (predicate) of an arc in an RDF graph given source (subject) and target (object).
librdf_log_message_level

Retrieve severity of log message.
librdf_node_is_resource

Check node is a resource.
librdf_world_open

Open a created redland world environment.
raptor_version_decimal

Raptor version as a decimal number
librdf_query_execute

Run the query on a model.
librdf_new_node_from_uri

Constructor - create a new resource librdf_node object with a given URI.
librdf_model_context_remove_statements

Remove statements from a model with the given context.
librdf_query_results_is_graph

Test if librdf_query_results is RDF graph format.
librdf_model_set_feature

Set the value of a graph feature.
librdf_query_get_offset

Get the query-specified offset on results.
librdf_uri_to_string

Format the URI as a string.
librdf_parser_get_namespaces_seen_prefix

Get the prefix of namespaces seen during parsing
librdf_query_results_to_string2

Turn a query results into a string.
librdf_parser_parse_counted_string_into_model

Parse a counted string of content into an librdf_model.
librdf_serializer_set_namespace

Set a namespace URI/prefix mapping.
rasqal_version_release_get

Get the Rasqal release version number.
librdf_statement_set_predicate

Set the statement predicate.
librdf_version_minor_get

Return the Redland librdf minor version number
setNameSpace

Set a namespace for the serializer.
librdf_stream_next

Move to the next librdf_statement in the stream.
librdf_new_serializer

Constructor - create a new librdf_serializer object.
librdf_version_decimal

Library full version as a decimal integer.
raptor_locator_byte

Get the locator byte offset from locator.
librdf_statement_equals

Check if two statements are equal.
raptor_locator_file

Get file name from locator.
raptor_version_major_get

Get Raptor library major version
raptor_version_minor_get

Get Raptor library minor version.
raptor_locator_uri

Get URI from locator.
roc_output.mergeNamespace

Roxygen output function that merges a base NAMESPACE file with the Roxygen dynamically created NAMSPACE file
librdf_uri_equals

Compare two librdf_uri objects for equality.
raptor_version_major

Raptor library major version
librdf_version_major_get

Return the Redland librdf major version number
raptor_locator_line

Get line number from locator.
raptor_version_release_get

Raptor library release.
serializeToCharacter

Serialize a model to a character vector.
rasqal_version_string

Rasqal version as a string
parseFileIntoModel

Parse the contents of a file into a model
Node-class

A Redland Node, used to store one node in an RDF triple statement.
initialize,Parser-method

Initialize a Parser object.
librdf_iterator_get_object

Get the current object from the iterator.
librdf_model_add_typed_literal_statement

Create and add a new statement about a typed literal to the model.
librdf_model_get_arcs

Return the arcs (predicates) of an arc in an RDF graph given source (subject) and target (object).
librdf_new_statement_from_statement

Copy constructor - create a new librdf_statement from an existing librdf_statement. Creates a deep copy - changes to original statement nodes are not reflected in the copy.
librdf_node_get_literal_value_datatype_uri

Get the typed literal datatype URI of the literal node.
librdf_parser_get_namespaces_seen_uri

Get the uri of namespaces seen during parsing
librdf_serializer_check_name

Check if a serializer name is known
raptor_version_string_get

Get Raptor library version string.