A

Collection::append() — Method in class Collection
Append an item to the end of the collection
Container::append() — Method in class Container
Append an item to the end of the container
Graph::arrayToObject() — Method in class Graph
Get an EasyRdf\Resource or EasyRdf\Literal object from an associative array.
Graph::all() — Method in class Graph
Get all values for a property path
Graph::allForSingleProperty() — Method in class Graph
Get all values for a single property of a resource
Graph::allLiterals() — Method in class Graph
Get all literal values for a property of a resource
Graph::allResources() — Method in class Graph
Get all resources for a property of a resource
Graph::allOfType() — Method in class Graph
Get all the resources in the graph of a certain type
Graph::add() — Method in class Graph
Add data to the graph
Graph::addLiteral() — Method in class Graph
Add a literal value as a property of a resource
Graph::addResource() — Method in class Graph
Add a resource as a property of another resource
Graph::addType() — Method in class Graph
Add one or more rdf:type properties to a resource
Response::asString() — Method in class Response
Get the entire response as string
Parser::addTriple() — Method in class Parser
Add a triple to the current graph, and keep count of the number of triples
ArcClass in namespace EasyRdf\Parser
Class to parse RDF using the ARC2 library.
RdfXml::add() — Method in class RdfXml
Rdfa::addTriple() — Method in class Rdfa
Add a triple to the current graph, and keep count of the number of triples
Rdfa::addToList() — Method in class Rdfa
Resource::add() — Method in class Resource
Add values to for a property of the resource
Resource::addLiteral() — Method in class Resource
Add a literal value as a property of the resource
Resource::addResource() — Method in class Resource
Add a resource as a property of the resource
Resource::all() — Method in class Resource
Get all values for a property
Resource::allLiterals() — Method in class Resource
Get all literal values for a property of the resource
Resource::allResources() — Method in class Resource
Get all resources for a property of the resource
Resource::addType() — Method in class Resource
Add one or more rdf:type properties to the resource
Serialiser::addPrefix() — Method in class Serialiser
Keep track of the prefixes used while serialising
ArcClass in namespace EasyRdf\Serialiser
Class to serialise RDF using the ARC2 library.

B

Isomorphic::bijectionBetween() — Method in class Isomorphic
Returns an associative array of bnode identifiers representing an isomorphic bijection of one EasyRdf\Graph to another EasyRdf\Graph's blank nodes or null if a bijection cannot be found.
BooleanClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype xsd:boolean
$Parser#baseUriProperty in class Parser
The base URI for the document currently being parsed
$Turtle#bytePosProperty in class Turtle

C

CollectionClass in namespace EasyRdf
Sub-class of EasyRdf\Resource that represents an RDF collection (rdf:List)
Collection::current() — Method in class Collection
Return the current item in the collection
Collection::count() — Method in class Collection
Counts the number of items in the collection
ContainerClass in namespace EasyRdf
Sub-class of EasyRdf\Resource that represents an RDF container (rdf:Alt, rdf:Bag and rdf:Seq)
Container::current() — Method in class Container
Return the current item in the container
Container::count() — Method in class Container
Counts the number of items in the container
Graph::classForResource() — Method in class Graph
Work out the class to instantiate a resource as
Graph::checkResourceParam() — Method in class Graph
Check that a URI/resource parameter is valid, and convert it to a string
Graph::checkSinglePropertyParam() — Method in class Graph
Check that a single URI/property parameter (not a property path) is valid, and expand it if required
Graph::checkValueParam() — Method in class Graph
Check that a value parameter is valid, and convert it to an associative array if needed
Graph::countValues() — Method in class Graph
Count the number of values for a property of a resource
Graph::countTriples() — Method in class Graph
Calculates the number of triples in the graph
ClientClass in namespace EasyRdf\Http
This class is an implemetation of an HTTP client in PHP.
Literal::create() — Method in class Literal
Create a new literal object
Decimal::canonicalise() — Method in class Decimal
Converts valid xsd:decimal literal to Canonical representation see http://www.w3.org/TR/xmlschema-2/#decimal
Parser::checkParseParams() — Method in class Parser
Check, cleanup parameters and prepare for parsing
RdfXml::cdataHandler() — Method in class RdfXml
RdfXml::cdataState4() — Method in class RdfXml
RdfXml::cdataState6() — Method in class RdfXml
$Turtle#columnProperty in class Turtle
Turtle::createBNode() — Method in class Turtle
Resource::checkHasGraph() — Method in class Resource
Throw can exception if the resource does not belong to a graph
Resource::countValues() — Method in class Resource
Count the number of values for a property of a resource
Serialiser::checkSerialiseParams() — Method in class Serialiser
Check and cleanup parameters passed to serialise() method
ClientClass in namespace EasyRdf\Sparql
Class for making SPARQL queries using the SPARQL 1.1 Protocol
Client::countTriples() — Method in class Client
Count the number of triples in a SPARQL 1.1 endpoint
Client::clear() — Method in class Client
Client::convertToTriples() — Method in class Client
Utils::camelise() — Method in class Utils
Convert a string into CamelCase

D

