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

rdf:resource expected, has rdf:about #9

Closed pvgenuchten closed 3 years ago

pvgenuchten commented 3 years ago

At https://github.com/SEMICeu/iso-19139-to-dcat-ap/blob/e7aa2d802f6e337ffce64c9167c66b835916f421/iso-19139-to-dcat-ap.xsl#L1975 seems reference is made to a catalogRecord, use of rdf:about seems wrong, expected rdf:resource as well as https://github.com/SEMICeu/iso-19139-to-dcat-ap/blob/e7aa2d802f6e337ffce64c9167c66b835916f421/iso-19139-to-dcat-ap.xsl#L1992

andrea-perego commented 3 years ago

Actually, @rdf:about is correct here, as it specifies the URI of a class instance (dcat:CatalogRecord).

It should have been @rdf:resource if used with a property - e.g.:

...
  <foaf:isPrimaryTopicOf rdf:resource="xyz"/>
...

<dcat:CatalogRecord rdf:about="xyz"/>
pvgenuchten commented 3 years ago

Ok, thanx for pointing