Skip to content

RDF/XML 1.2 features #177

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
110 changes: 105 additions & 5 deletions rdf/rdf11/rdf-xml/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,31 @@ <h2>
</dd>
</dl>
</dd>
<dt id='rdf-node-element-test001'>
<a class='testlink' href='#rdf-node-element-test001'>
rdf-node-element-test001:
</a>
<span about='#rdf-node-element-test001' property='mf:name'>rdf-node-element-test001</span>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdf-node-element-test001' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>A node element that does not use rdf:Description creates a type.</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
<dd>rdft:TestXMLEval</dd>
<dt>approval</dt>
<dd property='mf:approval' resource='rdft:Approved'>rdft:Approved</dd>
<dt>action</dt>
<dd>
<a href='rdf-node-element/test001.rdf' property='mf:action'>rdf-node-element/test001.rdf</a>
</dd>
<dt>result</dt>
<dd>
<a href='rdf-node-element/test001.nt' property='mf:result'>rdf-node-element/test001.nt</a>
</dd>
</dl>
</dd>
<dt id='rdf-ns-prefix-confusion-test0001'>
<a class='testlink' href='#rdf-ns-prefix-confusion-test0001'>
rdf-ns-prefix-confusion-test0001:
Expand All @@ -477,7 +502,7 @@ <h2>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdf-ns-prefix-confusion-test0001' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType</p>
<p>RDF attributes that are required to have an rdf: prefix about ID type resource parseType</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
Expand All @@ -502,7 +527,7 @@ <h2>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdf-ns-prefix-confusion-test0003' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType</p>
<p>RDF attributes that are required to have an rdf: prefix about ID type resource parseType</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
Expand All @@ -527,7 +552,7 @@ <h2>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdf-ns-prefix-confusion-test0004' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>RDF attributes that are required to have an rdf: prefix about aboutEach ID bagID type resource parseType</p>
<p>RDF attributes that are required to have an rdf: prefix about ID type resource parseType</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
Expand Down Expand Up @@ -752,7 +777,7 @@ <h2>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdfms-abouteach-error001' typeof='rdft:TestXMLNegativeSyntax'>
<div property='rdfs:comment'>
<p>aboutEach removed from the RDF specifications. See URI above for further details.</p>
<p>aboutEach removed from the RDF specifications.</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
Expand All @@ -773,7 +798,7 @@ <h2>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdfms-abouteach-error002' typeof='rdft:TestXMLNegativeSyntax'>
<div property='rdfs:comment'>
<p>aboutEach removed from the RDF specifications. See URI above for further details.</p>
<p>aboutEach removed from the RDF specifications.</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
Expand Down Expand Up @@ -3166,6 +3191,31 @@ <h2>
</dd>
</dl>
</dd>
<dt id='rdfms-reification-required-test002'>
<a class='testlink' href='#rdfms-reification-required-test002'>
rdfms-reification-required-test002:
</a>
<span about='#rdfms-reification-required-test002' property='mf:name'>rdfms-reification-required-test002</span>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdfms-reification-required-test002' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>A parser must generate inside of other reifications</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
<dd>rdft:TestXMLEval</dd>
<dt>approval</dt>
<dd property='mf:approval' resource='rdft:Approved'>rdft:Approved</dd>
<dt>action</dt>
<dd>
<a href='rdfms-reification-required/test002.rdf' property='mf:action'>rdfms-reification-required/test002.rdf</a>
</dd>
<dt>result</dt>
<dd>
<a href='rdfms-reification-required/test002.nt' property='mf:result'>rdfms-reification-required/test002.nt</a>
</dd>
</dl>
</dd>
<dt id='rdfms-seq-representation-test001'>
<a class='testlink' href='#rdfms-seq-representation-test001'>
rdfms-seq-representation-test001:
Expand All @@ -3191,6 +3241,31 @@ <h2>
</dd>
</dl>
</dd>
<dt id='rdfms-seq-representation-test002'>
<a class='testlink' href='#rdfms-seq-representation-test002'>
rdfms-seq-representation-test002:
</a>
<span about='#rdfms-seq-representation-test002' property='mf:name'>rdfms-seq-representation-test002</span>
</dt>
<dd inlist='true' property='mf:entry' resource='#rdfms-seq-representation-test002' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>rdf:parseType="Collection" and rdf:ID.</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
<dd>rdft:TestXMLEval</dd>
<dt>approval</dt>
<dd property='mf:approval' resource='rdft:Approved'>rdft:Approved</dd>
<dt>action</dt>
<dd>
<a href='rdfms-seq-representation/test002.rdf' property='mf:action'>rdfms-seq-representation/test002.rdf</a>
</dd>
<dt>result</dt>
<dd>
<a href='rdfms-seq-representation/test002.nt' property='mf:result'>rdfms-seq-representation/test002.nt</a>
</dd>
</dl>
</dd>
<dt id='rdfms-syntax-incomplete-test001'>
<a class='testlink' href='#rdfms-syntax-incomplete-test001'>
rdfms-syntax-incomplete-test001:
Expand Down Expand Up @@ -3667,6 +3742,31 @@ <h2>
</dd>
</dl>
</dd>
<dt id='xml-canon-test002'>
<a class='testlink' href='#xml-canon-test002'>
xml-canon-test002:
</a>
<span about='#xml-canon-test002' property='mf:name'>xml-canon-test002</span>
</dt>
<dd inlist='true' property='mf:entry' resource='#xml-canon-test002' typeof='rdft:TestXMLEval'>
<div property='rdfs:comment'>
<p>Canonicalization of XMLLiterals with reification.</p>
</div>
<dl class='test-detail'>
<dt>type</dt>
<dd>rdft:TestXMLEval</dd>
<dt>approval</dt>
<dd property='mf:approval' resource='rdft:Approved'>rdft:Approved</dd>
<dt>action</dt>
<dd>
<a href='xml-canon/test002.rdf' property='mf:action'>xml-canon/test002.rdf</a>
</dd>
<dt>result</dt>
<dd>
<a href='xml-canon/test002.nt' property='mf:result'>xml-canon/test002.nt</a>
</dd>
</dl>
</dd>
<dt id='xmlbase-test001'>
<a class='testlink' href='#xmlbase-test001'>
xmlbase-test001:
Expand Down
52 changes: 45 additions & 7 deletions rdf/rdf11/rdf-xml/manifest.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<#rdf-containers-syntax-vs-schema-test007>
<#rdf-containers-syntax-vs-schema-test008>
<#rdf-element-not-mandatory-test001>
<#rdf-node-element-test001>
<#rdf-ns-prefix-confusion-test0001>
<#rdf-ns-prefix-confusion-test0003>
<#rdf-ns-prefix-confusion-test0004>
Expand Down Expand Up @@ -148,7 +149,9 @@
<#rdfms-rdf-names-use-warn-002>
<#rdfms-rdf-names-use-warn-003>
<#rdfms-reification-required-test001>
<#rdfms-reification-required-test002>
<#rdfms-seq-representation-test001>
<#rdfms-seq-representation-test002>
<#rdfms-syntax-incomplete-test001>
<#rdfms-syntax-incomplete-test002>
<#rdfms-syntax-incomplete-test003>
Expand All @@ -173,6 +176,7 @@
<#unrecognised-xml-attributes-test001>
<#unrecognised-xml-attributes-test002>
<#xml-canon-test001>
<#xml-canon-test002>
<#xmlbase-test001>
<#xmlbase-test002>
<#xmlbase-test003>
Expand Down Expand Up @@ -354,11 +358,20 @@ properties that may be defined for a resource.
mf:action <rdf-element-not-mandatory/test001.rdf>;
mf:result <rdf-element-not-mandatory/test001.nt> .

<#rdf-node-element-test001> a rdft:TestXMLEval;
mf:name "rdf-node-element-test001";
rdfs:comment """
A node element that does not use rdf:Description creates a type.
""";
rdft:approval rdft:Approved;
mf:action <rdf-node-element/test001.rdf>;
mf:result <rdf-node-element/test001.nt> .

<#rdf-ns-prefix-confusion-test0001> a rdft:TestXMLEval;
mf:name "rdf-ns-prefix-confusion-test0001";
rdfs:comment """
RDF attributes that are required to have an rdf: prefix about
aboutEach ID bagID type resource parseType
ID type resource parseType
""";
rdft:approval rdft:Approved;
mf:action <rdf-ns-prefix-confusion/test0001.rdf>;
Expand All @@ -368,7 +381,7 @@ aboutEach ID bagID type resource parseType
mf:name "rdf-ns-prefix-confusion-test0003";
rdfs:comment """
RDF attributes that are required to have an rdf: prefix about
aboutEach ID bagID type resource parseType
ID type resource parseType
""";
rdft:approval rdft:Approved;
mf:action <rdf-ns-prefix-confusion/test0003.rdf>;
Expand All @@ -378,7 +391,7 @@ aboutEach ID bagID type resource parseType
mf:name "rdf-ns-prefix-confusion-test0004";
rdfs:comment """
RDF attributes that are required to have an rdf: prefix about
aboutEach ID bagID type resource parseType
ID type resource parseType
""";
rdft:approval rdft:Approved;
mf:action <rdf-ns-prefix-confusion/test0004.rdf>;
Expand Down Expand Up @@ -472,17 +485,15 @@ xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.
<#rdfms-abouteach-error001> a rdft:TestXMLNegativeSyntax;
mf:name "rdfms-abouteach-error001";
rdfs:comment """
aboutEach removed from the RDF specifications. See URI above
for further details.
aboutEach removed from the RDF specifications.
""";
rdft:approval rdft:Approved;
mf:action <rdfms-abouteach/error001.rdf> .

