SEMICeu / iso-19139-to-dcat-ap

Reference XSLT-based implementation of GeoDCAT-AP
European Union Public License 1.2
15 stars 9 forks source link

use of organization vs description@type=organisation #13

Closed pvgenuchten closed 3 years ago

pvgenuchten commented 3 years ago

we received a comment about the prefered use of

<vcard:Organization rdf:about="http://example.org/ga-courts#GA">
    <rdfs:label xml:lang="en">Commonwealth of Australia (Geoscience Australia)</rdfs:label>
    <vcard:country-name>Australia</vcard:country-name>
    <vcard:email rdf:resource="mailto:sales@ga.gov.au"/>
</vcard:Organization>

over

  <rdf:Description rdf:about="https://resources.stockholm.se/code-list/organisation/Jordbruksverket/gis.support">
            <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
            <vcard:fn xml:lang="sv">Jordbruksverket</vcard:fn>
            <vcard:hasEmail rdf:resource="mailto:gis.support@jordbruksverket.se"/>
  </rdf:Description>

the second approach could create blank nodes, can you confirm this?

andrea-perego commented 3 years ago

@pvgenuchten , as far as I can see, neither will generate blank nodes.

The only issues I see are the following ones:

The revised examples:

<vcard:Organization rdf:about="http://example.org/ga-courts#GA">
  <rdfs:label xml:lang="en">Commonwealth of Australia (Geoscience Australia)</rdfs:label>
  <vcard:fn xml:lang="en">Commonwealth of Australia (Geoscience Australia)</vcard:fn>
  <vcard:country-name>Australia</vcard:country-name>
  <vcard:email rdf:resource="mailto:sales@ga.gov.au"/>
</vcard:Organization>
<rdf:Description rdf:about="https://resources.stockholm.se/code-list/organisation/Jordbruksverket/gis.support">
  <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Organization"/>
  <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Organization"/>
  <vcard:fn xml:lang="sv">Jordbruksverket</vcard:fn>
  <vcard:hasEmail rdf:resource="mailto:gis.support@jordbruksverket.se"/>
</rdf:Description>
pvgenuchten commented 3 years ago

Thanx andrea