From ae6af092886f2a8198f7d75db72c03109ef5924d Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Champin Should we go even further and aim to provide interoperability between RDF 1.1 and RDF 1.2 [=Full=]? AT RISK: The Working Group may decide to replace the terms `rdf:TripleTerm`, `rdf:ttSubject`, `rdf:ttPredicate`, and `rdf:ttObject` used in this section with other terms, possibly in a different namespace. These transformation are designed to be:Interoperability between RDF [=Basic=] and RDF [=Full=]
@@ -112,14 +110,14 @@
From [=Full=] to [=Basic=]
and then adding the following [=triples=] to the graph (where s, p, and o are respectively the [=subject=], [=predicate=] and [=object=] of tt):
Note that this transformation is information preserving only when the input graph either has no [=triple term=] [=appearing=] in it, - or contains no [=asserted triple=] (b, `rdf:type`, `rdf:TripleTerm`) where b is a [=blank node=]. + or contains no [=asserted triple=] (b, `rdf:type`, `rdf:PropositionForm`) where b is a [=blank node=]. Implementations encountering this situation ought to report an error. This limitation is discussed in Section .
@@ -169,13 +167,13 @@Reverting a [=basic encoded=] graph to its original form consists of locating - each [=asserted triple=] (b, `rdf:type`, `rdf:TripleTerm`) + each [=asserted triple=] (b, `rdf:type`, `rdf:PropositionForm`) that has a [=blank node=] b as its subject, along with the three associated [=asserted triples=] that have the same [=blank node=] b as their subjects, i.e., - (b, `rdf:ttSubject`, s), - (b, `rdf:ttPredicate`, p), - and (b, `rdf:ttObject`, o); + (b, `rdf:PropositionFormSubject`, s), + (b, `rdf:PropositionFormPredicate`, p), + and (b, `rdf:PropositionFormObject`, o); removing these four [=triples=] from the graph; and replacing all remaining occurrences of b [=appearing=] in the graph with the [=triple term=] (s, p, o). @@ -184,11 +182,11 @@
An implementation ought to report an error if, for a given b, it can not unambiguously determine s, p, or o (i.e., if one of the properties of b - — `rdf:ttSubject`, `rdf:ttPredicate`, or `rdf:ttObject` — + — `rdf:PropositionFormSubject`, `rdf:PropositionFormPredicate`, or `rdf:PropositionFormObject` — is missing or duplicated). An implementation also ought to report an error if the input graph contains at the same time a [=triple term=] and an [=asserted triple=] - (b, `rdf:type`, `rdf:TripleTerm`) + (b, `rdf:type`, `rdf:PropositionForm`) where b is the same [=blank node=]. Note that none of these situations can occur if the input graph was produced by the [=basic encoding=] transformation.
@@ -196,7 +194,7 @@To revert a [=basic encoded=] [=RDF dataset=] to its original form, the transformation above is applied to its [=default graph=] and to each of its [=named graphs=].
-Note that this transformation has no effect on any [=RDF graph=] or [=RDF dataset=] that does not use the `rdf:TripleTerm` type, +
Note that this transformation has no effect on any [=RDF graph=] or [=RDF dataset=] that does not use the `rdf:PropositionForm` type, including [=Full=] graphs or datasets containing [=triple terms=]. This makes this transformation idempotent as intended.
@@ -206,13 +204,13 @@The two transformations above explicitly do not support graphs or datasets containing at the same time a [=triple term=] and an [=asserted triple=] - (b, `rdf:type`, `rdf:TripleTerm`) + (b, `rdf:type`, `rdf:PropositionForm`) where b is a [=blank node=]. This means that the [=basic encoding=] transformation is not strictly universal.
This limitation should not be an issue in practice. - The `rdf:TripleTerm` type is unlikely to be in used in any published graph or dataset, + The `rdf:PropositionForm` type is unlikely to be in used in any published graph or dataset, as it was not defined prior to this specification. For this reason, using it would actually have been bad practice. For future graphs and datasets, this type should be considered to be reserved for use within the [=basic encoding=] transformation, and not used otherwise. @@ -220,17 +218,17 @@
This is one reason why this transformation introduces new vocabulary terms - (`rdf:TripleTerm`, `rdf:ttSubject`, `rdf:ttPredicate`, `rdf::ttObject`), + (`rdf:PropositionForm`, `rdf:PropositionFormSubject`, `rdf:PropositionFormPredicate`, `rdf::ttObject`), rather than repurposing the existing reification vocabulary (`rdf:Statement`, `rdf:subject`, `rdf:predicate`, `rdf:object`). - Unlike `rdf:TripleTerm`, `rdf:Statement` is known to be found in + Unlike `rdf:PropositionForm`, `rdf:Statement` is known to be found in widely used datasets (e.g., Uniprot), so reserving its use for the [=basic encoding=] transformation was not an option.
Another consequence of this restriction is that implementers will need to be aware and careful when merging graphs in an application that [=basic encoded=] graphs or datasets. The concern is that merging a [=Full=] [=RDF graph=] containing at least one [=triple term=] - with a [=basic encoded=] [=RDF graph=] (which might contain [=blank node=] instances of `rdf:TripleTerm`) + with a [=basic encoded=] [=RDF graph=] (which might contain [=blank node=] instances of `rdf:PropositionForm`) could result in a "hybrid" graph that cannot be transformed to a consistent [=Full=] nor [=Basic=] [=RDF graph=]. Therefore, such applications should [=basic encode=] every graph prior to merging them. Conversely, applications supporting RDF [=Full=] should make sure to apply the reverse transformation @@ -254,7 +252,7 @@
Note that this transformation is information preserving only when the input graph either has no [=triple term=] [=appearing=] in it, @@ -171,9 +171,9 @@
An implementation ought to report an error if, for a given b, it can not unambiguously determine s, p, or o (i.e., if one of the properties of b - — `rdf:PropositionFormSubject`, `rdf:PropositionFormPredicate`, or `rdf:PropositionFormObject` — + — `rdf:propositionFormSubject`, `rdf:propositionFormPredicate`, or `rdf:propositionFormObject` — is missing or duplicated). An implementation also ought to report an error if the input graph contains at the same time a [=triple term=] and an [=asserted triple=] @@ -218,7 +218,7 @@
This is one reason why this transformation introduces new vocabulary terms - (`rdf:PropositionForm`, `rdf:PropositionFormSubject`, `rdf:PropositionFormPredicate`, `rdf::ttObject`), + (`rdf:PropositionForm`, `rdf:propositionFormSubject`, `rdf:propositionFormPredicate`, `rdf::ttObject`), rather than repurposing the existing reification vocabulary (`rdf:Statement`, `rdf:subject`, `rdf:predicate`, `rdf:object`). Unlike `rdf:PropositionForm`, `rdf:Statement` is known to be found in @@ -297,7 +297,7 @@
This is one reason why this transformation introduces new vocabulary terms - (`rdf:PropositionForm`, `rdf:propositionFormSubject`, `rdf:propositionFormPredicate`, `rdf::ttObject`), + (`rdf:PropositionForm`, `rdf:propositionFormSubject`, `rdf:propositionFormPredicate`, `rdf:propositionFormObject`), rather than repurposing the existing reification vocabulary (`rdf:Statement`, `rdf:subject`, `rdf:predicate`, `rdf:object`). Unlike `rdf:PropositionForm`, `rdf:Statement` is known to be found in