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

Ambiguity of annotation block #81

Closed
jitsedesmet opened this issue Jan 7, 2025 · 2 comments · Fixed by #82
Closed

Ambiguity of annotation block #81

jitsedesmet opened this issue Jan 7, 2025 · 2 comments · Fixed by #82
Labels
spec:editorial Minor change in the specification (markup, typo, informative text; class 1 or 2)

Comments

@jitsedesmet
Copy link

Hi, while reading the description of annotation-syntax. I find there to be 2 different interpretations of the sentence:

If an annotation block is not preceded by a reifier, an RDF blank node is allocated to serve as the reifier of the triple term.

At least mine and my supervisor his interpretation differ.

Interpretation 1

I understand the sentence to mean: ... annotation block is not directly preceded ...
Under this interpretation, the following mapping holds

:a :b :c ~ :t {| :y :z |} {| :Y :Z|} .

maps to

:a :b :c .
:t rdf:reifies <<( :a :b :c )>> .
:t :y :z .
_:g0 :Y :Z .

Interpretation 2

The other interpretation takes preceding to mean: preceded, skipping annotation blocks.
Under this interpretation, the following mapping holds

:a :b :c ~ :t {| :y :z |} {| :Y :Z|} .

maps to

:a :b :c ~ :t {| :y :z ; :Y :Z |} .

and

:a :b :c .
:t rdf:reifies <<( :a :b :c )>> .
:t :y :z  ;
   :Y :Z .
@afs
Copy link
Contributor

afs commented Jan 7, 2025

Hi @jitsedesmet - thanks for the report.

:a      :b      :c .
:t      rdf:reifies  <<( :a :b :c )>> .
:t      :y           :z .

_:b0    rdf:reifies  <<( :a :b :c )>> .
_:b0    :Y           :Z .

It is the style of the first - with two rdf:reifies, one for :t and one which is the implied blank node.

In the processing of reifiers and annotation blocks - curReifier is cleared after one block so it only applies to the immediately next annotation block.

We can clarify the text.

@jitsedesmet
Copy link
Author

Aha perfect! I did indeed forget the _:b0 rdf:reifies <<( :a :b :c )>> . .
Thank you for your clear response!
I think the simple addition of directly in directly preceded might be sufficient.

@pfps pfps added the spec:editorial Minor change in the specification (markup, typo, informative text; class 1 or 2) label Jan 8, 2025
@afs afs closed this as completed in #82 Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:editorial Minor change in the specification (markup, typo, informative text; class 1 or 2)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants