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

Address Issue 32 #48

Merged
merged 9 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 3 additions & 3 deletions connegp-implementation-report/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ var respecConfig = {
},
{
name: "Nicholas J. Car",
mailto: "[email protected]",
company: "SURROUND Australia Pty Ltd and before at CSIRO",
companyURL: "https://surroundaustralia.com",
mailto: "[email protected]",
company: "KurrawongAI, previously SURROUND Australia and before CSIRO",
companyURL: "https://kurrawong.ai",
orcid: "0000-0002-8742-7730",
w3cid: 70131
}],
Expand Down
94 changes: 52 additions & 42 deletions connegp/altr.ttl
Original file line number Diff line number Diff line change
@@ -1,80 +1,90 @@
@prefix altp: <http://www.w3.org/ns/dx/connegp/altp#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sdo: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
PREFIX altr: <http://www.w3.org/ns/dx/connegp/altr#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX sdo: <http://schema.org/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>

<http://www.w3.org/ns/dx/connegp/altp>
<http://www.w3.org/ns/dx/connegp/altr>
a owl:Ontology ;
rdfs:label "Alternative Profiles Ontology" ;
rdfs:comment """This ontology allows for the description of representations of Internet resources.

Representations may conform to prof:Profile instances and may have the format of a particular dct:MediaType."""@en ;
dct:created "2019-08-07"^^xsd:date ;
dct:modified "2019-08-10"^^xsd:date ;
dct:creator [
Representations may conform to prof:Profile instances and may have the format of a particular dcterms:MediaType."""@en ;
dcterms:created "2019-08-07"^^xsd:date ;
dcterms:modified "2023-08-23"^^xsd:date ;
dcterms:creator [
a sdo:Person ;
sdo:affiliation [
sdo:name "SURROUND Australia Pty Ltd" ;
sdo:url <https://surroundaustralia.com>
] ;
sdo:email <mailto:[email protected]> ;
sdo:affiliation <https://kurrawong.ai> ;
sdo:email <mailto:[email protected]> ;
sdo:identifier <http://orcid.org/0000-0002-8742-7730> ;
sdo:name "Nicholas J. Car"
] .
sdo:name "Nicholas J. Car" ;
] ;
.

<https://kurrawong.ai>
a sdo:Organization ;
sdo:name "KurrawongAI" ;
sdo:url "https://kurrawong.ai"^^xsd:anyURI ;
.

dct:conformsTo
dcterms:conformsTo
a owl:ObjectProperty ;
rdfs:label "conforms to" ;
dct:source dct:conformsTo ;
skos:scopeNote "Use this property to indicate a dct:Standard that a altp:Representation conforms to." .
dcterms:source dcterms:conformsTo ;
skos:scopeNote "Use this property to indicate a dcterms:Standard that a altr:Representation conforms to." ;
.

altp:hasRepresentation
altr:hasRepresentation
a owl:ObjectProperty ;
rdfs:label "has representation" ;
skos:definition "Indicates a Representation of a Resource."@en ;
rdfs:domain rdf:Resource ;
rdfs:range altp:Representation ;
skos:scopeNote "Use this property to indicate a the HTTP-delivered representation of a resource." .
rdfs:range altr:Representation ;
skos:scopeNote "Use this property to indicate a the HTTP-delivered representation of a resource." ;
.

altp:hasDefaultRepresentation
altr:hasDefaultRepresentation
a owl:ObjectProperty ;
rdfs:label "has default representation" ;
skos:definition "Indicates the default Representation of a Resource."@en ;
rdfs:subPropertyOf altp:hasRepresentation ;
skos:scopeNote "Use this property to indicate the default HTTP-delivered representation of a resource that is obtained when no further instructions are given to a server to obtain a resource's representation other than the identification (URI) of the resource" .
rdfs:subPropertyOf altr:hasRepresentation ;
skos:scopeNote "Use this property to indicate the default HTTP-delivered representation of a resource that is obtained when no further instructions are given to a server to obtain a resource's representation other than the identification (URI) of the resource" ;
.

rdf:Resource
a owl:Class ;
rdfs:label "Resource" ;
skos:definition "The class resource, everything."@en ;
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty altp:hasRepresentation ;
owl:allValuesFrom altp:Representation
owl:onProperty altr:hasRepresentation ;
owl:allValuesFrom altr:Representation ;
] ;
dct:source "http://www.w3.org/2000/01/rdf-schema#Resource" ;
skos:scopeNote "In the context of this mode, rdf:Resource instances are used to identify Internet resources, that is items identified by a URI." .
dcterms:source "http://www.w3.org/2000/01/rdf-schema#Resource" ;
skos:scopeNote "In the context of this mode, rdf:Resource instances are used to identify Internet resources, that is items identified by a URI." ;
.

altp:Representation
altr:Representation
a owl:Class ;
rdfs:label "Representation" ;
skos:definition "An abstraction of the current or desired state of a thing in HTTP communications."@en ;
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty dct:conformsTo ;
owl:allValuesFrom dct:Standard
owl:onProperty dcterms:conformsTo ;
owl:allValuesFrom dcterms:Standard ;
] ;
dct:source <https://httpwg.org/specs/rfc7230.html> ;
rdfs:isDefinedBy <http://www.w3.org/ns/dx/connegp/altp> ;
skos:scopeNote "Use this class to indicate instances of representations of resources" .
dcterms:source <https://httpwg.org/specs/rfc7230.html> ;
rdfs:isDefinedBy <http://www.w3.org/ns/dx/connegp/altr> ;
skos:scopeNote "Use this class to indicate instances of representations of resources" ;
.

dct:Standard
dcterms:Standard
a owl:Class ;
rdfs:label "Standard" ;
skos:definition "A basis for comparison; a reference point against which other things can be evaluated."@en ;
dct:source "http://purl.org/dc/terms/Standard" ;
skos:scopeNote "In the context of this mode, use this class to indicate instances of information models that representations of resources can conform to." .
dcterms:source "http://purl.org/dc/terms/Standard" ;
skos:scopeNote "In the context of this mode, use this class to indicate instances of information models that representations of resources can conform to." ;
.
6 changes: 3 additions & 3 deletions connegp/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ var respecConfig = {
},
{
name: "Nicholas J. Car",
mailto: "[email protected]",
company: "SURROUND Australia Pty Ltd and before at CSIRO",
companyURL: "https://surroundaustralia.com",
mailto: "[email protected]",
company: "KurrawongAI, previously SURROUND Australia and before CSIRO",
companyURL: "https://kurrawong.ai",
orcid: "0000-0002-8742-7730",
w3cid: 70131
}],
Expand Down
39 changes: 21 additions & 18 deletions connegp/example10.ttl
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
PREFIX altr: <http://www.w3.org/ns/dx/connegp/altr#>
PREFIX dcterms: <http://purl.org/dc/terms/>

<http://example.org/resource/a>
altp:hasDefaultRepresentation [
dct:format "text/turtle" ;
dct:conformsTo <urn:example:profile:x> ;
] ;
altp:hasRepresentation [
dct:format "text/turtle" ;
dct:conformsTo <urn:example:profile:y> ;
] ,
[
dct:format "application/xml" ;
dct:conformsTo <urn:example:profile:x> ;
] ,
<http://example.org/resource/different> ,
[
dct:format "text/html" ;
]
altr:hasDefaultRepresentation [
dcterms:format "text/turtle" ;
dcterms:conformsTo <urn:example:profile:x> ;
] ;
altr:hasRepresentation [
dcterms:format "text/turtle" ;
dcterms:conformsTo <urn:example:profile:y> ;
] ,
[
dcterms:format "application/xml" ;
dcterms:conformsTo <urn:example:profile:x> ;
] ,
<http://example.org/resource/different> ,
[
dcterms:format "text/html" ;
]
.


<http://example.org/resource/different>
dct:format "application/xml" ;
dct:conformsTo <urn:example:profile:y>
dcterms:format "application/xml" ;
dcterms:conformsTo <urn:example:profile:y> ;
.
113 changes: 54 additions & 59 deletions connegp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ <h4>HTTP Alternate Representations Data Model Implementation</h4>
<td><code>rdf:Resource</code></td><td>the <em>link context</em> URI indicates an instance of rdf:Resource</td>
</tr>
<tr>
<td><code>altp:Representation</code></td><td>the <em>link target</em> URI indicates an instance altp:Representation</td>
<td><code>altr:Representation</code></td><td>the <em>link target</em> URI indicates an instance altr:Representation</td>
</tr>
<tr>
<td><code>dct:Standard</code></td><td>a <em>target attribute</em> of <code>profile</code> indicates the URI of an instance of dct:Standard, if present</td>
Expand All @@ -1061,10 +1061,10 @@ <h4>HTTP Alternate Representations Data Model Implementation</h4>
<td><code>dct:conformsTo</code></td><td>the implicit relation between the <em>link target</em> URI and the <em>target attribute</em> <code>profile</code> URI</td>
</tr>
<tr>
<td><code>altp:hasRepresentation</code></td><td>the implicit relation between the <em>link context</em> URI and the <em>link target</em> URI where a <em>relation type</em> of <code>alternate</code> is given</td>
<td><code>altr:hasRepresentation</code></td><td>the implicit relation between the <em>link context</em> URI and the <em>link target</em> URI where a <em>relation type</em> of <code>alternate</code> is given</td>
</tr>
<tr>
<td><code>altp:hasDefaultRepresentation</code></td><td>the implicit relation between the <em>link context</em> URI and the <em>link target</em> URI where a <em>relation type</em> of <code>canonical</code> is given</td>
<td><code>altr:hasDefaultRepresentation</code></td><td>the implicit relation between the <em>link context</em> URI and the <em>link target</em> URI where a <em>relation type</em> of <code>canonical</code> is given</td>
</tr>
</table>
<figcaption>
Expand All @@ -1079,7 +1079,7 @@ <h4>HTTP Alternate Representations Data Model Implementation</h4>
class="example nohighlight" aria-busy="false" aria-live="polite"
title="HTTP Link header mapping to Alternate Profiles Data Model">
# Link headers from previous example with one altered to show Blank Node v.
# absolute URIs for altp:Representation class instance
# absolute URIs for altr:Representation class instance
# (&lt;http://example.org/resource/a&gt;; &rarr; &lt;http://example.org/resource/different&gt;;)
Link:
&lt;http://example.org/resource/a&gt;;
Expand All @@ -1105,11 +1105,11 @@ <h4>HTTP Alternate Representations Data Model Implementation</h4>
# Link headers above represented in Alternate Profiles Data Model
# as an OWL ontology
&lt;http://example.org/resource/a&gt;
altp:hasDefaultRepresentation [
altr:hasDefaultRepresentation [
dct:format "text/turtle" ;
dct:conformsTo &lt;urn:example:profile:x> ;
] ;
altp:hasRepresentation [
altr:hasRepresentation [
dct:format "text/turtle" ;
dct:conformsTo &lt;urn:example:profile:y> ;
] ,
Expand Down Expand Up @@ -2352,62 +2352,61 @@ <h4>Implementations</h4>
<div id="altr-owl"
class="codelisting nohighlight" aria-busy="false" aria-live="polite"
title="Alternate Profiles Data Model as an OWL ontology"><div class="codelisting-title"><a href="#altr-owl">CODE LISTING 3</a>: Alternate Profiles Data Model as an OWL ontology</div>
@prefix altr: &lt;http://www.w3.org/ns/dx/connegp/altr#> .
@prefix dct: &lt;http://purl.org/dc/terms/> .
@prefix owl: &lt;http://www.w3.org/2002/07/owl#> .
@prefix rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sdo: &lt;http://schema.org/> .
@prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: &lt;http://www.w3.org/2004/02/skos/core#> .
PREFIX altr: &lt;http://www.w3.org/ns/dx/connegp/altr#>
PREFIX dcterms: &lt;http://purl.org/dc/terms/>
PREFIX owl: &lt;http://www.w3.org/2002/07/owl#>
PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX sdo: &lt;http://schema.org/>
PREFIX xsd: &lt;http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: &lt;http://www.w3.org/2004/02/skos/core#>

&lt;http://www.w3.org/ns/dx/connegp/altr>
a owl:Ontology ;
rdfs:label "Alternative Profiles Ontology" ;
rdfs:comment """This ontology allows for the description of representations
of Internet resources.

Representations may conform to dct:Standard instances and may
have the format of a particular dct:MediaType."""@en ;
dct:created "2019-08-07"^^xsd:date ;
dct:modified "2019-08-10"^^xsd:date ;
dct:creator [
rdfs:comment """This ontology allows for the description of representations of Internet resources.

Representations may conform to prof:Profile instances and may have the format of a particular dcterms:MediaType."""@en ;
dcterms:created "2019-08-07"^^xsd:date ;
dcterms:modified "2023-08-23"^^xsd:date ;
dcterms:creator [
a sdo:Person ;
sdo:affiliation [
sdo:name "SURROUND Australia Pty Ltd" ;
sdo:url &lt;https://surroundaustralia.com>
] ;
sdo:email &lt;mailto:[email protected]> ;
sdo:affiliation &lt;https://kurrawong.ai> ;
sdo:email &lt;mailto:[email protected]> ;
sdo:identifier &lt;http://orcid.org/0000-0002-8742-7730> ;
sdo:name "Nicholas J. Car"
] .
sdo:name "Nicholas J. Car" ;
] ;
.

&lt;https://kurrawong.ai>
a sdo:Organization ;
sdo:name "KurrawongAI" ;
sdo:url "https://kurrawong.ai"^^xsd:anyURI ;
.

dct:conformsTo
dcterms:conformsTo
a owl:ObjectProperty ;
rdfs:label "conforms to" ;
rdfs:range dct:Standard ;
skos:scopeNote "Use this property to indicate the data profile that
the altr:Representation conforms to." .
dcterms:source dcterms:conformsTo ;
skos:scopeNote "Use this property to indicate a dcterms:Standard that a altr:Representation conforms to." ;
.

altr:hasRepresentation
a owl:ObjectProperty ;
rdfs:label "has representation" ;
skos:definition "Indicates a Representation of a Resource."@en ;
rdfs:domain rdf:Resource ;
rdfs:range altr:Representation ;
skos:scopeNote "Use this property to indicate the HTTP-delivered
representation of a resource." .
skos:scopeNote "Use this property to indicate a the HTTP-delivered representation of a resource." ;
.

altr:hasDefaultRepresentation
a owl:ObjectProperty ;
rdfs:label "has default representation" ;
skos:definition "Indicates the default Representation of a Resource."@en ;
rdfs:subPropertyOf altr:hasRepresentation ;
skos:scopeNote "Use this property to indicate the default HTTP-delivered
representation of a resource that is obtained when no
further instructions are given to a server to obtain a
resource's representation other than the identification
(URI) of the resource" .
skos:scopeNote "Use this property to indicate the default HTTP-delivered representation of a resource that is obtained when no further instructions are given to a server to obtain a resource's representation other than the identification (URI) of the resource" ;
.

rdf:Resource
a owl:Class ;
Expand All @@ -2416,37 +2415,33 @@ <h4>Implementations</h4>
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty altr:hasRepresentation ;
owl:allValuesFrom altr:Representation
owl:allValuesFrom altr:Representation ;
] ;
dct:source "http://www.w3.org/2000/01/rdf-schema#Resource" ;
skos:scopeNote "In the context of this mode, rdf:Resource instances are
used to identify Internet resources, that is items
identified by a URI." .
dcterms:source "http://www.w3.org/2000/01/rdf-schema#Resource" ;
skos:scopeNote "In the context of this mode, rdf:Resource instances are used to identify Internet resources, that is items identified by a URI." ;
.

altr:Representation
a owl:Class ;
rdfs:label "Representation" ;
skos:definition "An abstraction of the current or desired state of a
thing in HTTP communications."@en ;
skos:definition "An abstraction of the current or desired state of a thing in HTTP communications."@en ;
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty dct:conformsTo ;
owl:allValuesFrom dct:Standard
owl:onProperty dcterms:conformsTo ;
owl:allValuesFrom dcterms:Standard ;
] ;
dct:source &lt;https://httpwg.org/specs/rfc7230.html> ;
dcterms:source &lt;https://httpwg.org/specs/rfc7230.html> ;
rdfs:isDefinedBy &lt;http://www.w3.org/ns/dx/connegp/altr> ;
skos:scopeNote "Use this class to indicate instances of representations
of resources" .
skos:scopeNote "Use this class to indicate instances of representations of resources" ;
.

dct:Standard
dcterms:Standard
a owl:Class ;
rdfs:label "Standard" ;
skos:definition "A basis for comparison; a reference point against which
other things can be evaluated."@en ;
dct:source "http://purl.org/dc/terms/Standard" ;
skos:scopeNote "In the context of this mode, use this class to indicate
instances of information models that representations of
resources can conform to." .
skos:definition "A basis for comparison; a reference point against which other things can be evaluated."@en ;
dcterms:source "http://purl.org/dc/terms/Standard" ;
skos:scopeNote "In the context of this mode, use this class to indicate instances of information models that representations of resources can conform to." ;
.
</div>
</section>
<section id="altr-extensions">
Expand Down
Loading