EasyRdf API Documentation
Index
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

EasyRdf_Collection::append() — Method in class EasyRdf_Collection
Append an item to the end of the collection
EasyRdf_Container::append() — Method in class EasyRdf_Container
Append an item to the end of the container
EasyRdf_Graph::all() — Method in class EasyRdf_Graph
Get all values for a property path
EasyRdf_Graph::allLiterals() — Method in class EasyRdf_Graph
Get all literal values for a property of a resource
EasyRdf_Graph::allResources() — Method in class EasyRdf_Graph
Get all resources for a property of a resource
EasyRdf_Graph::allOfType() — Method in class EasyRdf_Graph
Get all the resources in the graph of a certain type
EasyRdf_Graph::add() — Method in class EasyRdf_Graph
Add data to the graph
EasyRdf_Graph::addLiteral() — Method in class EasyRdf_Graph
Add a literal value as a property of a resource
EasyRdf_Graph::addResource() — Method in class EasyRdf_Graph
Add a resource as a property of another resource
EasyRdf_Graph::addType() — Method in class EasyRdf_Graph
Add one or more rdf:type properties to a resource
EasyRdf_Http_Response::asString() — Method in class EasyRdf_Http_Response
Get the entire response as string
EasyRdf_Resource::add() — Method in class EasyRdf_Resource
Add values to for a property of the resource
EasyRdf_Resource::addLiteral() — Method in class EasyRdf_Resource
Add a literal value as a property of the resource
EasyRdf_Resource::addResource() — Method in class EasyRdf_Resource
Add a resource as a property of the resource
EasyRdf_Resource::all() — Method in class EasyRdf_Resource
Get all values for a property
EasyRdf_Resource::allLiterals() — Method in class EasyRdf_Resource
Get all literal values for a property of the resource
EasyRdf_Resource::allResources() — Method in class EasyRdf_Resource
Get all resources for a property of the resource
EasyRdf_Resource::addType() — Method in class EasyRdf_Resource
Add one or more rdf:type properties to the resource

B

EasyRdf_Isomorphic::bijectionBetween() — Method in class EasyRdf_Isomorphic
Returns an associative array of bnode identifiers representing an isomorphic bijection of one EasyRdfGraph to another EasyRdfGraph's blank nodes or null if a bijection cannot be found.

C

EasyRdf_Collection::current() — Method in class EasyRdf_Collection
Return the current item in the collection
EasyRdf_Collection::count() — Method in class EasyRdf_Collection
Counts the number of items in the collection
EasyRdf_Container::current() — Method in class EasyRdf_Container
Return the current item in the container
EasyRdf_Container::count() — Method in class EasyRdf_Container
Counts the number of items in the container
EasyRdf_Graph::countValues() — Method in class EasyRdf_Graph
Count the number of values for a property of a resource
EasyRdf_Graph::countTriples() — Method in class EasyRdf_Graph
Calculates the number of triples in the graph
EasyRdf_Literal::create() — Method in class EasyRdf_Literal
Create a new literal object
EasyRdf_Literal_Decimal::canonicalise() — Method in class EasyRdf_Literal_Decimal
Converts valid xsd:decimal literal to Canonical representation see http://www.w3.org/TR/xmlschema-2/#decimal
EasyRdf_Resource::countValues() — Method in class EasyRdf_Resource
Count the number of values for a property of a resource
EasyRdf_Sparql_Client::countTriples() — Method in class EasyRdf_Sparql_Client
Count the number of triples in a SPARQL 1.1 endpoint
EasyRdf_Sparql_Client::clear() — Method in class EasyRdf_Sparql_Client
EasyRdf_Utils::camelise() — Method in class EasyRdf_Utils
Convert a string into CamelCase

D

EasyRdf_Graph::delete() — Method in class EasyRdf_Graph
Delete a property (or optionally just a specific value)
EasyRdf_Graph::deleteSingleProperty() — Method in class EasyRdf_Graph
Delete a property (or optionally just a specific value)
EasyRdf_Graph::deleteResource() — Method in class EasyRdf_Graph
Delete a resource from a property of another resource
EasyRdf_Graph::deleteLiteral() — Method in class EasyRdf_Graph
Delete a literal value from a property of a resource
EasyRdf_Graph::dump() — Method in class EasyRdf_Graph
Return a human readable view of all the resources in the graph
EasyRdf_Graph::dumpResource() — Method in class EasyRdf_Graph
Return a human readable view of a resource and its properties
EasyRdf_GraphStore::delete() — Method in class EasyRdf_GraphStore
Delete named graph content from the graph store
EasyRdf_GraphStore::deleteDefault() — Method in class EasyRdf_GraphStore
Delete default graph content from the graph store
EasyRdf_Http_Response::decodeChunkedBody() — Method in class EasyRdf_Http_Response
Decode a "chunked" transfer-encoded body and return the decoded text
EasyRdf_Literal::deleteDatatypeMapping() — Method in class EasyRdf_Literal
Remove the mapping between an RDF datatype and a PHP class name
EasyRdf_Literal::dumpValue() — Method in class EasyRdf_Literal
Return pretty-print view of the literal
EasyRdf_Literal_Date::day() — Method in class EasyRdf_Literal_Date
Integer representation of the day of the month
EasyRdf_Literal_XML::domParse() — Method in class EasyRdf_Literal_XML
Parse the XML literal into a DOMDocument
EasyRdf_Namespace::delete() — Method in class EasyRdf_Namespace
Delete an existing namespace.
$EasyRdf_Parser_RdfaProperty in class EasyRdf_Parser_Rdfa
EasyRdf_Resource::dumpValue() — Method in class EasyRdf_Resource
Return pretty-print view of the resource
EasyRdf_Resource::delete() — Method in class EasyRdf_Resource
Delete a property (or optionally just a specific value)
EasyRdf_Resource::dump() — Method in class EasyRdf_Resource
Return a human readable view of the resource and its properties
EasyRdf_Sparql_Result::dump() — Method in class EasyRdf_Sparql_Result
Return a human readable view of the query result.
EasyRdf_TypeMapper::delete() — Method in class EasyRdf_TypeMapper
Delete an existing RDF type mapping.
EasyRdf_Utils::dumpResourceValue() — Method in class EasyRdf_Utils
Return pretty-print view of a resource URI
EasyRdf_Utils::dumpLiteralValue() — Method in class EasyRdf_Utils
Return pretty-print view of a literal

