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

A formal background to unify triples and triple terms #91

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4300b64
First version of liberal semantics - it lack the entailment pattern f…
franconi Jan 27, 2025
61aa733
Missing fix to rdfs14
franconi Jan 27, 2025
553dfc9
liberal baseline RDF and RDFS semantics
franconi Jan 27, 2025
4204f21
Fixed HTML + RTD -> RDF
franconi Jan 28, 2025
ad4faa5
Fixed more HTML
franconi Jan 28, 2025
3999bd8
Minor fix in text for better English
franconi Jan 28, 2025
4e1cef6
Better English: added comma
franconi Jan 29, 2025
8487a13
Added axiomatic triple in RDF for rdf:reifies
franconi Jan 29, 2025
c5914b4
Moved the "appears in" definition before its first use.
franconi Jan 29, 2025
fd09c1f
"RDF term" definition is exported
franconi Jan 29, 2025
d734184
Added the reference to RTDF symmetric triple
franconi Jan 29, 2025
b9c0e07
Changed rdf:range to rdfs:range
franconi Jan 29, 2025
e35b247
Replaced [I+A] with I for rdf/rdfs namespace IRIs
franconi Jan 31, 2025
5c36aea
Better spacing
franconi Jan 31, 2025
c6e946f
Better formatting of rdfssemcond11 definition.
franconi Jan 31, 2025
78f45a1
Fixed a plural reference
franconi Jan 31, 2025
f8b1603
Fixed redundant condition "triple or triple term"
franconi Jan 31, 2025
4ecb8e7
Merge branch 'w3c:main' into liberal-baseline
franconi Jan 31, 2025
42f0fc2
Fixed wording of rdfs14, and references to issue about external refer…
franconi Jan 31, 2025
d853efb
Better rdfs14
franconi Jan 31, 2025
e0716d1
Added example for rdfs14
franconi Jan 31, 2025
961a1ae
Change: emdashes are better than the colons
franconi Feb 1, 2025
809ea61
Small typo in index.html
doerthe Feb 4, 2025
1670e37
fixed: emdash written as mdash
franconi Feb 4, 2025
3317c14
Merge branch 'w3c:main' into liberal-baseline
franconi Feb 4, 2025
d15e0c2
Added semantic properties in 5.3 relating triple terms and asserted t…
franconi Feb 13, 2025
ddda4d9
Better formatting
franconi Feb 13, 2025
9618b1a
Rewording after suggestion of pfps
franconi Feb 13, 2025
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
22 changes: 20 additions & 2 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ <h2>Simple Interpretations</h2>
set of sets of pairs &lt; x, y &gt; with x and y in IR .</p>
<p>4. A mapping IS from IRIs into (IR union IP)</p>
<p>5. A partial mapping IL from literals into IR </p>
<p>6. An injective mapping RE from IR x IP x IR into IR, called the interpretation of triple terms. </p>
<p>6. An injective mapping RE from IR x IP x IR into IR, called the denotation of triple terms. </p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the denotation of a triple term in the codomain of RE (i.e. the injectively mapped resource in IR)? If so, should the sets of propositions and facts also be defined using RE (e.g. IPR = { RE(x, y, z) | x ∈ IR, y ∈ IP, z ∈ IR })?

</td>
</tr>
</table>
Expand Down Expand Up @@ -650,7 +650,7 @@ <h2>Simple Entailment</h2>
</section>

<section id="simple_entailment_properties" class="informative">
<h3>Properties of simple entailment (Informative)</h3>
<h3>Properties of simple entailment and satisfiability (Informative)</h3>

<p>The properties described here apply only to simple entailment,
not to extended notions of entailment introduced in later sections.
Expand Down Expand Up @@ -706,7 +706,25 @@ <h3>Properties of simple entailment (Informative)</h3>

<p class="fact"> If E contains an IRI which does not occur anywhere in S,
then S does not simply entail E.</p>

<p>The following semantic properties relate triple terms and triples asserted in a graph, and they introduce a general definition of satisfiability.</p>

<p>We define the <dfn>set of propositions</dfn> in an interpretation as follows:</p>

