W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > April 2018

[dxwg] Confused by the eg-ga example

From: Lars G. Svensson via GitHub <sysbot+gh@w3.org>
Date: Thu, 19 Apr 2018 14:53:41 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issues.opened-315913779-1524149620-sysbot+gh@w3.org>
larsgsvensson has just created a new issue for https://github.com/w3c/dxwg:

== Confused by the eg-ga example ==
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](https://github.com/w3c/dxwg/blob/gh-pages/profiledesc/examples/eg_ga.ttl). It first says (all turtles reduced to the bare minimum):
    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:
    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" .

    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"	.

    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,


Please view or discuss this issue at https://github.com/w3c/dxwg/issues/199 using your GitHub account
Received on Thursday, 19 April 2018 14:53:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:02 UTC