Skip to content

Commit

Permalink
Merge pull request #48 from nicholascar/issue-32
Browse files Browse the repository at this point in the history
Address Issue 32
  • Loading branch information
nicholascar authored Feb 7, 2024
2 parents 6314150 + c962f42 commit 54778f0
Show file tree
Hide file tree
Showing 6 changed files with 264 additions and 227 deletions.
18 changes: 9 additions & 9 deletions connegp-implementation-report/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ var respecConfig = {
name: "Rob Atkinson",
company: "Metalinkage, Open Geospatial Consortium",
companyURL: "http://www.opengeospatial.org/",
orcid: "0000-0002-7878-2693"
},
{
name: "Nicholas J. Car",
mailto: "[email protected]",
company: "SURROUND Australia Pty Ltd and before at CSIRO",
companyURL: "https://surroundaustralia.com",
orcid: "0000-0002-8742-7730",
w3cid: 70131
orcid: "0000-0002-7878-2693"
},
{
name: "Nicholas J. Car",
mailto: "[email protected]",
company: "KurrawongAI, previously SURROUND Australia and before CSIRO",
companyURL: "https://kurrawong.ai",
orcid: "0000-0002-8742-7730",
w3cid: 70131
},
{
name: "Yousouf Taghzouti",
mailto: "[email protected]",
company: "Mines Saint-Étienne, Institut Mines-Télécom",
Expand Down
98 changes: 54 additions & 44 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: <https://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:domain rdfs: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
rdfs: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, rdfs: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 @@ -23,9 +23,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> ;
.
Loading

0 comments on commit 54778f0

Please sign in to comment.