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

Profiledesc working #198

Merged
merged 4 commits into from May 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file modified profiledesc/examples/eg_dcat-ap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified profiledesc/examples/eg_dcat.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified profiledesc/examples/eg_ga.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions profiledesc/examples/eg_ga.ttl
Expand Up @@ -40,19 +40,19 @@ ga:ISO19115-1-2014 a prof:BaseSpecification ;
<http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> a prof:ImplResourceDesc;
rdfs:label "GA Profile Schematron";
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> ;
prof:resourceType eg:Schematron;
dct:conformsTo eg:Schematron;
dct:format "text/xml" .

<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014> a prof:ImplResourceDesc;
rdfs:label "GA Profile Document";
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> ;
prof:resourceType eg:WebPage ;
dct:conformsTo eg:WebPage ;
dct:format "text/html" .

<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016> a prof:ImplResourceDesc;
rdfs:label "GA Profile XML Schema";
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016/gapm.xsd> ;
prof:resourceType eg:XSDSchema ;
dct:conformsTo eg:XSDSchema ;
dct:format "text/xml" .

eg:Schematron a dct:MediaTypeOrExtent ;
Expand Down
4 changes: 2 additions & 2 deletions profiledesc/examples/profiledesc_examples.ttl
Expand Up @@ -39,7 +39,7 @@ eg:prof_examples
eg:dcat-owl a prof:ImplResourceDesc;
rdfs:label "DCAT-AP-V1.0 SHACL constraints";
prof:resource <http://data.europa.eu/w21/016d88c3-a0b3-4506-ae4e-758e7401c096> ;
prof:resourceType owl:Ontology;
dct:conformsTo owl:Ontology;
.


Expand All @@ -58,7 +58,7 @@ eg:dcat-owl a prof:ImplResourceDesc;
eg:dcat-shacl a prof:ImplResourceDesc;
rdfs:label "DCAT-AP-V1.0 SHACL constraints";
prof:resource <http://data.europa.eu/w21/016d88c3-a0b3-4506-ae4e-758e7401c096> ;
prof:resourceType eg:shacl;
dct:conformsTo eg:shacl;
dct:format <http://www.w3.org/ns/shacl#>;
.

Expand Down
Binary file modified profiledesc/profiledesc-diagrams.pptx
Binary file not shown.
Binary file modified profiledesc/profiledesc.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 8 additions & 11 deletions profiledesc/profiledesc.ttl
Expand Up @@ -96,12 +96,6 @@ rdfs:comment "Some roles are offered in a Roles vocabulary with this ontology."
rdfs:range skos:Concept .


### http://promsns.org/def/prof#resourceType
prof:resourceType rdf:type owl:ObjectProperty ;
rdfs:label "Type (model) of implementation resource" ;
rdfs:comment "e.g. SHACL" ;
rdfs:domain prof:ImplResourceDesc ;
rdfs:range skos:Concept .


### http://promsns.org/def/prof#token
Expand Down Expand Up @@ -151,15 +145,18 @@ prof:ImplResourceDesc rdf:type owl:Class ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ,
[ rdf:type owl:Restriction ;
owl:onProperty prof:resourceType ;
rdfs:comment "Each implementing resource will also conform to some specification, which may in turn be a profile" ;
owl:onProperty dct:conformsTo ;
owl:cardinality "1"^^xsd:nonNegativeInteger
] ;
rdfs:label "Implementation Resource Descriptor"@en ;
dc:description "A resource that defines implementing rules for a profile. Must indicate the purpose (dct:type) and the formalism (dct:format) used to allow machine mediation of such rules."@en .

### http://promsns.org/def/prof#ImplResourceType
prof:ImplResourceType rdf:type owl:Class ;
rdfs:subClassOf skos:Concept .
### http://promsns.org/def/prof#ImplResourceRole
prof:ImplResourceRole rdf:type owl:Class ;
rdfs:subClassOf skos:Concept ;
rdfs:label "Implementation Resource Role" ;
rdfs:comment "The role that an Implementation Resource plays. Specific terms must come from a vocabulary."@en .


### http://promsns.org/def/prof#Profile
Expand All @@ -169,7 +166,7 @@ prof:Profile
rdfs:label "Implementation Profile" ;
dc:description "A named set of constraints on one or more identified base specifications, including the identification of any implementing subclasses of datatypes, semantic interpretations, vocabularies, options and parameters of those base specifications necessary to accomplish a particular function."@en;
dc:source <https://www.w3.org/2017/dxwg/wiki/ProfileContext> ;
rdfs:comment "Profile is modelled as a skos:Concept to explicitly support the notion of profiles organised as classification taxonomies. skos:broader/narrower and broaderTransitive properties may be used ";
rdfs:comment "Profile is modelled as a skos:Concept to explicitly support the notion of profiles organised as classification taxonomies. SKOS semantic relations such as skos:broader/narrower and broaderTransitive properties may be used. ";
.


Expand Down
Expand Up @@ -13,25 +13,25 @@
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:conformanceTest a prof:ImplResourceType,
:conformanceTest a prof:ImplResourceRole,
owl:NamedIndividual ;
skos:prefLabel "Conformance Test Constraints" ;
skos:definition "Constraints specifying a conformance Test"@en ;
skos:topConceptOf prof:resourceRoles .

:fullConstraints a prof:ImplResourceType,
:fullConstraints a prof:ImplResourceRole,
owl:NamedIndividual ;
skos:prefLabel "Full Constraints" ;
skos:definition "Complete set of constraints for a profile"@en ;
skos:topConceptOf prof:resourceRoles .

:guidance a prof:ImplResourceType,
:guidance a prof:ImplResourceRole,
owl:NamedIndividual ;
skos:prefLabel "Guidance" ;
skos:definition "Guidance notes of profile"@en ;
skos:topConceptOf prof:resourceRoles .

:partConstraints a prof:ImplResourceType,
:partConstraints a prof:ImplResourceRole,
owl:NamedIndividual ;
skos:prefLabel "Part Constraints" ;
skos:definition "Partial set of constraints for a profile"@en ;
Expand Down
Binary file removed profiledesc/resource_role_types.png
Binary file not shown.
Binary file added profiledesc/resource_roles.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.