Skip to content

Commit 4d34ac7

Browse files
committed
substitution (parth1)
1 parent 53b171f commit 4d34ac7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,16 @@ <h2>Notation and Terminology</h2>
273273
if the triple term composed by its subject, predicate, and object appears in G.
274274
<p/>
275275

276+
<p>
277+
For RDF terms t, x and y, we define the <dfn>substitution mapping</dfn>, t[x/y] inductively as follows:
278+
(1) if t=x, then t[x/y]=y;
279+
(2) if t = (s,p,o) and t &ne; x, then t[x/y]= (s[x/y], p[x/y], o[x/y]=y);
280+
(3) t[x/y]=t, else.
281+
<br/><br/>
282+
For each triple (s,p,o), we set (s,p,o)[x/y]= (s[x/y],p[x/y],o[x/y]). For each graph G, we obtain G[x/y] by applying [x/y] to each triple t in G.
283+
<p/>
284+
285+
276286
<p>Suppose that M is a functional mapping from a set of blank
277287
nodes to some set of RDF terms. Any graph obtained
278288
from a graph G by replacing some or all of the blank nodes N appearing in G by M(N) is

0 commit comments

Comments
 (0)