<#rdfms-abouteach-error002> a rdft:TestXMLNegativeSyntax;
mf:name "rdfms-abouteach-error002";
rdfs:comment """
aboutEach removed from the RDF specifications. See URI above
for further details.
aboutEach removed from the RDF specifications.
""";
rdft:approval rdft:Approved;
mf:action <rdfms-abouteach/error002.rdf> .
Expand Down Expand Up @@ -1432,6 +1443,15 @@ statements for all description elements.
mf:action <rdfms-reification-required/test001.rdf>;
mf:result <rdfms-reification-required/test001.nt> .

<#rdfms-reification-required-test002> a rdft:TestXMLEval;
mf:name "rdfms-reification-required-test002";
rdfs:comment """
A parser must generate inside of other reifications
""";
rdft:approval rdft:Approved;
mf:action <rdfms-reification-required/test002.rdf>;
mf:result <rdfms-reification-required/test002.nt> .

<#rdfms-seq-representation-test001> a rdft:TestXMLEval;
mf:name "rdfms-seq-representation-test001";
rdfs:comment """
Expand All @@ -1442,6 +1462,15 @@ daml:collection.
mf:action <rdfms-seq-representation/test001.rdf>;
mf:result <rdfms-seq-representation/test001.nt> .

<#rdfms-seq-representation-test002> a rdft:TestXMLEval;
mf:name "rdfms-seq-representation-test002";
rdfs:comment """
rdf:parseType="Collection" and rdf:ID.
""";
rdft:approval rdft:Approved;
mf:action <rdfms-seq-representation/test002.rdf>;
mf:result <rdfms-seq-representation/test002.nt> .

<#rdfms-syntax-incomplete-test001> a rdft:TestXMLEval;
mf:name "rdfms-syntax-incomplete-test001";
rdfs:comment """
Expand Down Expand Up @@ -1669,6 +1698,15 @@ ignored.
mf:action <xml-canon/test001.rdf>;
mf:result <xml-canon/test001.nt> .

<#xml-canon-test002> a rdft:TestXMLEval;
mf:name "xml-canon-test002";
rdfs:comment """
Canonicalization of XMLLiterals with reification.
""";
rdft:approval rdft:Approved;
mf:action <xml-canon/test002.rdf>;
mf:result <xml-canon/test002.nt> .

<#xmlbase-test001> a rdft:TestXMLEval;
mf:name "xmlbase-test001";
rdfs:comment """
Expand Down
7 changes: 7 additions & 0 deletions rdf/rdf11/rdf-xml/rdf-node-element/test001.nt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Please see the full Copyright clause at
# <http://www.w3.org/Consortium/Legal/copyright-software.html>
#
#####################################################################
<http://example.org/Book> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/terms#Book> .
<http://example.org/Book> <http://example.org/terms#title> "Dogs in Hats" .
22 changes: 22 additions & 0 deletions rdf/rdf11/rdf-xml/rdf-node-element/test001.rdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!--
Copyright World Wide Web Consortium, (Massachusetts Institute of
Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University).

All Rights Reserved.

Please see the full Copyright clause at
<http://www.w3.org/Consortium/Legal/copyright-software.html>

Description: A node element that does not use rdf:Description creates a type.
-->

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ex="http://example.org/terms#">

<ex:Book rdf:about="http://example.org/Book">
<ex:title>Dogs in Hats</ex:title>
</ex:Book>

</rdf:RDF>
4 changes: 2 additions & 2 deletions rdf/rdf11/rdf-xml/rdf-ns-prefix-confusion/test0001.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

List of RDF attributes that are required to have an rdf: prefix
about aboutEach
ID bagID type resource parseType
about
ID type resource parseType

Dave Beckett - http://purl.org/net/dajobe/

Expand Down
4 changes: 2 additions & 2 deletions rdf/rdf11/rdf-xml/rdf-ns-prefix-confusion/test0003.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

List of RDF attributes that are required to have an rdf: prefix
about aboutEach
ID bagID type resource parseType
about
ID type resource parseType

Dave Beckett - http://purl.org/net/dajobe/

Expand Down
4 changes: 2 additions & 2 deletions rdf/rdf11/rdf-xml/rdf-ns-prefix-confusion/test0004.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

List of RDF attributes that are required to have an rdf: prefix
about aboutEach
ID bagID type resource parseType
about
ID type resource parseType

Dave Beckett - http://purl.org/net/dajobe/

Expand Down
4 changes: 2 additions & 2 deletions rdf/rdf11/rdf-xml/rdf-ns-prefix-confusion/test0005.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

List of RDF attributes that are required to have an rdf: prefix
about aboutEach
ID bagID type resource parseType
about
ID type resource parseType

Dave Beckett - http://purl.org/net/dajobe/

Expand Down
4 changes: 2 additions & 2 deletions rdf/rdf11/rdf-xml/rdf-ns-prefix-confusion/test0006.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

List of RDF attributes that are required to have an rdf: prefix
about aboutEach
ID bagID type resource parseType
about
ID type resource parseType

Dave Beckett - http://purl.org/net/dajobe/

Expand Down
Loading