Graph::delete() — Method in class Graph
Delete a property (or optionally just a specific value)
Graph::deleteSingleProperty() — Method in class Graph
Delete a property (or optionally just a specific value)
Graph::deleteResource() — Method in class Graph
Delete a resource from a property of another resource
Graph::deleteLiteral() — Method in class Graph
Delete a literal value from a property of a resource
Graph::deleteInverse() — Method in class Graph
This function is for internal use only.
Graph::dump() — Method in class Graph
Return a human readable view of all the resources in the graph
Graph::dumpResource() — Method in class Graph
Return a human readable view of a resource and its properties
GraphStore::delete() — Method in class GraphStore
Delete named graph content from the graph store
GraphStore::deleteDefault() — Method in class GraphStore
Delete default graph content from the graph store
Response::decodeChunkedBody() — Method in class Response
Decode a "chunked" transfer-encoded body and return the decoded text
Response::decodeGzip() — Method in class Response
Decode a gzip encoded message (when Content-encoding = gzip)
Response::decodeDeflate() — Method in class Response
Decode a zlib deflated message (when Content-encoding = deflate)
$Literal#datatypeProperty in class Literal
Literal::deleteDatatypeMapping() — Method in class Literal
Remove the mapping between an RDF datatype and a PHP class name
Literal::dumpValue() — Method in class Literal
Return pretty-print view of the literal
DateClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype xsd:date
Date::day() — Method in class Date
Integer representation of the day of the month
DateTimeClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype xsd:dateTime
DecimalClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype xsd:decimal
XML::domParse() — Method in class XML
Parse the XML literal into a DOMDocument
$Rdfa#debugProperty in class Rdfa
$Turtle#dataProperty in class Turtle
$Turtle#dataLengthProperty in class Turtle
RdfNamespace::delete() — Method in class RdfNamespace
Delete an existing namespace.
Resource::dumpValue() — Method in class Resource
Return pretty-print view of the resource
Resource::delete() — Method in class Resource
Delete a property (or optionally just a specific value)
Resource::dump() — Method in class Resource
Return a human readable view of the resource and its properties
Result::dump() — Method in class Result
Return a human readable view of the query result.
TypeMapper::delete() — Method in class TypeMapper
Delete an existing RDF type mapping.
Utils::dumpResourceValue() — Method in class Utils
Return pretty-print view of a resource URI
Utils::dumpLiteralValue() — Method in class Utils
Return pretty-print view of a literal

E

ExceptionClass in namespace EasyRdf
EasyRdf Exception class
ExceptionClass in namespace EasyRdf\Http
ExceptionClass in namespace EasyRdf\Parser
EasyRdf Exception class
RdfXml::endElementHandler() — Method in class RdfXml
RdfXml::endState1() — Method in class RdfXml
RdfXml::endState2() — Method in class RdfXml
RdfXml::endState3() — Method in class RdfXml
RdfXml::endState4() — Method in class RdfXml
RdfXml::endState5() — Method in class RdfXml
RdfXml::endState6() — Method in class RdfXml
Rdfa::expandCurie() — Method in class Rdfa
RdfNamespace::expand() — Method in class RdfNamespace
Expand a shortened URI (qname) back into a full URI.
GraphViz::escape() — Method in class GraphViz
Internal function to escape a string into DOT safe syntax
GraphViz::escapeAttributes() — Method in class GraphViz
Internal function to escape an associate array of attributes and turns it into a DOT notation string
Ntriples::escapeString() — Method in class Ntriples
Ntriples::escapedChar() — Method in class Ntriples
Turtle::escapeIri() — Method in class Turtle
Given a IRI string, escape and enclose in angle brackets.
Client::executeQuery() — Method in class Client
Build http-client object, execute request and return a response
Utils::execCommandPipe() — Method in class Utils
Execute a command as a pipe

F

FormatClass in namespace EasyRdf
Class the represents an RDF file format.
Format::formatAcceptHeader() — Method in class Format
Convert array of types to Accept header value
Format::formatExists() — Method in class Format
Check if a named graph exists
Response::fromString() — Method in class Response
Create an EasyRdf\Http\Response object from a HTTP response string
Date::format() — Method in class Date
Returns date formatted according to given format
HexBinary::fromBinary() — Method in class HexBinary
Constructor for creating a new literal object from a binary blob
$Parser#formatProperty in class Parser
The format of the document currently being parsed

G

