|
67 | 67 | are comprised of a default graph and zero or more named graphs.</li>
|
68 | 68 | </ul>
|
69 | 69 |
|
70 |
| - <p>RDF 1.2 introduces <a>quoted triples</a> as another kind of <a>RDF term</a> |
| 70 | + <p>RDF 1.2 introduces <a>triple terms</a> as another kind of <a>RDF term</a> |
71 | 71 | which can be used as the <a>subject</a> or <a>object</a> of another <a>triple</a>.
|
72 | 72 | RDF 1.2 also introduces <a>directional language-tagged strings</a>,
|
73 | 73 | which contain a <a>base direction</a> element that allows the
|
@@ -130,7 +130,7 @@ <h3>Graph-based Data Model</h3>
|
130 | 130 |
|
131 | 131 | <p>There can be four kinds of <a>nodes</a> in an
|
132 | 132 | <a>RDF graph</a>: <a>IRIs</a>, <a>literals</a>,
|
133 |
| - <a>blank nodes</a>, and <a>quoted triples</a>.</p> |
| 133 | + <a>blank nodes</a>, and <a>triple terms</a>.</p> |
134 | 134 |
|
135 | 135 | </section>
|
136 | 136 |
|
@@ -492,12 +492,12 @@ <h2>RDF Documents and Syntaxes</h2>
|
492 | 492 | <ul>
|
493 | 493 | <li><dfn class="no-export lint-ignore">Full</dfn> conformance
|
494 | 494 | supports <a data-lt="RDF graph">graphs</a> and <a data-lt="RDF dataset">datasets</a>
|
495 |
| - containing <a>quoted triples</a>. |
| 495 | + with <a>triples</a> that contain <a>triple terms</a>. |
496 | 496 | Concrete syntaxes in which such graphs and datasets can be expressed include
|
497 | 497 | [[RDF12-N-TRIPLES]], [[RDF12-N-QUADS]], [[RDF12-TURTLE]], and [[RDF12-TRIG]].</li>
|
498 | 498 | <li><dfn class="no-export lint-ignore">Classic</dfn> conformance
|
499 |
| - only supports <a data-lt="RDF graph">graphs</a> or <a data-lt="RDF dataset">datasets</a>, |
500 |
| - that do not contain <a>quoted triples</a>.</li> |
| 499 | + only supports <a data-lt="RDF graph">graphs</a> or <a data-lt="RDF dataset">datasets</a> |
| 500 | + with <a>triples</a> that do not contain <a>triple terms</a>.</li> |
501 | 501 | </ul>
|
502 | 502 | <p class="ednote">The conformance levels described above are tentative,
|
503 | 503 | and still the subject of group discussion. An alternative to conformance
|
@@ -538,72 +538,70 @@ <h2>RDF Graphs</h2>
|
538 | 538 | <section id="section-triples">
|
539 | 539 | <h3>Triples</h3>
|
540 | 540 |
|
541 |
| - <p>An <dfn data-local-lt="triple">RDF triple</dfn> is a 3-tuple that is defined recursively as follows:</p> |
| 541 | + <p>An <dfn data-local-lt="triple">RDF triple</dfn> (usually called "triple") |
| 542 | + is a 3-tuple (|s|, |p|, |o|) where:</p> |
| 543 | + |
| 544 | + <ul> |
| 545 | + <li>|s| is an <a>IRI</a> or a <a>blank node</a>,</li> |
| 546 | + <li>|p| is an <a>IRI</a>, and</li> |
| 547 | + <li>|o| is an <a>IRI</a>, a <a>blank node</a>, a <a>literal</a>, |
| 548 | + or a <a>triple term</a>.</li> |
| 549 | + </ul> |
| 550 | + |
| 551 | + <p>An <dfn>triple term</dfn> is a 3-tuple that is defined recursively as follows:</p> |
542 | 552 |
|
543 | 553 | <ul>
|
544 | 554 | <li>
|
545 | 555 | If |s| is an <a>IRI</a> or a <a>blank node</a>,
|
546 | 556 | |p| is an <a>IRI</a>, and
|
547 | 557 | |o| is an <a>IRI</a>, a <a>blank node</a>, or a <a>literal</a>,
|
548 |
| - then (|s|, |p|, |o|) is an RDF triple. |
| 558 | + then (|s|, |p|, |o|) is a triple term. |
549 | 559 | </li>
|
550 | 560 |
|
551 | 561 | <li>
|
552 |
| - If |t| and <var>t'</var> are <a>RDF triples</a>, |
553 |
| - |s| is an <a>IRI</a> or a <a>blank node</a>, |
| 562 | + If |s| is an <a>IRI</a> or a <a>blank node</a>, |
554 | 563 | |p| is an <a>IRI</a>, and
|
555 |
| - |o| is an <a>IRI</a>, a <a>blank node</a>, or a <a>literal</a>, |
556 |
| - then (|t|, |p|, |o|), (|s|, |p|, |t|), and (|t|, |p|, <var>t'</var>) are RDF triples. |
| 564 | + |t| is a <a>triple term</a>, |
| 565 | + then (|s|, |p|, |t|) is a triple term. |
557 | 566 | </li>
|
558 | 567 | </ul>
|
559 | 568 |
|
560 |
| - <p>"RDF triple" is usually written "<a>triple</a>".<p> |
561 |
| - |
562 | 569 | <p>Given a <a>triple</a> (|s|, |p|, |o|),
|
563 | 570 | |s| is called the <dfn>subject</dfn> of the triple,
|
564 | 571 | |p| is called the <dfn>predicate</dfn> of the triple, and
|
565 |
| - |o| is called the <dfn>object</dfn> of the triple.</p> |
566 |
| - |
567 |
| - <p>When an <a>RDF triple</a> is used as the <a>subject</a> or <a>object</a> of a triple, this occurrence of |
568 |
| - the triple is called a <dfn data-local-lt="quoted">quoted triple</dfn>.</p> |
569 |
| - |
570 |
| - <p class="note">By the given definitions, |
571 |
| - the <a>subject</a> of an <a>RDF triple</a> may be either an <a>IRI</a>, |
572 |
| - a <a>blank node</a>, or a <a>quoted triple</a>; |
573 |
| - the <a>predicate</a> of an <a>RDF triple</a> may only be an <a>IRI</a>; |
574 |
| - the <a>object</a> of an <a>RDF triple</a> may be either an <a>IRI</a>, |
575 |
| - a <a>blank node</a>, a <a>literal</a> or a <a>quoted triple</a>.</p> |
576 |
| - |
577 |
| - <p class="note">The definition of <a>quoted triple</a> is recursive. |
578 |
| - That is, a <a>quoted triple</a> can itself have a |
579 |
| - <a>subject</a> or <a>object</a> component which is another <a>quoted triple</a>. |
580 |
| - However, by this definition, cycles of <a>quoted triples</a> cannot be created.</p> |
| 572 | + |o| is called the <dfn>object</dfn> of the triple. |
| 573 | + Similarly, given a <a>triple term</a> (|s|, |p|, |o|), |
| 574 | + |s| is called the <em>subject</em> of the triple term, |
| 575 | + |p| is called the <em>predicate</em> of the triple term, and |
| 576 | + |o| is called the <em>object</em> of the triple term.</p> |
| 577 | + |
| 578 | + <p class="note">While, syntactically, the notion of an <a>RDF triple</a> |
| 579 | + and the notion of a <a>triple term</a> are the same, they represent |
| 580 | + different concepts. RDF triples are the members of <a>RDF graphs</a>, |
| 581 | + whereas triple terms can be used as components of RDF triples.</p> |
| 582 | + |
| 583 | + <p class="note">The definition of <a>triple term</a> is recursive. |
| 584 | + That is, a <a>triple term</a> can itself have an |
| 585 | + <a>object</a> component which is another <a>triple term</a>. |
| 586 | + However, by this definition, cycles of <a>triple terms</a> cannot be created.</p> |
581 | 587 |
|
582 | 588 | <p><a>IRIs</a>, <a>literals</a>,
|
583 |
| - <a>blank nodes</a>, and <a>quoted triples</a> are collectively known as |
| 589 | + <a>blank nodes</a>, and <a>triple terms</a> are collectively known as |
584 | 590 | <span id="dfn-rdf-terms"><!-- obsolete term--></span><dfn data-lt="rdf term">RDF terms</dfn>.</p>
|
585 | 591 |
|
586 | 592 | <p><a>IRIs</a>, <a>literals</a>,
|
587 |
| - <a>blank nodes</a>, and <a>quoted triples</a> are distinct and distinguishable. |
| 593 | + <a>blank nodes</a>, and <a>triple terms</a> are distinct and distinguishable. |
588 | 594 | For example, a literal with the string <code>http://example.org/</code> as
|
589 | 595 | its <a>lexical form</a>
|
590 | 596 | is not equal to the IRI <code>http://example.org/</code>,
|
591 | 597 | nor to a blank node with the <a>blank node identifier</a>
|
592 | 598 | <code>http://example.org/</code>.</p>
|
593 | 599 |
|
594 | 600 | <p>The set of <span id="dfn-nodes"><!-- obsolete term--></span><dfn data-lt="node">nodes</dfn> of an <a>RDF graph</a>
|
595 |
| - is the set of <a>subjects</a> and <a>objects</a> of <a>triples</a> in the graph. |
| 601 | + is the set of <a>subjects</a> and <a>objects</a> of the <a>triples</a> in the graph. |
596 | 602 | It is possible for a predicate IRI to also occur as a node in
|
597 | 603 | the same graph.</p>
|
598 | 604 |
|
599 |
| - <p>An <dfn data-local-lt="asserted">asserted triple</dfn> |
600 |
| - is an <a>RDF triple</a> that is an element of an <a>RDF graph</a>.</p> |
601 |
| - |
602 |
| - <p class="note">In an <a>RDF graph</a>, |
603 |
| - a <a>triple</a> may occur as either a <a>quoted triple</a>, an |
604 |
| - <a>asserted triple</a>, or both.</p> |
605 |
| - </section> |
606 |
| - |
607 | 605 | <section id="section-IRIs">
|
608 | 606 | <h3>IRIs</h3>
|
609 | 607 |
|
|
0 commit comments