Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates the definition of graph isomorphism #140

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -955,19 +955,20 @@ <h3>Graph Comparison</h3>
<a>RDF graphs</a> <var>G</var> and <var>G'</var> are
<dfn data-lt="graph isomorphism|isomorphic" data-lt-noDefault class="export">isomorphic</dfn>
(that is, they have an identical form)
if there is a bijection <var>M</var> between the sets of <a>nodes</a> of the two
graphs, such that all of the following properties hold:</p>
if there is a bijection <var>M</var>
from the set of all <a>RDF terms</a> into that same set,
such that all of the following properties hold:</p>

<ul>
<li><var>M</var> maps blank nodes to blank nodes.</li>
<li><var>M</var>(<var>lit</var>)=<var>lit</var> for every <a>RDF literal</a> <var>lit</var> that
is a node of <var>G</var>.</li>
<li><var>M</var>(<var>lit</var>)=<var>lit</var> for every <a>RDF literal</a> <var>lit</var>.</li>

<li><var>M</var>(<var>iri</var>)=<var>iri</var> for every <a>IRI</a> <var>iri</var>
that is a node of <var>G</var>.</li>
<li><var>M</var>(<var>iri</var>)=<var>iri</var> for every <a>IRI</a> <var>iri</var>.</li>

<li><var>M</var>(<var>tt</var>) is the triple term ( <var>M</var>(<var>s</var>), <var>M</var>(<var>p</var>), <var>M</var>(<var>o</var>) ) if <var>tt</var> is a triple term of the form ( <var>s</var>, <var>p</var>, <var>o</var> ).</li>

<li>The triple ( <var>s</var>, <var>p</var>, <var>o</var> ) is in <var>G</var> if and
only if the triple ( <var>M</var>(<var>s</var>), <var>p</var>, <var>M</var>(<var>o</var>) ) is in
only if the triple ( <var>M</var>(<var>s</var>), <var>M</var>(<var>p</var>), <var>M</var>(<var>o</var>) ) is in
<var>G'</var>.</li>
</ul>

Expand Down
Loading