<p class="fact"> The set of propositions in an interpretation I is IPR(I) = {&nbsp;&lt;x, y, z&gt;&#65372;x is in IR, y is in IP, z is in IR&nbsp;}; we observe that the propositions are exactly the domain of the RE mapping used to denote triple terms as resources. </p>

<p>We define the <dfn>set of facts</dfn> in an interpretation as follows:</p>

<p class="fact"> The set F of facts in an interpretation I is F(I) = {&nbsp;&lt;x, y, z&gt;&#65372;&lt;x, z&gt; is in IEXT(y)&nbsp;}; it is easy to see that the facts are the propositions which are true in the interpretation. </p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<p class="fact"> The set F of facts in an interpretation I is F(I) = {&nbsp;&lt;x, y, z&gt;&#65372;&lt;x, z&gt; is in IEXT(y)&nbsp;}; it is easy to see that the facts are the propositions which are true in the interpretation. </p>
<p class="fact"> The set F of facts in an interpretation I is F(I) = {&nbsp;&lt;x, y, z&gt;&#65372;&lt;x, z&gt; is in IEXT(y)&nbsp;}. The set of facts is the set of propositions which are true in the interpretation. </p>

At a minimum

Suggested change
<p class="fact"> The set F of facts in an interpretation I is F(I) = {&nbsp;&lt;x, y, z&gt;&#65372;&lt;x, z&gt; is in IEXT(y)&nbsp;}; it is easy to see that the facts are the propositions which are true in the interpretation. </p>
<p class="fact"> The set F of facts in an interpretation I is F(I) = {&nbsp;&lt;x, y, z&gt;&#65372;&lt;x, z&gt; is in IEXT(y)&nbsp;}; it can be seen that the facts are the propositions which are true in the interpretation. </p>


<p>Given a blank node mapping, we define the <dfn>set of facts asserted by a graph</dfn> in an interpretation as follows:</p>

<p class="fact">Given a blank node mapping A, the set of all facts asserted by a graph G in an interpretation I is FEXT(G, I, A) = {&nbsp;&lt;&nbsp;[I+A](s), I(p), [I+A](o)&nbsp;&gt;&#65372;`s p o.` is in G&nbsp;}; we observe that given a blank node mapping, the asserted facts of a graph in an interpretation may not necessarily be among the facts of the interpretation.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<p class="fact">Given a blank node mapping A, the set of all facts asserted by a graph G in an interpretation I is FEXT(G, I, A) = {&nbsp;&lt;&nbsp;[I+A](s), I(p), [I+A](o)&nbsp;&gt;&#65372;`s p o.` is in G&nbsp;}; we observe that given a blank node mapping, the asserted facts of a graph in an interpretation may not necessarily be among the facts of the interpretation.</p>
<p class="fact">Given a blank node mapping A, the set of all facts asserted by a graph G in an interpretation I is FEXT(G, I, A) = {&nbsp;&lt;&nbsp;[I+A](s), I(p), [I+A](o)&nbsp;&gt;&#65372;`s p o.` is in G&nbsp;}; we observe that given a blank node mapping, the asserted facts of a graph with respect to an interpretation may not necessarily be among the facts of the interpretation.</p>

I prefer this kind of wording. I don't see the graph doing anything in the interpretation.


<p>Given a blank node mapping, we introduce a <dfn>general definition of satisfiability</dfn> of a graph in an interpretation as follows:</p>

<p class="fact">Given a blank node mapping, the facts asserted in an interpretation by a graph are among the facts of the interpretation if and only if the interpretation (simply) satisfies the graph.</p>

Copy link
Contributor

@doerthe doerthe Feb 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not happy with that sentence because of the definition of "(simply) satisfies":
"we say that I (simply) satisfies E when I(E)=true"
and
"If E is an RDF graph then I(E) = true if [ I+A ](E) = true for some mapping A from the set of blank nodes in E to IR"

So, the "simply satisfies" includes that there EXISTS some A, so even with a given A, we could technically find an A' such that I(G)= true while FEXT(G, I, A)\notIn F(I).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally agree with @doerthe here. This statement seems wrong.

</section>
</section>

Expand Down
Loading