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

Comments

@larsgsvensson
Copy link
Contributor

@larsgsvensson larsgsvensson commented Apr 19, 2018

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

@nicholascar

This comment has been minimized.

Copy link
Contributor

@nicholascar nicholascar commented Aug 22, 2019

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?

@larsgsvensson

This comment has been minimized.

Copy link
Contributor Author

@larsgsvensson larsgsvensson commented Aug 22, 2019

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

This comment has been minimized.

Copy link
Contributor

@nicholascar nicholascar commented Sep 7, 2019

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

@nicholascar nicholascar closed this Sep 7, 2019
Profile Guidance automation moved this from To do to Done Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.