Skip to content

Commit bc2b628

Browse files
committed
RDF serialization example fixes
1 parent bfba096 commit bc2b628

4 files changed

Lines changed: 28 additions & 14 deletions

File tree

linkeddatahub/docs/reference/data-model/blocks/objects/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ <h2 id="rdf-serialization">RDF serialization</h2>
155155
@prefix ac: &lt;https://w3id.org/atomgraph/client#&gt; .
156156

157157
&lt;https://localhost:4443/concepts/example/#object-block&gt;
158-
a ldh:Object ;
159-
rdf:value &lt;http://dbpedia.org/resource/Copenhagen&gt; ;
160-
ac:mode ac:MapMode .</pre>
158+
a ldh:Object ;
159+
rdf:value &lt;http://dbpedia.org/resource/Copenhagen&gt; ;
160+
ac:mode ac:MapMode .</pre>
161161
</div>
162162

163163
<div>

linkeddatahub/docs/reference/data-model/blocks/xhtml/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ <h2 id="rdf-serialization">RDF serialization</h2>
146146
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
147147

148148
&lt;https://localhost:4443/concepts/example/#xhtml-block&gt;
149-
a ldh:XHTML ;
150-
rdf:value "&lt;div xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n&lt;p&gt;A paragraph&lt;/p&gt;\n&lt;/div&gt;"^^rdf:XMLLiteral .</pre>
149+
a ldh:XHTML ;
150+
rdf:value "&lt;div xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n&lt;p&gt;A paragraph&lt;/p&gt;\n&lt;/div&gt;"^^rdf:XMLLiteral .</pre>
151151
</div>
152152

153153
<div>

linkeddatahub/docs/reference/data-model/documents/containers/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ <h2 id="rdf-serialization">RDF serialization</h2>
150150
@prefix acl: &lt;http://www.w3.org/ns/auth/acl#&gt; .
151151

152152
&lt;https://localhost:4443/concepts/&gt;
153-
a dh:Container ;
154-
rdf:_1 &lt;https://localhost:4443/concepts/#select-children&gt; ;
155-
dct:created "2025-06-02T19:12:26.533Z"^^xsd:dateTime ;
156-
dct:creator &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; ;
157-
dct:title "Concepts" ;
158-
sioc:has_parent &lt;https://localhost:4443/concepts/&gt; ;
159-
acl:owner &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; .
153+
a dh:Container ;
154+
rdf:_1 &lt;https://localhost:4443/concepts/#select-children&gt; ;
155+
dct:created "2025-06-02T19:12:26.533Z"^^xsd:dateTime ;
156+
dct:creator &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; ;
157+
dct:title "Concepts" ;
158+
sioc:has_parent &lt;https://localhost:4443/concepts/&gt; ;
159+
acl:owner &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; .
160160

161-
&lt;https://localhost:4443/concepts/#select-children3&gt;
161+
&lt;https://localhost:4443/concepts/#select-children&gt;
162162
a ldh:Object ;
163163
rdf:value ldh:ChildrenView .</pre>
164164
</div>

linkeddatahub/docs/reference/data-model/documents/items/index.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,18 +142,32 @@ <h2 id="rdf-serialization">RDF serialization</h2>
142142
<p>Document roperties such as <code>sioc:has_container</code>, <code>dct:created</code>, <code>dct:modified</code>, <code>acl:owner</code> are <a href="../../../http-api/#document-metadata">automatically managed</a> by LinkedDataHub.</p>
143143

144144
<pre>@prefix dh: &lt;https://www.w3.org/ns/ldt/document-hierarchy#&gt; .
145+
@prefix ldh: &lt;https://w3id.org/atomgraph/linkeddatahub#&gt; .
146+
@prefix ac: &lt;https://w3id.org/atomgraph/client#&gt; .
147+
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
145148
@prefix dct: &lt;http://purl.org/dc/terms/&gt; .
146149
@prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; .
147150
@prefix sioc: &lt;http://rdfs.org/sioc/ns#&gt; .
148151
@prefix acl: &lt;http://www.w3.org/ns/auth/acl#&gt; .
149152

150153
&lt;https://localhost:4443/concepts/example/&gt;
151154
a dh:Item ;
155+
rdf:_1 &lt;https://localhost:4443/concepts/example/#xhtml-block&gt; ;
156+
rdf:_2 &lt;https://localhost:4443/concepts/example/#object-block&gt; ;
152157
dct:created "2025-06-02T19:49:48.126Z"^^xsd:dateTime ;
153158
dct:creator &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; ;
154159
dct:title "Example" ;
155160
sioc:has_container &lt;https://localhost:4443/2005d1e1-de5c-4c0d-bcab-002c203ff1a9/&gt; ;
156-
acl:owner &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; .</pre>
161+
acl:owner &lt;https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this&gt; .
162+
163+
&lt;https://localhost:4443/concepts/example/#xhtml-block&gt;
164+
a ldh:XHTML ;
165+
rdf:value "&lt;div xmlns=\"http://www.w3.org/1999/xhtml\"&gt;\n&lt;p&gt;A paragraph&lt;/p&gt;\n&lt;/div&gt;"^^rdf:XMLLiteral .
166+
167+
&lt;https://localhost:4443/concepts/example/#object-block&gt;
168+
a ldh:Object ;
169+
rdf:value &lt;http://dbpedia.org/resource/Copenhagen&gt; ;
170+
ac:mode ac:MapMode .</pre>
157171
</div>
158172

159173
<div>

0 commit comments

Comments
 (0)