Full index

Package indexes


a b c d e f g h i j l m n p q r s t u y _
a
top
add
EasyRdf_Resource::add() in Resource.php
Add values to for a property of the resource
add
Add data to the graph
addLiteral
Add a literal value as a property of a resource
addLiteral
Add a literal value as a property of the resource
addResource
Add a resource as a property of the resource
addResource
Add a resource as a property of another resource
addType
Add one or more rdf:type properties to the resource
addType
Add one or more rdf:type properties to a resource
all
Get all values for a property path
all
EasyRdf_Resource::all() in Resource.php
Get all values for a property
allLiterals
Get all literal values for a property of the resource
allLiterals
Get all literal values for a property of a resource
allOfType
Get all the resources in the graph of a certain type
allResources
Get all resources for a property of the resource
allResources
Get all resources for a property of a resource
asString
Get the entire response as string
Arc.php
Arc.php in Arc.php
Arc.php
Arc.php in Arc.php
b
top
bijectionOf
Boolean.php
Boolean.php in Boolean.php
c
top
camelise
Convert a string into CamelCase
count
Count all values for a property of a resource
count
Count the number of values for a property of a resource
countTriples
Calculates the number of triples in the graph
create
Create a new literal object
Client.php
Client.php in Client.php
Client.php
Client.php in Client.php
d
top
day
Integer representation of the day of the month
decodeChunkedBody
Decode a "chunked" transfer-encoded body and return the decoded text
delete
Delete an existing namespace.
delete
Delete a property (or optionally just a specific value)
delete
Delete a property (or optionally just a specific value)
delete
Delete a graph from the graph store
delete
Delete an existing RDF type mapping.
deleteDatatypeMapping
Remove the mapping between an RDF datatype and a PHP class name
deleteLiteral
Delete a literal value from a property of a resource
deleteResource
Delete a resource from a property of another resource
dump
Return a human readable view of the query result.
dump
EasyRdf_Resource::dump() in Resource.php
Return a human readable view of the resource and its properties
dump
Return a human readable view of all the resources in the graph
dumpLiteralValue
Return pretty-print view of a literal
dumpResource
Return a human readable view of the resource and its properties
dumpResourceValue
Return pretty-print view of a resource URI
dumpValue
Return pretty-print view of the resource
dumpValue
Return pretty-print view of the literal
Date.php
Date.php in Date.php
DateTime.php
DateTime.php in DateTime.php
Decimal.php
Decimal.php in Decimal.php
e
top
Exception.php
Exception.php in Exception.php
EasyRdf.php
EasyRdf.php in EasyRdf.php
EasyRdf_Exception
EasyRdf_Exception in Exception.php
EasyRdf Exception class
EasyRdf_Format
EasyRdf_Format in Format.php
Class the represents an RDF file format.
EasyRdf_Graph
EasyRdf_Graph in Graph.php
Container for collection of EasyRdf_Resources.
EasyRdf_GraphStore
EasyRdf_GraphStore in GraphStore.php
A class for fetching, saving and deleting graphs to a Graph Store.
EasyRdf_Http
EasyRdf_Http in Http.php
Static class to set the HTTP client used by EasyRdf
EasyRdf_Http_Client
EasyRdf_Http_Client in Client.php
This class is an implemetation of an HTTP client in PHP.
EasyRdf_Http_Response
EasyRdf_Http_Response in Response.php
Class that represents an HTTP 1.0 / 1.1 response message.
EasyRdf_Isomorphic
EasyRdf_Isomorphic in Isomorphic.php
Functions to compare to graphs with each other
EasyRdf_Literal
EasyRdf_Literal in Literal.php
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
EasyRdf_Literal_DateTime in DateTime.php
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_HexBinary
EasyRdf_Literal_HexBinary in HexBinary.php
Class that represents an RDF Literal of datatype xsd:hexBinary
EasyRdf_Literal_Integer
Class that represents an RDF Literal of datatype xsd:integer
EasyRdf_Namespace
EasyRdf_Namespace in Namespace.php
A namespace registry and manipulation class.
EasyRdf_ParsedUri
EasyRdf_ParsedUri in ParsedUri.php
A RFC3986 compliant URI parser
EasyRdf_Parser
EasyRdf_Parser in Parser.php
Parent class for the EasyRdf parsers
EasyRdf_Parser_Arc
Class to parse RDF using the ARC2 library.
EasyRdf_Parser_Json
A pure-php class to parse RDF/JSON with no dependancies.
EasyRdf_Parser_Ntriples
EasyRdf_Parser_Ntriples in Ntriples.php
A pure-php class to parse N-Triples with no dependancies.
EasyRdf_Parser_Rapper
EasyRdf_Parser_Rapper in Rapper.php
Class to parse RDF using the 'rapper' command line tool.
EasyRdf_Parser_RdfPhp
EasyRdf_Parser_RdfPhp in RdfPhp.php
Class to parse RDF with no external dependancies.
EasyRdf_Parser_RdfXml
EasyRdf_Parser_RdfXml in RdfXml.php
A pure-php class to parse RDF/XML.
EasyRdf_Parser_Redland
EasyRdf_Parser_Redland in Redland.php
Class to parse RDF using Redland (librdf) C library.
EasyRdf_Parser_Turtle
EasyRdf_Parser_Turtle in Turtle.php
Class to parse Turtle with no external dependancies.
EasyRdf_Resource
EasyRdf_Resource in Resource.php
Class that represents an RDF resource
EasyRdf_Serialiser
EasyRdf_Serialiser in Serialiser.php
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_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_Sparql_Client
EasyRdf_Sparql_Client in Client.php
Class for making SPARQL queries using the SPARQL 1.1 Protocol
EasyRdf_Sparql_Result
EasyRdf_Sparql_Result in Result.php
Class for returned for SPARQL SELECT and ASK query responses.
EasyRdf_TypeMapper
EasyRdf_TypeMapper in TypeMapper.php
Class to map between RDF Types and PHP Classes
EasyRdf_Utils
EasyRdf_Utils in Utils.php
Class containing static utility functions
execCommandPipe
Execute a command as a pipe
expand
Expand a shortened URI (qname) back into a full URI.
f
top
Format.php
Format.php in Format.php
format
Returns date formatted according to given format
formatExists
Check if a named graph exists
fromBinary
Constructor for creating a new literal object from a binary blob
fromString
Create an EasyRdf_Http_Response object from a HTTP response string
g
top
Graph.php
Graph.php in Graph.php
GraphStore.php
GraphStore.php in GraphStore.php
GraphViz.php
GraphViz.php in GraphViz.php
get
EasyRdf_Resource::get() in Resource.php
Get a single value for a property
get
EasyRdf_GraphStore::get() in GraphStore.php
Fetch a named graph from the graph store
get
EasyRdf_Namespace::get() in Namespace.php
Return a namespace given its prefix.
get
EasyRdf_TypeMapper::get() in TypeMapper.php
Get the registered class for an RDF type
get
Get a single value for a property of a resource
getAttribute
Get an attribute of the GraphViz graph
getAuthority
Returns the authority of the URI (e.g. www.example.com:8080)
getBody
Get the response body as string
getBoolean
Return the boolean value of the query result
getDatatype
Returns the shortened datatype URI of the literal.
getDatatypeForValue
Get datatype URI for a PHP value.
getDatatypeUri
Returns the full datatype URI of the literal.
getDefaultExtension
Get the default registered file extension (filename suffix) for a format object
getDefaultHttpClient
Get the HTTP Client object used to fetch RDF data
getDefaultMimeType
Get the default registered mime type for a format object
getDotCommand
Get the path to the GraphViz 'dot' command
getExtensions
Get all the registered file extensions (filename suffix) for a format object
getFields
Get the field names in a query result of type bindings.
getFormat
Get a EasyRdf_Format from a name, uri or mime type
getFormats
Get a list of all the registered formats
getFragment
Returns the fragment part of the URI (i.e. after the #)
getHeader
Get a specific header as string, or null if it is not set
getHeader
Get the value of a specific header
getHeaders
Get the response headers
getHeadersAsString
Get all headers as string
getHttpAcceptHeader
Generates an HTTP Accept header string
getLabel
Get the label for a format object
getLang
Returns the language of the literal.
getLiteral
Get a single literal value for a property of a resource
getLiteral
Get a single literal value for a property of the resource
getMessage
Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
getMethod
Get the method for the next request
getMimeTypes
Get all the registered mime types for a format object
getName
Get the name of a format object
getNames
Get a list of format names
getNodeId
Get the identifier for a blank node
getOnlyLabelled
Get the state of the only Only Labelled option
getParameterGet
Get a GET parameter for the request.
getParametersGet
Get all the GET parameters
getParserClass
Get the name of the class to use to parse the format
getPath
Returns the path of the URI (e.g. /foo/bar)
getQuery
Returns the query string part of the URI (e.g. foo=bar)
getRawBody
Get the raw response body (as transfered "on wire") as string
getRawData
Get the raw (already encoded) POST data.
getRedirectionsCount
Get the number of redirections done on the last request
getResource
Get a single resource value for a property of a resource
getResource
Get a single resource value for a property of the resource
getScheme
Returns the scheme of the URI (e.g. http)
getSerialiserClass
Get the name of the class to use to serialise the format
getStatus
Get the HTTP response status code
getType
Get the query result type (boolean/bindings)
getUri
Get the URI of the graph store
getUri
Get the URI of the SPARQL endpoint
getUri
Get the URI for a format object
getUri
Get the URI for the next request
getUri
Get the URI of the graph
getUri
Returns the URI for the resource.
getUseLabels
Get the state of the use labels option
getValue
Return the value of the literal cast to a PHP bool
getValue
Return the value of the literal cast to a PHP double
getValue
Return the value of the literal cast to a PHP int
getValue
Returns the date as a PHP DateTime object
getValue
Returns the value of the literal.
getVersion
Get the HTTP version of the response
guessFormat
Attempt to guess the document format from some content.
h
top
Http.php
Http.php in Http.php
HexBinary.php
HexBinary.php in HexBinary.php
hasProperty
Check to see if a property exists for this resource.
hasProperty
Check to see if a property exists for a resource.
hour
24-hour format of the hour as an integer
htmlLink
Generates an HTML anchor tag, linking to this resource.
i
top
Isomorphic.php
Isomorphic.php in Isomorphic.php
Integer.php
Integer.php in Integer.php
insert
Add data to a graph in the graph store
isAbsolute
Returns true if this is an absolute (complete) URI
isAssociativeArray
Check if something is an associative array
isBnode
Check to see if a resource is a blank node.
isEmpty
Check if the graph contains any statements
isError
Check whether the response is an error
isFalse
Return false if the result of the query was false.
isFalse
Return true if the value of the literal is 'false' or '0'
isIsomorphic
isRedirect
Check whether the response is a redirection
isRelative
Returns true if this is an relative (partial) URI
isSuccessful
Check whether the response in successful
isTrue
Return true if the value of the literal is 'true' or '1'
isTrue
Return true if the result of the query was true.
is_a
EasyRdf_Resource::is_a() in Resource.php
Check if a resource is of the specified type
is_a
Check if a resource is of the specified type
j
top
Json.php
Json.php in Json.php
Json.php
Json.php in Json.php
join
EasyRdf_Resource::join() in Resource.php
Concatenate all values for a property into a string.
join
Concatenate all values for a property of a resource into a string.
l
top
Literal.php
Literal.php in Literal.php
label
Get a human readable label for this resource
label
Get a human readable label for a resource
LIBRDF_PARSER_FEATURE_ERROR_COUNT
Parser feature URI string for getting the error count of last parse.
load
Load RDF data into the graph from a URI.
load
EasyRdf_Resource::load() in Resource.php
Perform a load (download of remote URI) of the resource into the graph
localName
Gets the local name of the URI of this resource
m
top
min
The minutes pasts the hour as an integer
MINIMUM_RAPPER_VERSION
month
Integer representation of the month
n
top
Namespace.php
Namespace.php in Namespace.php
Ntriples.php
Ntriples.php in Ntriples.php
Ntriples.php
Ntriples.php in Ntriples.php
namespaces
Return all the namespaces registered
newAndLoad
Create a new graph and load RDF data from a URI into it
newBNode
Create a new blank node in the graph and return it.
newBNodeId
Create a new unique blank node identifier and return it.
newParser
Create a new parser to parse this format
newSerialiser
Create a new serialiser to parse this format
normalise
Normalises the path of this URI if it has one. Normalising a path means
numFields
Return the number of fields in a query result of type bindings.
numRows
Return the number of rows in a query result of type bindings.
p
top
ParsedUri.php
ParsedUri.php in ParsedUri.php
Parser.php
Parser.php in Parser.php
parse
Parse an RDF document into an EasyRdf_Graph
parse
Parses a string using DateTime and creates a new literal
parse
Parse an RDF document into an EasyRdf_Graph
parse
Parse RDF/PHP into an EasyRdf_Graph
parse
Parse an RDF/XML document into an EasyRdf_Graph
parse
Parse Turtle into an EasyRdf_Graph
parse
Parse an RDF document into an EasyRdf_Graph
parse
Parse an N-Triples document into an EasyRdf_Graph
parse
Parses a string using DateTime and creates a new literal
parse
Parse some RDF data into the graph object.
parse
Parse RDF/JSON into an EasyRdf_Graph
parseFile
Parse a file containing RDF data into the graph object.
parseMimeType
Clean up and split a mime-type up into its parts
parseUri
Parse the URI of the resource and return as a ParsedUri object
prefix
Get a the prefix of the namespace that this resource is part of
prefixOfUri
Return the prefix namespace that a URI belongs to.
primaryTopic
Get the primary topic of the graph
primaryTopic
Get the primary topic of this resource.
properties
Get a list of all the shortened property names (qnames) for a resource.
properties
Get a list of all the shortened property names (qnames) for a resource.
propertyUris
Get a list of the full URIs for the properties of a resource.
propertyUris
Get a list of the full URIs for the properties of this resource.
q
top
query
Make a query to the SPARQL endpoint
r
top
Response.php
Response.php in Response.php
Rapper.php
Rapper.php in Rapper.php
RdfPhp.php
RdfPhp.php in RdfPhp.php
RdfXml.php
RdfXml.php in RdfXml.php
Redland.php
Redland.php in Redland.php
Resource.php
Resource.php in Resource.php
Rapper.php
Rapper.php in Rapper.php
RdfPhp.php
RdfPhp.php in RdfPhp.php
RdfXml.php
RdfXml.php in RdfXml.php
Result.php
Result.php in Result.php
RDF_XML_LITERAL
A constant for the RDF Type property URI
register
Register a new format
registerParser
Class method to register a parser class to a format name
registerSerialiser
Class method to register a serialiser class to a format name
removeFragmentFromUri
Remove the fragment from a URI (if it has one)
replace
Replace the contents of a graph in the graph store with new data
request
Send the HTTP request and return an HTTP response object
reset
Delete the anonymous namespaces and reset the counter to 0
resetParameters
Clear all GET and POST parameters
resolve
Resolves a relative URI using this URI as the base URI.
resolve
resource
Get or create a resource stored in a graph
resources
Get an associative array of all the resources stored in the graph.
resourcesMatching
Get an arry of resources matching a certain property and optional value.
reversePropertyUris
Get a list of the full URIs for the properties that point to a resource.
reversePropertyUris
Get a list of the full URIs for the properties that point to this resource.
s
top
Serialiser.php
Serialiser.php in Serialiser.php
sec
The seconds pasts the minute as an integer
serialise
Serialise an EasyRdf_Graph into N-Triples
serialise
Serialise an EasyRdf_Graph into RDF format of choice.
serialise
Serialise the graph into RDF
serialise
Serialise an EasyRdf_Graph into a GraphViz dot document.
serialise
Method to serialise an EasyRdf_Graph to RDF/JSON
serialise
Serialise an EasyRdf_Graph to Turtle.
serialise
Method to serialise an EasyRdf_Graph to RDF/XML
serialise
Method to serialise an EasyRdf_Graph to RDF/PHP
serialise
Serialise an EasyRdf_Graph to the RDF format of choice.
set
EasyRdf_Namespace::set() in Namespace.php
Register a new namespace.
set
EasyRdf_Resource::set() in Resource.php
Set value for a property
set
EasyRdf_TypeMapper::set() in TypeMapper.php
Register an RDF type with a PHP Class name
set
Set a value for a property
setAttribute
Set an attribute on the GraphViz graph
setAuthority
Sets the authority of the URI (e.g. www.example.com:8080)
setConfig
Set configuration parameters for this HTTP client
setDatatypeMapping
Register an RDF datatype with a PHP class name
setDefaultHttpClient
Set the HTTP Client object used to fetch RDF data
setDotCommand
Set the path to the GraphViz 'dot' command
setExtensions
Set the file format extensions (filename suffix) for a format object
setFragment
Set the fragment of the URI (i.e. after the #)
setHeaders
Set a request header
setLabel
Set the label for a format object
setMethod
Set the next request's method
setMimeTypes
Set the MIME Types for a format object
setOnlyLabelled
Turn on/off the option to only display nodes and edges with labels
setParameterGet
Set a GET parameter for the request.
setParserClass
Set the parser to use for a format
setPath
Set the path of the URI (e.g. /foo/bar)
setQuery
Set the query string of the URI (e.g. foo=bar)
setRawData
Set the raw (already encoded) POST data.
setScheme
Sets the scheme of the URI (e.g. http)
setSerialiserClass
Set the serialiser to use for a format
setType
Change the rdf:type property for the resource
setType
Change the rdf:type property for a resource
setUri
Set the URI for the next request
setUri
Set the URI for a format object
setUseLabels
Turn on/off the option to display labels instead of URIs.
shorten
Shorten a URI by substituting in the namespace prefix.
shorten
Get a shortened version of the resources URI.
SPARQL_XML_RESULTS_NS
A constant for the SPARQL Query Results XML Format namespace
splitUri
Try and breakup a URI into a prefix and local part
t
top
Turtle.php
Turtle.php in Turtle.php
Turtle.php
Turtle.php in Turtle.php
TypeMapper.php
TypeMapper.php in TypeMapper.php
toArray
Returns the properties of the literal as an associative array
toArray
Returns the properties of the resource as an associative array
toArray
Returns the graph as a RDF/PHP associative array
toBinary
Decode the hexadecimal string into a binary blob
toString
Convert the parsed URI back into a string
type
Get the resource type of the graph
type
EasyRdf_Resource::type() in Resource.php
Get a single type for a resource.
typeAsResource
Get a single type for a resource, as a resource.
typeAsResource
Get the resource type of the graph as a EasyRdf_Resource
types
Get a list of types for a resource.
types
Get a list of types for a resource.
u
top
Utils.php
Utils.php in Utils.php
unescapeString
Decodes an encoded N-Triples string. Any \-escape sequences are substituted with their decoded value.
unregister
Remove a format from the registry
URI_REGEX
y
top
year
A full integer representation of the year, 4 digits
_
top
$_baseUri
The base URI for the document currently being parsed
$_format
The format of the document currently being parsed
$_graph
The current graph to insert triples into
$_prefixes
__construct
Constructor
__construct
Constructor for creating a new parsed URI
__construct
Constructor
__construct
Constructor
__construct
Constructor
__construct
Create a new SPARQL Result object
__construct
Constructor
__construct
Constructor.
__construct
Constructor
__construct
Constructor
__construct
Constructor
__construct
Constructor
__construct
Constructor for creating a new literal
__construct
Constructor for creating a new date literal
__construct
Constructor for creating a new date and time literal
__construct
Constructor for creating a new integer literal
__construct
Create a new SPARQL endpoint client
__construct
Constructor method. Will create a new HTTP client. Accepts the target URL and optionally configuration array.
__construct
Constructor
__construct
Constructor for creating a new boolean literal
__construct
Constructor
__construct
Constructor for creating a new decimal literal
__construct
Constructor
__construct
Create a new SPARQL Graph Store client
__construct
Constructor for creating a new xsd:hexBinary literal
__toString
Magic method to return value of the result to string
__toString
Magic method to return the value of a literal as a string
__toString
Implements magic __toString()
__toString
Magic method to return URI of resource when casted to string
__toString
Magic method to return URI of resource when casted to string
__toString
Magic method to return URI of the graph store when casted to string
__toString
Magic method to return URI of the SPARQL endpoint when casted to string
__toString
Magic method to return the name of the format when casted to string
__toString
Magic method to convert the URI, when casted, back to a string
a b c d e f g h i j l m n p q r s t u y _