class Isomorphic

Functions for comparing two graphs with each other

Based on rdf-isomorphic.rb by Ben Lavender: https://github.com/ruby-rdf/rdf-isomorphic

## Methods

static bool
isomorphic(Graph \$graphA, Graph \$graphB)

Check if one graph is isomorphic (equal) to another graph

static array|null
bijectionBetween(Graph \$graphA, Graph \$graphB)

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.

## Details

### at line 64``` static bool isomorphic(Graph \$graphA, Graph \$graphB) ```

Check if one graph is isomorphic (equal) to another graph

For example: \$graphA = EasyRdf\Graph::newAndLoad('http://example.com/a.ttl'); \$graphB = EasyRdf\Graph::newAndLoad('http://example.com/b.ttl'); if (EasyRdf\Isomorphic::isomorphic(\$graphA, \$graphB)) print "Equal!";

#### Parameters

 Graph \$graphA The first graph to be compared Graph \$graphB The second graph to be compared

 bool

### at line 79``` static array|null bijectionBetween(Graph \$graphA, Graph \$graphB) ```

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.

#### Parameters

 Graph \$graphA The first graph to be compared Graph \$graphB The second graph to be compared

#### Return Value

 array|null