E

EasyRdf_Collection
Sub-class of EasyRdf_Resource that represents an RDF collection (rdf:List)
EasyRdf_Container
Sub-class of EasyRdf_Resource that represents an RDF container (rdf:Alt, rdf:Bag and rdf:Seq)
EasyRdf_Exception
EasyRdf Exception class
EasyRdf_Format
Class the represents an RDF file format.
EasyRdf_Graph
Container for collection of EasyRdf_Resources.
EasyRdf_GraphStore
A class for fetching, saving and deleting graphs to a Graph Store.
EasyRdf_Http
Static class to set the HTTP client used by EasyRdf
EasyRdf_Http_Client
This class is an implemetation of an HTTP client in PHP.
EasyRdf_Http_Exception
EasyRdf_Http_Response
Class that represents an HTTP 1.0 / 1.1 response message.
EasyRdf_Isomorphic
Functions for comparing two graphs with each other
EasyRdf_Literal
Class that represents an RDF Literal
EasyRdf_Literal_Boolean
Class that represents an RDF Literal of datatype xsd:boolean
EasyRdf_Literal_Date
Class that represents an RDF Literal of datatype xsd:date
EasyRdf_Literal_DateTime
Class that represents an RDF Literal of datatype xsd:dateTime
EasyRdf_Literal_Decimal
Class that represents an RDF Literal of datatype xsd:decimal
EasyRdf_Literal_HTML
Class that represents an RDF Literal of datatype rdf:HTML
EasyRdf_Literal_HexBinary
Class that represents an RDF Literal of datatype xsd:hexBinary
EasyRdf_Literal_Integer
Class that represents an RDF Literal of datatype xsd:integer
EasyRdf_Literal_XML
Class that represents an RDF Literal of datatype rdf:XMLLiteral
EasyRdf_Namespace
A namespace registry and manipulation class.
EasyRdf_Namespace::expand() — Method in class EasyRdf_Namespace
Expand a shortened URI (qname) back into a full URI.
EasyRdf_ParsedUri
A RFC3986 compliant URI parser
EasyRdf_Parser
Parent class for the EasyRdf parsers
EasyRdf_Parser_Arc
Class to parse RDF using the ARC2 library.
EasyRdf_Parser_Exception
EasyRdf Exception class
EasyRdf_Parser_Json
A pure-php class to parse RDF/JSON with no dependancies.
EasyRdf_Parser_JsonLd
Class to parse JSON-LD to an EasyRdf_Graph
EasyRdf_Parser_Ntriples
A pure-php class to parse N-Triples with no dependancies.
EasyRdf_Parser_Rapper
Class to parse RDF using the 'rapper' command line tool.
EasyRdf_Parser_RdfPhp
Class to parse RDF with no external dependancies.
EasyRdf_Parser_RdfXml
A pure-php class to parse RDF/XML.
EasyRdf_Parser_Rdfa
Class to parse RDFa 1.1 with no external dependancies.
EasyRdf_Parser_Redland
Class to parse RDF using Redland (librdf) C library.
EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.
EasyRdf_Resource
Class that represents an RDF resource
EasyRdf_Serialiser
Parent class for the EasyRdf serialiser
EasyRdf_Serialiser_Arc
Class to serialise RDF using the ARC2 library.
EasyRdf_Serialiser_GraphViz
Class to serialise an EasyRdf_Graph to GraphViz
EasyRdf_Serialiser_Json
Class to serialise an EasyRdf_Graph to RDF/JSON with no external dependancies.
EasyRdf_Serialiser_JsonLd
Class to serialise an EasyRdf_Graph to JSON-LD
EasyRdf_Serialiser_Ntriples
Class to serialise an EasyRdf_Graph to N-Triples with no external dependancies.
EasyRdf_Serialiser_Rapper
Class to serialise an EasyRdf_Graph to RDF using the 'rapper' command line tool.
EasyRdf_Serialiser_RdfPhp
Class to serialise an EasyRdf_Graph to RDF/PHP with no external dependancies.
EasyRdf_Serialiser_RdfXml
Class to serialise an EasyRdf_Graph to RDF/XML with no external dependancies.
EasyRdf_Serialiser_Turtle
Class to serialise an EasyRdf_Graph to Turtle with no external dependancies.
EasyRdf_Serialiser_Turtle::escapeIri() — Method in class EasyRdf_Serialiser_Turtle
Given a IRI string, escape and enclose in angle brackets.
EasyRdf_Sparql_Client
Class for making SPARQL queries using the SPARQL 1.1 Protocol
EasyRdf_Sparql_Result
Class for returned for SPARQL SELECT and ASK query responses.
EasyRdf_TypeMapper
Class to map between RDF Types and PHP Classes
EasyRdf_Utils
Class containing static utility functions
EasyRdf_Utils::execCommandPipe() — Method in class EasyRdf_Utils
Execute a command as a pipe

F

EasyRdf_Format::formatExists() — Method in class EasyRdf_Format
Check if a named graph exists
EasyRdf_Http_Response::fromString() — Method in class EasyRdf_Http_Response
Create an EasyRdfHttpResponse object from a HTTP response string
EasyRdf_Literal_Date::format() — Method in class EasyRdf_Literal_Date
Returns date formatted according to given format
EasyRdf_Literal_HexBinary::fromBinary() — Method in class EasyRdf_Literal_HexBinary
Constructor for creating a new literal object from a binary blob

G

