atviriduomenys / spinta

Spinta is a framework to describe, extract and publish data (a DEP Framework).
MIT License
10 stars 4 forks source link

Error in SPARQL RDFS query #486

Open sirex opened 1 year ago

sirex commented 1 year ago

We have following dcat:accessURL definition in the dcat2.ttl file:

dcat:accessURL
  a rdf:Property ;
  rdfs:domain dcat:Distribution ;
  rdfs:range rdfs:Resource .

This means, that dcat:accessURL is property of dcat:Distribution, not rdfs:Resource. So there should be no line here.

Also accessurl should be converted to access_url: accessURL -> access_url.

_Originally posted by @sirex in https://github.com/atviriduomenys/spinta/pull/443#discussion_r1211111929_

Related

sirex commented 1 year ago

There is probably an error in SPARQL query, which returns dcat:accessURL with rdfs:Resource as domain of dcat:Distribution.