Collection::getCollectionNode() — Method in class Collection
Get a node for a particular offset into the collection
Format::getNames() — Method in class Format
Get a list of format names
Format::getFormats() — Method in class Format
Get a list of all the registered formats
Format::getHttpAcceptHeader() — Method in class Format
Generates an HTTP Accept header string
Format::getFormat() — Method in class Format
Get a EasyRdf\Format from a name, uri or mime type
Format::guessFormat() — Method in class Format
Attempt to guess the document format from some content.
Format::getName() — Method in class Format
Get the name of a format object
Format::getLabel() — Method in class Format
Get the label for a format object
Format::getUri() — Method in class Format
Get the URI for a format object
Format::getDefaultMimeType() — Method in class Format
Get the default registered mime type for a format object
Format::getMimeTypes() — Method in class Format
Get all the registered mime types for a format object
Format::getDefaultExtension() — Method in class Format
Get the default registered file extension (filename suffix) for a format object
Format::getExtensions() — Method in class Format
Get all the registered file extensions (filename suffix) for a format object
Format::getParserClass() — Method in class Format
Get the name of the class to use to parse the format
Format::getSerialiserClass() — Method in class Format
Get the name of the class to use to serialise the format
GraphClass in namespace EasyRdf
Container for collection of EasyRdf\Resource objects.
Graph::getUri() — Method in class Graph
Get the URI of the graph
Graph::get() — Method in class Graph
Get a single value for a property of a resource
Graph::getSingleProperty() — Method in class Graph
Get a single value for a property of a resource
Graph::getLiteral() — Method in class Graph
Get a single literal value for a property of a resource
Graph::getResource() — Method in class Graph
Get a single resource value for a property of a resource
GraphStoreClass in namespace EasyRdf
A class for fetching, saving and deleting graphs to a Graph Store.
GraphStore::getUri() — Method in class GraphStore
Get the URI of the graph store
GraphStore::get() — Method in class GraphStore
Fetch a named graph from the graph store
GraphStore::getDefault() — Method in class GraphStore
Fetch default graph from the graph store
Http::getDefaultHttpClient() — Method in class Http
Get the HTTP Client object used to fetch RDF data
Client::getUri() — Method in class Client
Get the URI for the next request
Client::getMethod() — Method in class Client
Get the method for the next request
Client::getHeader() — Method in class Client
Get the value of a specific header
Client::getParameterGet() — Method in class Client
Get a GET parameter for the request.
Client::getParametersGet() — Method in class Client
Get all the GET parameters
Client::getRedirectionsCount() — Method in class Client
Get the number of redirections done on the last request
Client::getRawData() — Method in class Client
Get the raw (already encoded) POST data.
Exception::getBody() — Method in class Exception
Response::getStatus() — Method in class Response
Get the HTTP response status code
Response::getMessage() — Method in class Response
Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
Response::getBody() — Method in class Response
Get the response body as string
Response::getRawBody() — Method in class Response
Get the raw response body (as transfered "on wire") as string
Response::getVersion() — Method in class Response
Get the HTTP version of the response
Response::getHeaders() — Method in class Response
Get the response headers
Response::getHeader() — Method in class Response
Get a specific header as string, or null if it is not set
Response::getHeadersAsString() — Method in class Response
Get all headers as string
Literal::getDatatypeForValue() — Method in class Literal
Get datatype URI for a PHP value.
Literal::getValue() — Method in class Literal
Returns the value of the literal.
Literal::getDatatypeUri() — Method in class Literal
Returns the full datatype URI of the literal.
Literal::getDatatype() — Method in class Literal
Returns the shortened datatype URI of the literal.
Literal::getLang() — Method in class Literal
Returns the language of the literal.
Boolean::getValue() — Method in class Boolean
Return the value of the literal cast to a PHP bool
Date::getValue() — Method in class Date
Returns the date as a PHP DateTime object
Decimal::getValue() — Method in class Decimal
Return the value of the literal cast to a PHP string
Integer::getValue() — Method in class Integer
Return the value of the literal cast to a PHP int
ParsedUri::getScheme() — Method in class ParsedUri
Returns the scheme of the URI (e.g. http)
ParsedUri::getAuthority() — Method in class ParsedUri
Returns the authority of the URI (e.g. www.example.com:8080)
ParsedUri::getPath() — Method in class ParsedUri
Returns the path of the URI (e.g. /foo/bar)
ParsedUri::getQuery() — Method in class ParsedUri
Returns the query string part of the URI (e.g. foo=bar)
ParsedUri::getFragment() — Method in class ParsedUri
Returns the fragment part of the URI (i.e. after the #)
$Parser#graphProperty in class Parser
Exception::getParserLine() — Method in class Exception
Exception::getParserColumn() — Method in class Exception
RdfXml::getParentS() — Method in class RdfXml
RdfXml::getParentXBase() — Method in class RdfXml
RdfXml::getParentXLang() — Method in class RdfXml
Rdfa::generateList() — Method in class Rdfa
Rdfa::guessTimeDatatype() — Method in class Rdfa
Rdfa::getUriAttribute() — Method in class Rdfa
RdfNamespace::get() — Method in class RdfNamespace
Return a namespace given its prefix.
RdfNamespace::getDefault() — Method in class RdfNamespace
Get the default namespace
$Resource#graphProperty in class Resource
The Graph that this resource belongs to
Resource::getGraph() — Method in class Resource
Return the graph that this resource belongs to
Resource::getUri() — Method in class Resource
Returns the URI for the resource.
Resource::getBNodeId() — Method in class Resource
Get the identifier for a blank node
Resource::get() — Method in class Resource
Get a single value for a property
Resource::getLiteral() — Method in class Resource
Get a single literal value for a property of the resource
Resource::getResource() — Method in class Resource
Get a single resource value for a property of the resource
GraphVizClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to GraphViz
GraphViz::getDotCommand() — Method in class GraphViz
Get the path to the GraphViz 'dot' command
GraphViz::getUseLabels() — Method in class GraphViz
Get the state of the use labels option
GraphViz::getOnlyLabelled() — Method in class GraphViz
Get the state of the only Only Labelled option
GraphViz::getAttribute() — Method in class GraphViz
Get an attribute of the GraphViz graph
Client::getQueryUri() — Method in class Client
Get the URI of the SPARQL query endpoint
Client::getUpdateUri() — Method in class Client
Get the URI of the SPARQL update endpoint
Client::getUri() — Method in class Client
Result::getType() — Method in class Result
Get the query result type (boolean/bindings)
Result::getBoolean() — Method in class Result
Return the boolean value of the query result
Result::getFields() — Method in class Result
Get the field names in a query result of type bindings.
TypeMapper::get() — Method in class TypeMapper
Get the registered class for an RDF type
TypeMapper::getDefaultResourceClass() — Method in class TypeMapper

H

Graph::hasProperty() — Method in class Graph
Check to see if a property exists for a resource.
HttpClass in namespace EasyRdf
Static class to set the HTTP client used by EasyRdf
DateTime::hour() — Method in class DateTime
24-hour format of the hour as an integer
HTMLClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype rdf:HTML
HexBinaryClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype xsd:hexBinary
Resource::htmlLink() — Method in class Resource
Generates an HTML anchor tag, linking to this resource.
Resource::hasProperty() — Method in class Resource
Check to see if a property exists for this resource.

I

Graph::isEmpty() — Method in class Graph
Check if the graph contains any statements
Graph::isA() — Method in class Graph
Check if a resource is of the specified type
GraphStore::insert() — Method in class GraphStore
Add data to a graph in the graph store
GraphStore::insertIntoDefault() — Method in class GraphStore
Add data to default graph of the graph store
Response::isSuccessful() — Method in class Response
Check whether the response in successful
Response::isError() — Method in class Response
Check whether the response is an error
Response::isRedirect() — Method in class Response
Check whether the response is a redirection
IsomorphicClass in namespace EasyRdf
Functions for comparing two graphs with each other
Isomorphic::isomorphic() — Method in class Isomorphic
Check if one graph is isomorphic (equal) to another graph
Boolean::isTrue() — Method in class Boolean
Return true if the value of the literal is 'true' or '1'
Boolean::isFalse() — Method in class Boolean
Return true if the value of the literal is 'false' or '0'
IntegerClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype xsd:integer
ParsedUri::isAbsolute() — Method in class ParsedUri
Returns true if this is an absolute (complete) URI
ParsedUri::isRelative() — Method in class ParsedUri
Returns true if this is an relative (partial) URI
RdfXml::init() — Method in class RdfXml
RdfXml::initXMLParser() — Method in class RdfXml
Rdfa::initialContext() — Method in class Rdfa
Turtle::isWhitespace() — Method in class Turtle
Returns true if $c is a whitespace character
Turtle::isPrefixStartChar() — Method in class Turtle
Turtle::isNameStartChar() — Method in class Turtle
Turtle::isNameChar() — Method in class Turtle
Turtle::isLocalEscapedChar() — Method in class Turtle
Turtle::isPrefixChar() — Method in class Turtle
Turtle::isLanguageStartChar() — Method in class Turtle
Turtle::isLanguageChar() — Method in class Turtle
Resource::isBNode() — Method in class Resource
Check to see if a resource is a blank node.
Resource::isA() — Method in class Resource
Check if a resource is of the specified type
Client::insert() — Method in class Client
Result::isTrue() — Method in class Result
Return true if the result of the query was true.
Result::isFalse() — Method in class Result
Return false if the result of the query was false.
Utils::isAssociativeArray() — Method in class Utils
Check if something is an associative array

J

Graph::join() — Method in class Graph
Concatenate all values for a property of a resource into a string.
JsonClass in namespace EasyRdf\Parser
A pure-php class to parse RDF/JSON with no dependencies.
Json::jsonLastErrorString() — Method in class Json
Return the last JSON parser error as a string
JsonLdClass in namespace EasyRdf\Parser
Class to parse JSON-LD to an EasyRdf\Graph
Resource::join() — Method in class Resource
Concatenate all values for a property into a string.
JsonClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to RDF/JSON with no external dependencies.
JsonLdClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to JSON-LD

K

Collection::key() — Method in class Collection
Return the key / current position in the collection
Container::key() — Method in class Container
Return the key / current position in the container

L

Graph::load() — Method in class Graph
Load RDF data into the graph from a URI.
Graph::label() — Method in class Graph
Get a human readable label for a resource
LiteralClass in namespace EasyRdf
Class that represents an RDF Literal
$Literal#langProperty in class Literal
$Turtle#lineProperty in class Turtle
Resource::localName() — Method in class Resource
Gets the local name of the URI of this resource
Resource::load() — Method in class Resource
Perform a load (download of remote URI) of the resource into the graph
Resource::label() — Method in class Resource
Get a human readable label for this resource
Client::listNamedGraphs() — Method in class Client
Get a list of named graphs from a SPARQL 1.1 endpoint

M

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

N

Collection::next() — Method in class Collection
Move forward to next item in the collection
Container::next() — Method in class Container
Move forward to next item in the container
Format::newParser() — Method in class Format
Create a new parser to parse this format
Format::newSerialiser() — Method in class Format
Create a new serialiser to parse this format
Graph::newAndLoad() — Method in class Graph
Create a new graph and load RDF data from a URI into it
Graph::newBNode() — Method in class Graph
Create a new blank node in the graph and return it.
Graph::newBNodeId() — Method in class Graph
Create a new unique blank node identifier and return it.
ParsedUri::normalise() — Method in class ParsedUri
Normalises the path of this URI if it has one.
NtriplesClass in namespace EasyRdf\Parser
A pure-php class to parse N-Triples with no dependencies.
RdfXml::newNamespaceHandler() — Method in class RdfXml
$Turtle#namespacesProperty in class Turtle
RdfNamespace::namespaces() — Method in class RdfNamespace
Return all the namespaces registered
GraphViz::nodeName() — Method in class GraphViz
Convert an EasyRdf object into a GraphViz node identifier
NtriplesClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to N-Triples with no external dependencies.
Result::numFields() — Method in class Result
Return the number of fields in a query result of type bindings.
Result::numRows() — Method in class Result
Return the number of rows in a query result of type bindings.
Result::newTerm() — Method in class Result
Create a new EasyRdf\Resource or EasyRdf\Literal depending on the type of data passed in.

O

Collection::offsetExists() — Method in class Collection
Array Access: check if a position exists in collection using array syntax
Collection::offsetGet() — Method in class Collection
Array Access: get an item at a specified position in collection using array syntax
Collection::offsetSet() — Method in class Collection
Array Access: set an item at a positon in collection using array syntax
Collection::offsetUnset() — Method in class Collection
Array Access: delete an item at a specific postion using array syntax
Container::offsetExists() — Method in class Container
Array Access: check if a position exists in container using array syntax
Container::offsetGet() — Method in class Container
Array Access: get an item at a specified position in container using array syntax
Container::offsetSet() — Method in class Container
Array Access: set an item at a positon in container using array syntax
Container::offsetUnset() — Method in class Container
Array Access: delete an item at a specific postion using array syntax
$Turtle#objectProperty in class Turtle
Resource::offsetExists() — Method in class Resource
Whether a offset exists
Resource::offsetGet() — Method in class Resource
Offset to retrieve
Resource::offsetSet() — Method in class Resource
Offset to set
Resource::offsetUnset() — Method in class Resource
Offset to unset

P

Graph::parse() — Method in class Graph
Parse some RDF data into the graph object.
Graph::parseFile() — Method in class Graph
Parse a file containing RDF data into the graph object.
Graph::propertyValuesArray() — Method in class Graph
Return all the values for a particular property of a resource
Graph::properties() — Method in class Graph
Get a list of all the shortened property names (qnames) for a resource.
Graph::propertyUris() — Method in class Graph
Get a list of the full URIs for the properties of a resource.
Graph::primaryTopic() — Method in class Graph
Get the primary topic of the graph
Client::prepareHeaders() — Method in class Client
Prepare the request headers
Date::parse() — Method in class Date
Parses a string using DateTime and creates a new literal
DateTime::parse() — Method in class DateTime
Parses a string using DateTime and creates a new literal
ParsedUriClass in namespace EasyRdf
A RFC3986 compliant URI parser
ParserClass in namespace EasyRdf
Parent class for the EasyRdf parsers
Parser::parse() — Method in class Parser
Sub-classes must follow this protocol
Arc::parse() — Method in class Arc
Parse an RDF document into an EasyRdf\Graph
$Exception#parserLineProperty in class Exception
$Exception#parserColumnProperty in class Exception
Json::parseJsonTriples() — Method in class Json
Parse the triple-centric JSON format, as output by libraptor
Json::parse() — Method in class Json
Parse RDF/JSON into an EasyRdf\Graph
JsonLd::parse() — Method in class JsonLd
Parse a JSON-LD document into an EasyRdf\Graph
Ntriples::parseNtriplesSubject() — Method in class Ntriples
Ntriples::parseNtriplesObject() — Method in class Ntriples
Ntriples::parse() — Method in class Ntriples
Parse an N-Triples document into an EasyRdf\Graph
Rapper::parse() — Method in class Rapper
Parse an RDF document into an EasyRdf\Graph
RdfPhp::parse() — Method in class RdfPhp
Parse RDF/PHP into an EasyRdf\Graph
RdfXml::pushS() — Method in class RdfXml
RdfXml::popS() — Method in class RdfXml
RdfXml::parse() — Method in class RdfXml
Parse an RDF/XML document into an EasyRdf\Graph
Rdfa::printNode() — Method in class Rdfa
Rdfa::processUri() — Method in class Rdfa
Rdfa::processUriList() — Method in class Rdfa
Rdfa::processNode() — Method in class Rdfa
Rdfa::parse() — Method in class Rdfa
Parse RDFa 1.1 into an EasyRdf\Graph
$Turtle#predicateProperty in class Turtle
Turtle::parse() — Method in class Turtle
Parse Turtle into an Graph
Turtle::parseStatement() — Method in class Turtle
Parse a statement [2]
Turtle::parseDirective() — Method in class Turtle
Parse a directive [3]
Turtle::parsePrefixID() — Method in class Turtle
Parse a prefixID [4]
Turtle::parseBase() — Method in class Turtle
Parse base [5]
Turtle::parseTriples() — Method in class Turtle
Parse triples [6] modified to use a pointer instead of manipulating the input buffer directly.
Turtle::parsePredicateObjectList() — Method in class Turtle
Parse a predicateObjectList [7]
Turtle::parseObjectList() — Method in class Turtle
Parse a objectList [8]
Turtle::parseSubject() — Method in class Turtle
Parse a subject [10]
Turtle::parsePredicate() — Method in class Turtle
Parse a predicate [11]
Turtle::parseObject() — Method in class Turtle
Parse a object [12]
Turtle::parseImplicitBlank() — Method in class Turtle
Parses a blankNodePropertyList [15]
Turtle::parseCollection() — Method in class Turtle
Parses a collection [16], e.g: ( item1 item2 item3 )
Turtle::parseValue() — Method in class Turtle
Parses an RDF value. This method parses uriref, qname, node ID, quoted literal, integer, double and boolean.
Turtle::parseQuotedLiteral() — Method in class Turtle
Parses a quoted string, optionally followed by a language tag or datatype.
Turtle::parseQuotedString() — Method in class Turtle
Parses a quoted string, which is either a "normal string" or a """long string""".
Turtle::parseString() — Method in class Turtle
Parses a "normal string". This method requires that the opening character has already been parsed.
Turtle::parseLongString() — Method in class Turtle
Parses a """long string""". This method requires that the first three characters have already been parsed.
Turtle::parseNumber() — Method in class Turtle
Parses a numeric value, either of type integer, decimal or double
Turtle::parseURI() — Method in class Turtle
Parses a URI / IRI
Turtle::parseQNameOrBoolean() — Method in class Turtle
Parses qnames and boolean values, which have equivalent starting characters.
Turtle::parseNodeID() — Method in class Turtle
Parses a blank node ID, e.g: _:node1
Turtle::processComment() — Method in class Turtle
Consumes characters from reader until the first EOL has been read.
Turtle::peek() — Method in class Turtle
Gets the next character to be returned by read() without moving the pointer position. Speeds up the mb_substr() call by only giving it the next 4 bytes to parse.
RdfNamespace::prefixOfUri() — Method in class RdfNamespace
Return the prefix namespace that a URI belongs to.
Resource::prefix() — Method in class Resource
Get a the prefix of the namespace that this resource is part of
Resource::parseUri() — Method in class Resource
Parse the URI of the resource and return as a ParsedUri object
Resource::propertyUris() — Method in class Resource
Get a list of the full URIs for the properties of this resource.
Resource::properties() — Method in class Resource
Get a list of all the shortened property names (qnames) for a resource.
Resource::primaryTopic() — Method in class Resource
Get the primary topic of this resource.
$Serialiser#prefixesProperty in class Serialiser
Client::preprocessQuery() — Method in class Client
Adds missing prefix-definitions to the query
Client::parseResponseToQuery() — Method in class Client
Parse HTTP-response object into a meaningful result-object.
Result::parseXml() — Method in class Result
Parse a SPARQL result in the XML format into the object.
Result::parseJson() — Method in class Result
Parse a SPARQL result in the JSON format into the object.
Utils::parseMimeType() — Method in class Utils
Clean up and split a mime-type up into its parts

Q

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

R

Collection::rewind() — Method in class Collection
Rewind the iterator back to the start of the collection
Container::rewind() — Method in class Container
Rewind the iterator back to the start of the container (item 1)
Format::register() — Method in class Format
Register a new format
Format::registerParser() — Method in class Format
Class method to register a parser class to a format name
Format::registerSerialiser() — Method in class Format
Class method to register a serialiser class to a format name
Graph::resource() — Method in class Graph
Get or create a resource stored in a graph
Graph::resources() — Method in class Graph
Get an associative array of all the resources stored in the graph.
Graph::resourcesMatching() — Method in class Graph
Get an arry of resources matching a certain property and optional value.
Graph::reversePropertyUris() — Method in class Graph
Get a list of the full URIs for the properties that point to a resource.
GraphStore::replace() — Method in class GraphStore
Replace the contents of a graph in the graph store with new data
GraphStore::replaceDefault() — Method in class GraphStore
Replace the contents of default graph in the graph store with new data
Client::resetParameters() — Method in class Client
Clear all GET and POST parameters
Client::request() — Method in class Client
Send the HTTP request and return an HTTP response object
ResponseClass in namespace EasyRdf\Http
Class that represents an HTTP 1.0 / 1.1 response message.
ParsedUri::resolve() — Method in class ParsedUri
Resolves a relative URI using this URI as the base URI.
Parser::remapBnode() — Method in class Parser
Create a new, unique bnode identifier from a source identifier.
Parser::resetBnodeMap() — Method in class Parser
Delete the bnode mapping - to be called at the start of a new parse
RapperClass in namespace EasyRdf\Parser
Class to parse RDF using the 'rapper' command line tool.
RdfPhpClass in namespace EasyRdf\Parser
Class to parse RDF with no external dependancies.
RdfXmlClass in namespace EasyRdf\Parser
A pure-php class to parse RDF/XML.
RdfXml::reify() — Method in class RdfXml
RdfaClass in namespace EasyRdf\Parser
Class to parse RDFa 1.1 with no external dependancies.
Turtle::readLocalEscapedChar() — Method in class Turtle
Turtle::resolve() — Method in class Turtle
Turtle::read() — Method in class Turtle
Read a single character from the input buffer.
RdfNamespaceClass in namespace EasyRdf
A namespace registry and manipulation class.
RdfNamespace::resetNamespaces() — Method in class RdfNamespace
Resets list of namespaces to the one, which is provided by EasyRDF useful for tests, among other things
RdfNamespace::reset() — Method in class RdfNamespace
Delete the anonymous namespaces and reset the counter to 0
ResourceClass in namespace EasyRdf
Class that represents an RDF resource
Resource::reversePropertyUris() — Method in class Resource
Get a list of the full URIs for the properties that point to this resource.
Serialiser::reversePropertyCount() — Method in class Serialiser
Protected method to get the number of reverse properties for a resource If a resource only has a single property, the number of values for that property is returned instead.
GraphViz::renderImage() — Method in class GraphViz
Internal function to render a graph into an image
RapperClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to RDF using the 'rapper' command line tool.
RdfPhpClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to RDF/PHP with no external dependencies.
RdfXmlClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to RDF/XML with no external dependencies.
RdfXml::rdfxmlObject() — Method in class RdfXml
Protected method to serialise an object node into an XML object
RdfXml::rdfxmlResource() — Method in class RdfXml
Protected method to serialise a whole resource and its properties
Client::request() — Method in class Client
ResultClass in namespace EasyRdf\Sparql
Class for returned for SPARQL SELECT and ASK query responses.
Utils::removeFragmentFromUri() — Method in class Utils
Remove the fragment from a URI (if it has one)

S

Collection::seek() — Method in class Collection
Seek to a specific position in the container
Container::seek() — Method in class Container
Seek to a specific position in the container
Format::setLabel() — Method in class Format
Set the label for a format object
Format::setUri() — Method in class Format
Set the URI for a format object
Format::setMimeTypes() — Method in class Format
Set the MIME Types for a format object
Format::setExtensions() — Method in class Format
Set the file format extensions (filename suffix) for a format object
Format::setParserClass() — Method in class Format
Set the parser to use for a format
Format::setSerialiserClass() — Method in class Format
Set the serialiser to use for a format
Graph::set() — Method in class Graph
Set a value for a property
Graph::serialise() — Method in class Graph
Serialise the graph into RDF
Graph::setType() — Method in class Graph
Change the rdf:type property for a resource
GraphStore::sendGraph() — Method in class GraphStore
Send some graph data to the graph store
Http::setDefaultHttpClient() — Method in class Http
Set the HTTP Client object used to fetch RDF data
Client::setUri() — Method in class Client
Set the URI for the next request
Client::setConfig() — Method in class Client
Set configuration parameters for this HTTP client
Client::setHeaders() — Method in class Client
Set a request header
Client::setMethod() — Method in class Client
Set the next request's method
Client::setParameterGet() — Method in class Client
Set a GET parameter for the request.
Client::setRawData() — Method in class Client
Set the raw (already encoded) POST data.
Literal::setDatatypeMapping() — Method in class Literal
Register an RDF datatype with a PHP class name
DateTime::sec() — Method in class DateTime
The seconds pasts the minute as an integer
HTML::stripTags() — Method in class HTML
Strip the HTML tags from the literal
ParsedUri::setScheme() — Method in class ParsedUri
Sets the scheme of the URI (e.g. http)
ParsedUri::setAuthority() — Method in class ParsedUri
Sets the authority of the URI (e.g. www.example.com:8080)
ParsedUri::setPath() — Method in class ParsedUri
Set the path of the URI (e.g. /foo/bar)
ParsedUri::setQuery() — Method in class ParsedUri
Set the query string of the URI (e.g. foo=bar)
ParsedUri::setFragment() — Method in class ParsedUri
Set the fragment of the URI (i.e. after the #)
RdfXml::splitURI() — Method in class RdfXml
RdfXml::startElementHandler() — Method in class RdfXml
RdfXml::startState0() — Method in class RdfXml
RdfXml::startState1() — Method in class RdfXml
RdfXml::startState2() — Method in class RdfXml
RdfXml::startState4() — Method in class RdfXml
RdfXml::startState5() — Method in class RdfXml
RdfXml::startState6() — Method in class RdfXml
$Turtle#subjectProperty in class Turtle
Turtle::skipWSC() — Method in class Turtle
Skip through whitespace and comments
RdfNamespace::set() — Method in class RdfNamespace
Register a new namespace.
RdfNamespace::setDefault() — Method in class RdfNamespace
Set the default namespace
RdfNamespace::splitUri() — Method in class RdfNamespace
Try and breakup a URI into a prefix and local part
RdfNamespace::shorten() — Method in class RdfNamespace
Shorten a URI by substituting in the namespace prefix.
Resource::shorten() — Method in class Resource
Get a shortened version of the resources URI.
Resource::set() — Method in class Resource
Set value for a property
Resource::setType() — Method in class Resource
Change the rdf:type property for the resource
SerialiserClass in namespace EasyRdf
Parent class for the EasyRdf serialiser
Serialiser::serialise() — Method in class Serialiser
Serialise an EasyRdf\Graph into desired format.
Arc::serialise() — Method in class Arc
Serialise an EasyRdf\Graph into RDF format of choice.
GraphViz::setDotCommand() — Method in class GraphViz
Set the path to the GraphViz 'dot' command
GraphViz::setUseLabels() — Method in class GraphViz
Turn on/off the option to display labels instead of URIs.
GraphViz::setOnlyLabelled() — Method in class GraphViz
Turn on/off the option to only display nodes and edges with labels
GraphViz::setAttribute() — Method in class GraphViz
Set an attribute on the GraphViz graph
GraphViz::serialiseRow() — Method in class GraphViz
Internal function to create dot syntax line for either a node or an edge
GraphViz::serialiseDot() — Method in class GraphViz
Internal function to serialise an EasyRdf\Graph into a DOT formatted string
GraphViz::serialise() — Method in class GraphViz
Serialise an EasyRdf\Graph into a GraphViz dot document.
Json::serialise() — Method in class Json
Serialise an EasyRdf\Graph into a to RDF/JSON document.
JsonLd::serialise() — Method in class JsonLd
Serialise an EasyRdf\Graph into a JSON-LD document.
Ntriples::serialiseResource() — Method in class Ntriples
Ntriples::serialiseValue() — Method in class Ntriples
Serialise an RDF value into N-Triples
Ntriples::serialise() — Method in class Ntriples
Serialise an EasyRdf\Graph into N-Triples
Rapper::serialise() — Method in class Rapper
Serialise an EasyRdf\Graph to the RDF format of choice.
RdfPhp::serialise() — Method in class RdfPhp
Method to serialise an EasyRdf\Graph to RDF/PHP
RdfXml::serialise() — Method in class RdfXml
Method to serialise an EasyRdf\Graph to RDF/XML
Turtle::serialiseResource() — Method in class Turtle
Given a an EasyRdf\Resource or URI, convert it into a string, suitable to be written to a Turtle document. URIs will be shortened into CURIES where possible.
Turtle::serialiseLiteral() — Method in class Turtle
Given an EasyRdf\Literal object, convert it into a string, suitable to be written to a Turtle document. Supports multiline literals and literals with datatypes or languages.
Turtle::serialiseObject() — Method in class Turtle
Convert an EasyRdf object into a string suitable to be written to a Turtle document.
Turtle::serialiseCollection() — Method in class Turtle
Protected method to serialise a RDF collection
Turtle::serialiseProperties() — Method in class Turtle
Protected method to serialise the properties of a resource
Turtle::serialisePrefixes() — Method in class Turtle
Turtle::serialiseSubjects() — Method in class Turtle
Turtle::serialise() — Method in class Turtle
Serialise an EasyRdf\Graph to Turtle.
TypeMapper::set() — Method in class TypeMapper
Register an RDF type with a PHP Class name
TypeMapper::setDefaultResourceClass() — Method in class TypeMapper
Sets the default resource class

T

Graph::type() — Method in class Graph
Get the resource type of the graph
Graph::typeAsResource() — Method in class Graph
Get the resource type of the graph as a EasyRdf\Resource
Graph::types() — Method in class Graph
Get a list of types for a resource
Graph::typesAsResources() — Method in class Graph
Get the resource types of the graph as a EasyRdf\Resource
Graph::toRdfPhp() — Method in class Graph
Returns the graph as a RDF/PHP associative array
Literal::toRdfPhp() — Method in class Literal
Returns the properties of the literal as an associative array
HexBinary::toBinary() — Method in class HexBinary
Decode the hexadecimal string into a binary blob
ParsedUri::toString() — Method in class ParsedUri
Convert the parsed URI back into a string
$Parser#tripleCountProperty in class Parser
TurtleClass in namespace EasyRdf\Parser
Class to parse Turtle with no external dependencies.
Resource::toRdfPhp() — Method in class Resource
Returns the properties of the resource as an RDF/PHP associative array
Resource::types() — Method in class Resource
Get a list of types for a resource.
Resource::type() — Method in class Resource
Get a single type for a resource.
Resource::typeAsResource() — Method in class Resource
Get a single type for a resource, as a resource.
Resource::typesAsResources() — Method in class Resource
Get a list of types for a resource, as EasyRdf\Resource
TurtleClass in namespace EasyRdf\Serialiser
Class to serialise an EasyRdf\Graph to Turtle with no external dependencies.
TypeMapperClass in namespace EasyRdf
Class to map between RDF Types and PHP Classes

U

Format::unregister() — Method in class Format
Remove a format from the registry
GraphStore::urlForGraph() — Method in class GraphStore
Work out the full URL for a graph store request.
Ntriples::unescapeString() — Method in class Ntriples
Decodes an encoded N-Triples string. Any -escape sequences are substituted with their decoded value.
RdfXml::updateS() — Method in class RdfXml
Turtle::unread() — Method in class Turtle
Steps back, restoring the previous character read() to the input buffer
Turtle::unskipWS() — Method in class Turtle
Reverse skips through whitespace in 4 byte increments.
$Resource#uriProperty in class Resource
The URI for this resource
Ntriples::unicodeCharNo() — Method in class Ntriples
Client::update() — Method in class Client
Make an update request to the SPARQL endpoint
Client::updateData() — Method in class Client
UtilsClass in namespace EasyRdf
Class containing static utility functions

V

Collection::valid() — Method in class Collection
Checks if current position is valid
Container::valid() — Method in class Container
Checks if current position is valid
$Literal#valueProperty in class Literal
Decimal::validate() — Method in class Decimal
Turtle::verifyCharacterOrFail() — Method in class Turtle
Verifies that the supplied character $c is one of the expected characters specified in $expected. This method will throw a exception if this is not the case.

X

XMLClass in namespace EasyRdf\Literal
Class that represents an RDF Literal of datatype rdf:XMLLiteral

Y

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

_

Collection::__construct() — Method in class Collection
Create a new collection - do not use this directly
Container::__construct() — Method in class Container
Create a new container - do not use this directly
Format::__construct() — Method in class Format
This constructor is for internal use only.
Format::__toString() — Method in class Format
Magic method to return the name of the format when casted to string
Graph::__construct() — Method in class Graph
Constructor
Graph::__toString() — Method in class Graph
Magic method to return URI of resource when casted to string
Graph::__get() — Method in class Graph
Magic method to get a property of the graph
Graph::__set() — Method in class Graph
Magic method to set the value for a property of the graph
Graph::__isset() — Method in class Graph
Magic method to check if a property exists
Graph::__unset() — Method in class Graph
Magic method to delete a property of the graph
GraphStore::__construct() — Method in class GraphStore
Create a new SPARQL Graph Store client
GraphStore::__toString() — Method in class GraphStore
Magic method to return URI of the graph store when casted to string
Client::__construct() — Method in class Client
Constructor method. Will create a new HTTP client. Accepts the target URL and optionally configuration array.
Exception::__construct() — Method in class Exception
Response::__construct() — Method in class Response
Constructor.
Response::__toString() — Method in class Response
Implements magic __toString()
Literal::__construct() — Method in class Literal
Constructor for creating a new literal
Literal::__toString() — Method in class Literal
Magic method to return the value of a literal as a string
Boolean::__construct() — Method in class Boolean
Constructor for creating a new boolean literal
Date::__construct() — Method in class Date
Constructor for creating a new date literal
DateTime::__construct() — Method in class DateTime
Constructor for creating a new date and time literal
Decimal::__construct() — Method in class Decimal
Constructor for creating a new decimal literal
HTML::__construct() — Method in class HTML
Constructor for creating a new rdf:HTML literal
HexBinary::__construct() — Method in class HexBinary
Constructor for creating a new xsd:hexBinary literal
Integer::__construct() — Method in class Integer
Constructor for creating a new integer literal
XML::__construct() — Method in class XML
Constructor for creating a new rdf:XMLLiteral literal
ParsedUri::__construct() — Method in class ParsedUri
Constructor for creating a new parsed URI
ParsedUri::__toString() — Method in class ParsedUri
Magic method to convert the URI, when casted, back to a string
Arc::__construct() — Method in class Arc
Constructor
Exception::__construct() — Method in class Exception
Json::__construct() — Method in class Json
Constructor
Rapper::__construct() — Method in class Rapper
Constructor
RdfPhp::__construct() — Method in class RdfPhp
Constructor
RdfXml::__construct() — Method in class RdfXml
Constructor
Rdfa::__construct() — Method in class Rdfa
Constructor
Turtle::__construct() — Method in class Turtle
Constructor
Resource::__construct() — Method in class Resource
Constructor
Resource::__toString() — Method in class Resource
Magic method to return URI of resource when casted to string
Resource::__get() — Method in class Resource
Magic method to get a property of a resource
Resource::__set() — Method in class Resource
Magic method to set the value for a property of a resource
Resource::__isset() — Method in class Resource
Magic method to check if a property exists
Resource::__unset() — Method in class Resource
Magic method to delete a property of the resource
Arc::__construct() — Method in class Arc
Constructor
JsonLd::__construct() — Method in class JsonLd
Rapper::__construct() — Method in class Rapper
Constructor
Client::__construct() — Method in class Client
Create a new SPARQL endpoint client
Result::__construct() — Method in class Result
Create a new SPARQL Result object
Result::__toString() — Method in class Result
Magic method to return value of the result to string