EasyRdf_Collection::getCollectionNode() — Method in class EasyRdf_Collection
Get a node for a particular offset into the collection
EasyRdf_Format::getNames() — Method in class EasyRdf_Format
Get a list of format names
EasyRdf_Format::getFormats() — Method in class EasyRdf_Format
Get a list of all the registered formats
EasyRdf_Format::getHttpAcceptHeader() — Method in class EasyRdf_Format
Generates an HTTP Accept header string
EasyRdf_Format::getFormat() — Method in class EasyRdf_Format
Get a EasyRdf_Format from a name, uri or mime type
EasyRdf_Format::guessFormat() — Method in class EasyRdf_Format
Attempt to guess the document format from some content.
EasyRdf_Format::getName() — Method in class EasyRdf_Format
Get the name of a format object
EasyRdf_Format::getLabel() — Method in class EasyRdf_Format
Get the label for a format object
EasyRdf_Format::getUri() — Method in class EasyRdf_Format
Get the URI for a format object
EasyRdf_Format::getDefaultMimeType() — Method in class EasyRdf_Format
Get the default registered mime type for a format object
EasyRdf_Format::getMimeTypes() — Method in class EasyRdf_Format
Get all the registered mime types for a format object
EasyRdf_Format::getDefaultExtension() — Method in class EasyRdf_Format
Get the default registered file extension (filename suffix) for a format object
EasyRdf_Format::getExtensions() — Method in class EasyRdf_Format
Get all the registered file extensions (filename suffix) for a format object
EasyRdf_Format::getParserClass() — Method in class EasyRdf_Format
Get the name of the class to use to parse the format
EasyRdf_Format::getSerialiserClass() — Method in class EasyRdf_Format
Get the name of the class to use to serialise the format
EasyRdf_Graph::getUri() — Method in class EasyRdf_Graph
Get the URI of the graph
EasyRdf_Graph::get() — Method in class EasyRdf_Graph
Get a single value for a property of a resource
EasyRdf_Graph::getLiteral() — Method in class EasyRdf_Graph
Get a single literal value for a property of a resource
EasyRdf_Graph::getResource() — Method in class EasyRdf_Graph
Get a single resource value for a property of a resource
EasyRdf_GraphStore::getUri() — Method in class EasyRdf_GraphStore
Get the URI of the graph store
EasyRdf_GraphStore::get() — Method in class EasyRdf_GraphStore
Fetch a named graph from the graph store
EasyRdf_GraphStore::getDefault() — Method in class EasyRdf_GraphStore
Fetch default graph from the graph store
EasyRdf_Http::getDefaultHttpClient() — Method in class EasyRdf_Http
Get the HTTP Client object used to fetch RDF data
EasyRdf_Http_Client::getUri() — Method in class EasyRdf_Http_Client
Get the URI for the next request
EasyRdf_Http_Client::getMethod() — Method in class EasyRdf_Http_Client
Get the method for the next request
EasyRdf_Http_Client::getHeader() — Method in class EasyRdf_Http_Client
Get the value of a specific header
EasyRdf_Http_Client::getParameterGet() — Method in class EasyRdf_Http_Client
Get a GET parameter for the request.
EasyRdf_Http_Client::getParametersGet() — Method in class EasyRdf_Http_Client
Get all the GET parameters
EasyRdf_Http_Client::getRedirectionsCount() — Method in class EasyRdf_Http_Client
Get the number of redirections done on the last request
EasyRdf_Http_Client::getRawData() — Method in class EasyRdf_Http_Client
Get the raw (already encoded) POST data.
EasyRdf_Http_Exception::getBody() — Method in class EasyRdf_Http_Exception
EasyRdf_Http_Response::getStatus() — Method in class EasyRdf_Http_Response
Get the HTTP response status code
EasyRdf_Http_Response::getMessage() — Method in class EasyRdf_Http_Response
Return a message describing the HTTP response code (Eg.
EasyRdf_Http_Response::getBody() — Method in class EasyRdf_Http_Response
Get the response body as string
EasyRdf_Http_Response::getRawBody() — Method in class EasyRdf_Http_Response
Get the raw response body (as transfered "on wire") as string
EasyRdf_Http_Response::getVersion() — Method in class EasyRdf_Http_Response
Get the HTTP version of the response
EasyRdf_Http_Response::getHeaders() — Method in class EasyRdf_Http_Response
Get the response headers
EasyRdf_Http_Response::getHeader() — Method in class EasyRdf_Http_Response
Get a specific header as string, or null if it is not set
EasyRdf_Http_Response::getHeadersAsString() — Method in class EasyRdf_Http_Response
Get all headers as string
EasyRdf_Literal::getDatatypeForValue() — Method in class EasyRdf_Literal
Get datatype URI for a PHP value.
EasyRdf_Literal::getValue() — Method in class EasyRdf_Literal
Returns the value of the literal.
EasyRdf_Literal::getDatatypeUri() — Method in class EasyRdf_Literal
Returns the full datatype URI of the literal.
EasyRdf_Literal::getDatatype() — Method in class EasyRdf_Literal
Returns the shortened datatype URI of the literal.
EasyRdf_Literal::getLang() — Method in class EasyRdf_Literal
Returns the language of the literal.
EasyRdf_Literal_Boolean::getValue() — Method in class EasyRdf_Literal_Boolean
Return the value of the literal cast to a PHP bool
EasyRdf_Literal_Date::getValue() — Method in class EasyRdf_Literal_Date
Returns the date as a PHP DateTime object
EasyRdf_Literal_Decimal::getValue() — Method in class EasyRdf_Literal_Decimal
Return the value of the literal cast to a PHP string
EasyRdf_Literal_Integer::getValue() — Method in class EasyRdf_Literal_Integer
Return the value of the literal cast to a PHP int
EasyRdf_Namespace::get() — Method in class EasyRdf_Namespace
Return a namespace given its prefix.
EasyRdf_Namespace::getDefault() — Method in class EasyRdf_Namespace
Get the default namespace
EasyRdf_ParsedUri::getScheme() — Method in class EasyRdf_ParsedUri
Returns the scheme of the URI (e.g.
EasyRdf_ParsedUri::getAuthority() — Method in class EasyRdf_ParsedUri
Returns the authority of the URI (e.g.
EasyRdf_ParsedUri::getPath() — Method in class EasyRdf_ParsedUri
Returns the path of the URI (e.g.
EasyRdf_ParsedUri::getQuery() — Method in class EasyRdf_ParsedUri
Returns the query string part of the URI (e.g.
EasyRdf_ParsedUri::getFragment() — Method in class EasyRdf_ParsedUri
Returns the fragment part of the URI (i.e.
EasyRdf_Parser_Exception::getParserLine() — Method in class EasyRdf_Parser_Exception
EasyRdf_Parser_Exception::getParserColumn() — Method in class EasyRdf_Parser_Exception
EasyRdf_Resource::getGraph() — Method in class EasyRdf_Resource
Return the graph that this resource belongs to
EasyRdf_Resource::getUri() — Method in class EasyRdf_Resource
Returns the URI for the resource.
EasyRdf_Resource::getBNodeId() — Method in class EasyRdf_Resource
Get the identifier for a blank node
EasyRdf_Resource::get() — Method in class EasyRdf_Resource
Get a single value for a property
EasyRdf_Resource::getLiteral() — Method in class EasyRdf_Resource
Get a single literal value for a property of the resource
EasyRdf_Resource::getResource() — Method in class EasyRdf_Resource
Get a single resource value for a property of the resource
EasyRdf_Serialiser_GraphViz::getDotCommand() — Method in class EasyRdf_Serialiser_GraphViz
Get the path to the GraphViz 'dot' command
EasyRdf_Serialiser_GraphViz::getUseLabels() — Method in class EasyRdf_Serialiser_GraphViz
Get the state of the use labels option
EasyRdf_Serialiser_GraphViz::getOnlyLabelled() — Method in class EasyRdf_Serialiser_GraphViz
Get the state of the only Only Labelled option
EasyRdf_Serialiser_GraphViz::getAttribute() — Method in class EasyRdf_Serialiser_GraphViz
Get an attribute of the GraphViz graph
EasyRdf_Sparql_Client::getQueryUri() — Method in class EasyRdf_Sparql_Client
Get the URI of the SPARQL query endpoint
EasyRdf_Sparql_Client::getUpdateUri() — Method in class EasyRdf_Sparql_Client
Get the URI of the SPARQL update endpoint
EasyRdf_Sparql_Client::getUri() — Method in class EasyRdf_Sparql_Client
EasyRdf_Sparql_Result::getType() — Method in class EasyRdf_Sparql_Result
Get the query result type (boolean/bindings)
EasyRdf_Sparql_Result::getBoolean() — Method in class EasyRdf_Sparql_Result
Return the boolean value of the query result
EasyRdf_Sparql_Result::getFields() — Method in class EasyRdf_Sparql_Result
Get the field names in a query result of type bindings.
EasyRdf_TypeMapper::get() — Method in class EasyRdf_TypeMapper
Get the registered class for an RDF type

H

EasyRdf_Graph::hasProperty() — Method in class EasyRdf_Graph
Check to see if a property exists for a resource.
EasyRdf_Literal_DateTime::hour() — Method in class EasyRdf_Literal_DateTime
24-hour format of the hour as an integer
EasyRdf_Resource::htmlLink() — Method in class EasyRdf_Resource
Generates an HTML anchor tag, linking to this resource.
EasyRdf_Resource::hasProperty() — Method in class EasyRdf_Resource
Check to see if a property exists for this resource.

I

EasyRdf_Graph::isEmpty() — Method in class EasyRdf_Graph
Check if the graph contains any statements
EasyRdf_Graph::isA() — Method in class EasyRdf_Graph
Check if a resource is of the specified type
EasyRdf_GraphStore::insert() — Method in class EasyRdf_GraphStore
Add data to a graph in the graph store
EasyRdf_GraphStore::insertIntoDefault() — Method in class EasyRdf_GraphStore
Add data to default graph of the graph store
EasyRdf_Http_Response::isSuccessful() — Method in class EasyRdf_Http_Response
Check whether the response in successful
EasyRdf_Http_Response::isError() — Method in class EasyRdf_Http_Response
Check whether the response is an error
EasyRdf_Http_Response::isRedirect() — Method in class EasyRdf_Http_Response
Check whether the response is a redirection
EasyRdf_Isomorphic::isomorphic() — Method in class EasyRdf_Isomorphic
Check if one graph is isomorphic (equal) to another graph
EasyRdf_Literal_Boolean::isTrue() — Method in class EasyRdf_Literal_Boolean
Return true if the value of the literal is 'true' or '1'
EasyRdf_Literal_Boolean::isFalse() — Method in class EasyRdf_Literal_Boolean
Return true if the value of the literal is 'false' or '0'
EasyRdf_ParsedUri::isAbsolute() — Method in class EasyRdf_ParsedUri
Returns true if this is an absolute (complete) URI
EasyRdf_ParsedUri::isRelative() — Method in class EasyRdf_ParsedUri
Returns true if this is an relative (partial) URI
EasyRdf_Parser_Turtle::isWhitespace() — Method in class EasyRdf_Parser_Turtle
Returns true if $c is a whitespace character
EasyRdf_Parser_Turtle::isPrefixStartChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle::isNameStartChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle::isNameChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle::isLocalEscapedChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle::isPrefixChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle::isLanguageStartChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle::isLanguageChar() — Method in class EasyRdf_Parser_Turtle
EasyRdf_Resource::isBNode() — Method in class EasyRdf_Resource
Check to see if a resource is a blank node.
EasyRdf_Resource::isA() — Method in class EasyRdf_Resource
Check if a resource is of the specified type
EasyRdf_Sparql_Client::insert() — Method in class EasyRdf_Sparql_Client
EasyRdf_Sparql_Result::isTrue() — Method in class EasyRdf_Sparql_Result
Return true if the result of the query was true.
EasyRdf_Sparql_Result::isFalse() — Method in class EasyRdf_Sparql_Result
Return false if the result of the query was false.
EasyRdf_Utils::isAssociativeArray() — Method in class EasyRdf_Utils
Check if something is an associative array

J

EasyRdf_Graph::join() — Method in class EasyRdf_Graph
Concatenate all values for a property of a resource into a string.
EasyRdf_Resource::join() — Method in class EasyRdf_Resource
Concatenate all values for a property into a string.

K

EasyRdf_Collection::key() — Method in class EasyRdf_Collection
Return the key / current position in the collection
EasyRdf_Container::key() — Method in class EasyRdf_Container
Return the key / current position in the container

L

EasyRdf_Graph::load() — Method in class EasyRdf_Graph
Load RDF data into the graph from a URI.
EasyRdf_Graph::label() — Method in class EasyRdf_Graph
Get a human readable label for a resource
EasyRdf_Resource::localName() — Method in class EasyRdf_Resource
Gets the local name of the URI of this resource
EasyRdf_Resource::load() — Method in class EasyRdf_Resource
Perform a load (download of remote URI) of the resource into the graph
EasyRdf_Resource::label() — Method in class EasyRdf_Resource
Get a human readable label for this resource
EasyRdf_Sparql_Client::listNamedGraphs() — Method in class EasyRdf_Sparql_Client
Get a list of named graphs from a SPARQL 1.1 endpoint

M

EasyRdf_Literal_Date::month() — Method in class EasyRdf_Literal_Date
Integer representation of the month
EasyRdf_Literal_DateTime::min() — Method in class EasyRdf_Literal_DateTime
The minutes pasts the hour as an integer

N

EasyRdf_Collection::next() — Method in class EasyRdf_Collection
Move forward to next item in the collection
EasyRdf_Container::next() — Method in class EasyRdf_Container
Move forward to next item in the container
EasyRdf_Format::newParser() — Method in class EasyRdf_Format
Create a new parser to parse this format
EasyRdf_Format::newSerialiser() — Method in class EasyRdf_Format
Create a new serialiser to parse this format
EasyRdf_Graph::newAndLoad() — Method in class EasyRdf_Graph
Create a new graph and load RDF data from a URI into it
EasyRdf_Graph::newBNode() — Method in class EasyRdf_Graph
Create a new blank node in the graph and return it.
EasyRdf_Graph::newBNodeId() — Method in class EasyRdf_Graph
Create a new unique blank node identifier and return it.
EasyRdf_Namespace::namespaces() — Method in class EasyRdf_Namespace
Return all the namespaces registered
EasyRdf_ParsedUri::normalise() — Method in class EasyRdf_ParsedUri
Normalises the path of this URI if it has one.
EasyRdf_Sparql_Result::numFields() — Method in class EasyRdf_Sparql_Result
Return the number of fields in a query result of type bindings.
EasyRdf_Sparql_Result::numRows() — Method in class EasyRdf_Sparql_Result
Return the number of rows in a query result of type bindings.

O

EasyRdf_Collection::offsetExists() — Method in class EasyRdf_Collection
Array Access: check if a position exists in collection using array syntax
EasyRdf_Collection::offsetGet() — Method in class EasyRdf_Collection
Array Access: get an item at a specified position in collection using array syntax
EasyRdf_Collection::offsetSet() — Method in class EasyRdf_Collection
Array Access: set an item at a positon in collection using array syntax
EasyRdf_Collection::offsetUnset() — Method in class EasyRdf_Collection
Array Access: delete an item at a specific postion using array syntax
EasyRdf_Container::offsetExists() — Method in class EasyRdf_Container
Array Access: check if a position exists in container using array syntax
EasyRdf_Container::offsetGet() — Method in class EasyRdf_Container
Array Access: get an item at a specified position in container using array syntax
EasyRdf_Container::offsetSet() — Method in class EasyRdf_Container
Array Access: set an item at a positon in container using array syntax
EasyRdf_Container::offsetUnset() — Method in class EasyRdf_Container
Array Access: delete an item at a specific postion using array syntax

P

EasyRdf_Graph::parse() — Method in class EasyRdf_Graph
Parse some RDF data into the graph object.
EasyRdf_Graph::parseFile() — Method in class EasyRdf_Graph
Parse a file containing RDF data into the graph object.
EasyRdf_Graph::properties() — Method in class EasyRdf_Graph
Get a list of all the shortened property names (qnames) for a resource.
EasyRdf_Graph::propertyUris() — Method in class EasyRdf_Graph
Get a list of the full URIs for the properties of a resource.
EasyRdf_Graph::primaryTopic() — Method in class EasyRdf_Graph
Get the primary topic of the graph
EasyRdf_Literal_Date::parse() — Method in class EasyRdf_Literal_Date
Parses a string using DateTime and creates a new literal
EasyRdf_Literal_DateTime::parse() — Method in class EasyRdf_Literal_DateTime
Parses a string using DateTime and creates a new literal
EasyRdf_Namespace::prefixOfUri() — Method in class EasyRdf_Namespace
Return the prefix namespace that a URI belongs to.
EasyRdf_Parser::parse() — Method in class EasyRdf_Parser
Sub-classes must follow this protocol
EasyRdf_Parser_Arc::parse() — Method in class EasyRdf_Parser_Arc
Parse an RDF document into an EasyRdf_Graph
EasyRdf_Parser_Json::parse() — Method in class EasyRdf_Parser_Json
Parse RDF/JSON into an EasyRdf_Graph
EasyRdf_Parser_JsonLd::parse() — Method in class EasyRdf_Parser_JsonLd
Parse a JSON-LD document into an EasyRdf_Graph
EasyRdf_Parser_Ntriples::parse() — Method in class EasyRdf_Parser_Ntriples
Parse an N-Triples document into an EasyRdf_Graph
EasyRdf_Parser_Rapper::parse() — Method in class EasyRdf_Parser_Rapper
Parse an RDF document into an EasyRdf_Graph
EasyRdf_Parser_RdfPhp::parse() — Method in class EasyRdf_Parser_RdfPhp
Parse RDF/PHP into an EasyRdf_Graph
EasyRdf_Parser_RdfXml::parse() — Method in class EasyRdf_Parser_RdfXml
Parse an RDF/XML document into an EasyRdf_Graph
EasyRdf_Parser_Rdfa::parse() — Method in class EasyRdf_Parser_Rdfa
Parse RDFa 1.1 into an EasyRdf_Graph
EasyRdf_Parser_Redland::parse() — Method in class EasyRdf_Parser_Redland
Parse an RDF document into an EasyRdf_Graph
EasyRdf_Parser_Turtle::parse() — Method in class EasyRdf_Parser_Turtle
Parse Turtle into an EasyRdf_Graph
EasyRdf_Resource::prefix() — Method in class EasyRdf_Resource
Get a the prefix of the namespace that this resource is part of
EasyRdf_Resource::parseUri() — Method in class EasyRdf_Resource
Parse the URI of the resource and return as a ParsedUri object
EasyRdf_Resource::propertyUris() — Method in class EasyRdf_Resource
Get a list of the full URIs for the properties of this resource.
EasyRdf_Resource::properties() — Method in class EasyRdf_Resource
Get a list of all the shortened property names (qnames) for a resource.
EasyRdf_Resource::primaryTopic() — Method in class EasyRdf_Resource
Get the primary topic of this resource.
EasyRdf_Utils::parseMimeType() — Method in class EasyRdf_Utils
Clean up and split a mime-type up into its parts

Q

EasyRdf_Serialiser_Turtle::quotedString() — Method in class EasyRdf_Serialiser_Turtle
Given a string, enclose in quotes and escape any quotes in the string.
EasyRdf_Sparql_Client::query() — Method in class EasyRdf_Sparql_Client
Make a query to the SPARQL endpoint

R

EasyRdf_Collection::rewind() — Method in class EasyRdf_Collection
Rewind the iterator back to the start of the collection
EasyRdf_Container::rewind() — Method in class EasyRdf_Container
Rewind the iterator back to the start of the container (item 1)
EasyRdf_Format::register() — Method in class EasyRdf_Format
Register a new format
EasyRdf_Format::registerParser() — Method in class EasyRdf_Format
Class method to register a parser class to a format name
EasyRdf_Format::registerSerialiser() — Method in class EasyRdf_Format
Class method to register a serialiser class to a format name
EasyRdf_Graph::resource() — Method in class EasyRdf_Graph
Get or create a resource stored in a graph
EasyRdf_Graph::resources() — Method in class EasyRdf_Graph
Get an associative array of all the resources stored in the graph.
EasyRdf_Graph::resourcesMatching() — Method in class EasyRdf_Graph
Get an arry of resources matching a certain property and optional value.
EasyRdf_Graph::reversePropertyUris() — Method in class EasyRdf_Graph
Get a list of the full URIs for the properties that point to a resource.
EasyRdf_GraphStore::replace() — Method in class EasyRdf_GraphStore
Replace the contents of a graph in the graph store with new data
EasyRdf_GraphStore::replaceDefault() — Method in class EasyRdf_GraphStore
Replace the contents of default graph in the graph store with new data
EasyRdf_Http_Client::resetParameters() — Method in class EasyRdf_Http_Client
Clear all GET and POST parameters
EasyRdf_Http_Client::request() — Method in class EasyRdf_Http_Client
Send the HTTP request and return an HTTP response object
EasyRdf_Namespace::resetNamespaces() — Method in class EasyRdf_Namespace
Resets list of namespaces to the one, which is provided by EasyRDF useful for tests, among other things
EasyRdf_Namespace::reset() — Method in class EasyRdf_Namespace
Delete the anonymous namespaces and reset the counter to 0
EasyRdf_ParsedUri::resolve() — Method in class EasyRdf_ParsedUri
Resolves a relative URI using this URI as the base URI.
EasyRdf_Resource::reversePropertyUris() — Method in class EasyRdf_Resource
Get a list of the full URIs for the properties that point to this resource.
EasyRdf_Serialiser_GraphViz::renderImage() — Method in class EasyRdf_Serialiser_GraphViz
Internal function to render a graph into an image
EasyRdf_Utils::removeFragmentFromUri() — Method in class EasyRdf_Utils
Remove the fragment from a URI (if it has one)

S

EasyRdf_Collection::seek() — Method in class EasyRdf_Collection
Seek to a specific position in the container
EasyRdf_Container::seek() — Method in class EasyRdf_Container
Seek to a specific position in the container
EasyRdf_Format::setLabel() — Method in class EasyRdf_Format
Set the label for a format object
EasyRdf_Format::setUri() — Method in class EasyRdf_Format
Set the URI for a format object
EasyRdf_Format::setMimeTypes() — Method in class EasyRdf_Format
Set the MIME Types for a format object
EasyRdf_Format::setExtensions() — Method in class EasyRdf_Format
Set the file format extensions (filename suffix) for a format object
EasyRdf_Format::setParserClass() — Method in class EasyRdf_Format
Set the parser to use for a format
EasyRdf_Format::setSerialiserClass() — Method in class EasyRdf_Format
Set the serialiser to use for a format
EasyRdf_Graph::set() — Method in class EasyRdf_Graph
Set a value for a property
EasyRdf_Graph::serialise() — Method in class EasyRdf_Graph
Serialise the graph into RDF
EasyRdf_Graph::setType() — Method in class EasyRdf_Graph
Change the rdf:type property for a resource
EasyRdf_Http::setDefaultHttpClient() — Method in class EasyRdf_Http
Set the HTTP Client object used to fetch RDF data
EasyRdf_Http_Client::setUri() — Method in class EasyRdf_Http_Client
Set the URI for the next request
EasyRdf_Http_Client::setConfig() — Method in class EasyRdf_Http_Client
Set configuration parameters for this HTTP client
EasyRdf_Http_Client::setHeaders() — Method in class EasyRdf_Http_Client
Set a request header
EasyRdf_Http_Client::setMethod() — Method in class EasyRdf_Http_Client
Set the next request's method
EasyRdf_Http_Client::setParameterGet() — Method in class EasyRdf_Http_Client
Set a GET parameter for the request.
EasyRdf_Http_Client::setRawData() — Method in class EasyRdf_Http_Client
Set the raw (already encoded) POST data.
EasyRdf_Literal::setDatatypeMapping() — Method in class EasyRdf_Literal
Register an RDF datatype with a PHP class name
EasyRdf_Literal_DateTime::sec() — Method in class EasyRdf_Literal_DateTime
The seconds pasts the minute as an integer
EasyRdf_Literal_HTML::stripTags() — Method in class EasyRdf_Literal_HTML
Strip the HTML tags from the literal
EasyRdf_Namespace::set() — Method in class EasyRdf_Namespace
Register a new namespace.
EasyRdf_Namespace::setDefault() — Method in class EasyRdf_Namespace
Set the default namespace
EasyRdf_Namespace::splitUri() — Method in class EasyRdf_Namespace
Try and breakup a URI into a prefix and local part
EasyRdf_Namespace::shorten() — Method in class EasyRdf_Namespace
Shorten a URI by substituting in the namespace prefix.
EasyRdf_ParsedUri::setScheme() — Method in class EasyRdf_ParsedUri
Sets the scheme of the URI (e.g.
EasyRdf_ParsedUri::setAuthority() — Method in class EasyRdf_ParsedUri
Sets the authority of the URI (e.g.
EasyRdf_ParsedUri::setPath() — Method in class EasyRdf_ParsedUri
Set the path of the URI (e.g.
EasyRdf_ParsedUri::setQuery() — Method in class EasyRdf_ParsedUri
Set the query string of the URI (e.g.
EasyRdf_ParsedUri::setFragment() — Method in class EasyRdf_ParsedUri
Set the fragment of the URI (i.e.
EasyRdf_Resource::shorten() — Method in class EasyRdf_Resource
Get a shortened version of the resources URI.
EasyRdf_Resource::set() — Method in class EasyRdf_Resource
Set value for a property
EasyRdf_Resource::setType() — Method in class EasyRdf_Resource
Change the rdf:type property for the resource
EasyRdf_Serialiser::serialise() — Method in class EasyRdf_Serialiser
Sub-classes must follow this protocol
EasyRdf_Serialiser_Arc::serialise() — Method in class EasyRdf_Serialiser_Arc
Serialise an EasyRdf_Graph into RDF format of choice.
EasyRdf_Serialiser_GraphViz::setDotCommand() — Method in class EasyRdf_Serialiser_GraphViz
Set the path to the GraphViz 'dot' command
EasyRdf_Serialiser_GraphViz::setUseLabels() — Method in class EasyRdf_Serialiser_GraphViz
Turn on/off the option to display labels instead of URIs.
EasyRdf_Serialiser_GraphViz::setOnlyLabelled() — Method in class EasyRdf_Serialiser_GraphViz
Turn on/off the option to only display nodes and edges with labels
EasyRdf_Serialiser_GraphViz::setAttribute() — Method in class EasyRdf_Serialiser_GraphViz
Set an attribute on the GraphViz graph
EasyRdf_Serialiser_GraphViz::serialise() — Method in class EasyRdf_Serialiser_GraphViz
Serialise an EasyRdf_Graph into a GraphViz dot document.
EasyRdf_Serialiser_Json::serialise() — Method in class EasyRdf_Serialiser_Json
Method to serialise an EasyRdf_Graph to RDF/JSON
EasyRdf_Serialiser_JsonLd::serialise() — Method in class EasyRdf_Serialiser_JsonLd
EasyRdf_Serialiser_Ntriples::serialiseValue() — Method in class EasyRdf_Serialiser_Ntriples
Serialise an RDF value into N-Triples
EasyRdf_Serialiser_Ntriples::serialise() — Method in class EasyRdf_Serialiser_Ntriples
Serialise an EasyRdf_Graph into N-Triples
EasyRdf_Serialiser_Rapper::serialise() — Method in class EasyRdf_Serialiser_Rapper
Serialise an EasyRdf_Graph to the RDF format of choice.
EasyRdf_Serialiser_RdfPhp::serialise() — Method in class EasyRdf_Serialiser_RdfPhp
Method to serialise an EasyRdf_Graph to RDF/PHP
EasyRdf_Serialiser_RdfXml::serialise() — Method in class EasyRdf_Serialiser_RdfXml
Method to serialise an EasyRdf_Graph to RDF/XML
EasyRdf_Serialiser_Turtle::serialiseResource() — Method in class EasyRdf_Serialiser_Turtle
Given a an EasyRdf_Resource or URI, convert it into a string, suitable to be written to a Turtle document.
EasyRdf_Serialiser_Turtle::serialiseLiteral() — Method in class EasyRdf_Serialiser_Turtle
Given an EasyRdf_Literal object, convert it into a string, suitable to be written to a Turtle document.
EasyRdf_Serialiser_Turtle::serialiseObject() — Method in class EasyRdf_Serialiser_Turtle
Convert an EasyRdf object into a string suitable to be written to a Turtle document.
EasyRdf_Serialiser_Turtle::serialise() — Method in class EasyRdf_Serialiser_Turtle
Serialise an EasyRdf_Graph to Turtle.
EasyRdf_TypeMapper::set() — Method in class EasyRdf_TypeMapper
Register an RDF type with a PHP Class name

T

EasyRdf_Graph::type() — Method in class EasyRdf_Graph
Get the resource type of the graph
EasyRdf_Graph::typeAsResource() — Method in class EasyRdf_Graph
Get the resource type of the graph as a EasyRdf_Resource
EasyRdf_Graph::types() — Method in class EasyRdf_Graph
Get a list of types for a resource
EasyRdf_Graph::typesAsResources() — Method in class EasyRdf_Graph
Get the resource types of the graph as a EasyRdf_Resource
EasyRdf_Graph::toRdfPhp() — Method in class EasyRdf_Graph
Returns the graph as a RDF/PHP associative array
EasyRdf_Literal::toRdfPhp() — Method in class EasyRdf_Literal
Returns the properties of the literal as an associative array
EasyRdf_Literal_HexBinary::toBinary() — Method in class EasyRdf_Literal_HexBinary
Decode the hexadecimal string into a binary blob
EasyRdf_ParsedUri::toString() — Method in class EasyRdf_ParsedUri
Convert the parsed URI back into a string
EasyRdf_Resource::toRdfPhp() — Method in class EasyRdf_Resource
Returns the properties of the resource as an RDF/PHP associative array
EasyRdf_Resource::types() — Method in class EasyRdf_Resource
Get a list of types for a resource.
EasyRdf_Resource::type() — Method in class EasyRdf_Resource
Get a single type for a resource.
EasyRdf_Resource::typeAsResource() — Method in class EasyRdf_Resource
Get a single type for a resource, as a resource.
EasyRdf_Resource::typesAsResources() — Method in class EasyRdf_Resource
Get a list of types for a resource, as Resources.

U

EasyRdf_Format::unregister() — Method in class EasyRdf_Format
Remove a format from the registry
EasyRdf_Sparql_Client::update() — Method in class EasyRdf_Sparql_Client
Make an update request to the SPARQL endpoint

V

EasyRdf_Collection::valid() — Method in class EasyRdf_Collection
Checks if current position is valid
EasyRdf_Container::valid() — Method in class EasyRdf_Container
Checks if current position is valid
EasyRdf_Literal_Decimal::validate() — Method in class EasyRdf_Literal_Decimal

Y

EasyRdf_Literal_Date::year() — Method in class EasyRdf_Literal_Date
A full integer representation of the year, 4 digits

_

EasyRdf_Collection::__construct() — Method in class EasyRdf_Collection
Create a new collection - do not use this directly
EasyRdf_Container::__construct() — Method in class EasyRdf_Container
Create a new container - do not use this directly
EasyRdf_Format::__construct() — Method in class EasyRdf_Format
This constructor is for internal use only.
EasyRdf_Format::__toString() — Method in class EasyRdf_Format
Magic method to return the name of the format when casted to string
EasyRdf_Graph::__construct() — Method in class EasyRdf_Graph
Constructor
EasyRdf_Graph::__toString() — Method in class EasyRdf_Graph
Magic method to return URI of resource when casted to string
EasyRdf_Graph::__get() — Method in class EasyRdf_Graph
Magic method to get a property of the graph
EasyRdf_Graph::__set() — Method in class EasyRdf_Graph
Magic method to set the value for a property of the graph
EasyRdf_Graph::__isset() — Method in class EasyRdf_Graph
Magic method to check if a property exists
EasyRdf_Graph::__unset() — Method in class EasyRdf_Graph
Magic method to delete a property of the graph
EasyRdf_GraphStore::__construct() — Method in class EasyRdf_GraphStore
Create a new SPARQL Graph Store client
EasyRdf_GraphStore::__toString() — Method in class EasyRdf_GraphStore
Magic method to return URI of the graph store when casted to string
EasyRdf_Http_Client::__construct() — Method in class EasyRdf_Http_Client
Constructor method.
EasyRdf_Http_Exception::__construct() — Method in class EasyRdf_Http_Exception
EasyRdf_Http_Response::__construct() — Method in class EasyRdf_Http_Response
Constructor.
EasyRdf_Http_Response::__toString() — Method in class EasyRdf_Http_Response
Implements magic __toString()
EasyRdf_Literal::__construct() — Method in class EasyRdf_Literal
Constructor for creating a new literal
EasyRdf_Literal::__toString() — Method in class EasyRdf_Literal
Magic method to return the value of a literal as a string
EasyRdf_Literal_Boolean::__construct() — Method in class EasyRdf_Literal_Boolean
Constructor for creating a new boolean literal
EasyRdf_Literal_Date::__construct() — Method in class EasyRdf_Literal_Date
Constructor for creating a new date literal
EasyRdf_Literal_DateTime::__construct() — Method in class EasyRdf_Literal_DateTime
Constructor for creating a new date and time literal
EasyRdf_Literal_Decimal::__construct() — Method in class EasyRdf_Literal_Decimal
Constructor for creating a new decimal literal
EasyRdf_Literal_HTML::__construct() — Method in class EasyRdf_Literal_HTML
Constructor for creating a new rdf:HTML literal
EasyRdf_Literal_HexBinary::__construct() — Method in class EasyRdf_Literal_HexBinary
Constructor for creating a new xsd:hexBinary literal
EasyRdf_Literal_Integer::__construct() — Method in class EasyRdf_Literal_Integer
Constructor for creating a new integer literal
EasyRdf_Literal_XML::__construct() — Method in class EasyRdf_Literal_XML
Constructor for creating a new rdf:XMLLiteral literal
EasyRdf_ParsedUri::__construct() — Method in class EasyRdf_ParsedUri
Constructor for creating a new parsed URI
EasyRdf_ParsedUri::__toString() — Method in class EasyRdf_ParsedUri
Magic method to convert the URI, when casted, back to a string
EasyRdf_Parser_Arc::__construct() — Method in class EasyRdf_Parser_Arc
Constructor
EasyRdf_Parser_Exception::__construct() — Method in class EasyRdf_Parser_Exception
EasyRdf_Parser_Json::__construct() — Method in class EasyRdf_Parser_Json
Constructor
EasyRdf_Parser_Rapper::__construct() — Method in class EasyRdf_Parser_Rapper
Constructor
EasyRdf_Parser_RdfPhp::__construct() — Method in class EasyRdf_Parser_RdfPhp
Constructor
EasyRdf_Parser_RdfXml::__construct() — Method in class EasyRdf_Parser_RdfXml
Constructor
EasyRdf_Parser_Rdfa::__construct() — Method in class EasyRdf_Parser_Rdfa
Constructor
EasyRdf_Parser_Redland::__construct() — Method in class EasyRdf_Parser_Redland
Constructor
EasyRdf_Parser_Turtle::__construct() — Method in class EasyRdf_Parser_Turtle
Constructor
EasyRdf_Resource::__construct() — Method in class EasyRdf_Resource
Constructor
EasyRdf_Resource::__toString() — Method in class EasyRdf_Resource
Magic method to return URI of resource when casted to string
EasyRdf_Resource::__get() — Method in class EasyRdf_Resource
Magic method to get a property of a resource
EasyRdf_Resource::__set() — Method in class EasyRdf_Resource
Magic method to set the value for a property of a resource
EasyRdf_Resource::__isset() — Method in class EasyRdf_Resource
Magic method to check if a property exists
EasyRdf_Resource::__unset() — Method in class EasyRdf_Resource
Magic method to delete a property of the resource
EasyRdf_Serialiser::__construct() — Method in class EasyRdf_Serialiser
EasyRdf_Serialiser_Arc::__construct() — Method in class EasyRdf_Serialiser_Arc
Constructor
EasyRdf_Serialiser_GraphViz::__construct() — Method in class EasyRdf_Serialiser_GraphViz
Constructor
EasyRdf_Serialiser_JsonLd::__construct() — Method in class EasyRdf_Serialiser_JsonLd
EasyRdf_Serialiser_Rapper::__construct() — Method in class EasyRdf_Serialiser_Rapper
Constructor
EasyRdf_Sparql_Client::__construct() — Method in class EasyRdf_Sparql_Client
Create a new SPARQL endpoint client
EasyRdf_Sparql_Result::__construct() — Method in class EasyRdf_Sparql_Result
Create a new SPARQL Result object
EasyRdf_Sparql_Result::__toString() — Method in class EasyRdf_Sparql_Result
Magic method to return value of the result to string