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

Confused by the eg-ga example #199

Closed
larsgsvensson opened this issue Apr 19, 2018 · 3 comments
Closed

Confused by the eg-ga example #199

larsgsvensson opened this issue Apr 19, 2018 · 3 comments
Assignees
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days profiles-vocabulary For discussion of profile description vocabulary
Milestone

Comments

@larsgsvensson
Copy link
Contributor

Hi Rob, hi Nicholas,

I've had a closer look at the profiles ontology and the examples and I think I begin to understand the model. However, I'm a bit confused by the eg-ga example. It first says (all turtles reduced to the bare minimum):

<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014>
    a prof:Profile ;
    prof:resource <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> ,
        <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014> ,
        <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016> . 

That's fine. But then it goes on to say:

<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: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: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:format "text/xml"	.

So <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014> uses prof:resource to link to the three prof:ImplResourceDesc which seems OK, but then the instances of prof:ImplResourceDesc again use prof:resource to link to schematron, XSD and html documents, which I find a bit confusing, particularly since <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> refers to itself. Are really both <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016> and the XSD file associated with it (<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016/gapm.xsd>) instances of prof:ImpleResourceDesc and if so, how do I know which role they play (the first one being a more abstract descriptor and the latter being something I can really use for validation)?

Thanks for any insights,

Lars

@kcoyle kcoyle added the profiles-vocabulary For discussion of profile description vocabulary label Feb 17, 2019
@nicholascar nicholascar added this to the PROF 3PWD milestone Aug 18, 2019
@nicholascar
Copy link
Contributor

This issue has now been addressed by a series of updates to the GA example (see https://www.w3.org/TR/dx-prof/#example-7-ga-profile-of-iso19115-according-to-prof-in-rdf-turtle) so this comment is no longer relevant.

@larsgsvensson are you happy with the updated example?

@nicholascar nicholascar added the due for closing Issue that is going to be closed if there are no objection within 6 days label Aug 22, 2019
@larsgsvensson
Copy link
Contributor Author

Yes, much happier, thank you.

I COULD start picking nits about the use of IANA-URIs vs w3id-URIs for media types, but I won't...

@nicholascar
Copy link
Contributor

Closing after listing in plenary 2019-09-03 + 3-day wait period.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
due for closing Issue that is going to be closed if there are no objection within 6 days profiles-vocabulary For discussion of profile description vocabulary
Projects
None yet
Development

No branches or pull requests

4 participants