ckanext-dcat
ckanext-dcat copied to clipboard
examples don't comply with DCAT ontology
http://extensions.ckan.org/extension/dcat/#rdf-dcat-to-ckan-dataset-mapping column "Stored as" does not always comply with the DCAT ontology.
For example, dcat:accessURL a rdf:Property, owl:ObjectProperty
so it must be a resource (URL) not literal (text). Checking some of your examples (including dynamic ones at demo.ckan.org), there are many problems, eg:
- https://github.com/ckan/ckanext-dcat/blob/master/examples/dataset_deri.ttl: ok
- https://github.com/ckan/ckanext-dcat/blob/master/examples/dataset_afs.ttl: nok. Uses literals with no datatype (also nok for dct:license)
- https://github.com/ckan/ckanext-dcat/blob/master/examples/dataset.rdf: nok. Uses literals with datatype xsd:anyURI (but ok for dct:license)
- http://demo.ckan.org/dataset/newcastle-city-council-payments-over-500.ttl: nok. Uses literals with no datatype. Same for dcat:landingPage. dcat:byteSize nok: 850440.0 is xsd:decimal but better be 850440 (xsd:integer). Though DCAT says just rdf:Literal, it's clear that byteSize cannot be a fractional number
hi @VladimirAlexiev thanks for the feedback!
You are correct regarding literals vs resources. We fix this in the code (#66) but not on the examples. Would you mind submitting a PR that fixed them?
Cheers