Ticket #2379 (closed enhancement: fixed)

Opened 2 years ago

Last modified 23 months ago

RDF output, api/sparql

Reported by: ross Owned by: ross
Priority: awaiting triage Milestone: ckan-sprint-2012-06-25
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none


From: Pierre-Yves Vandenbussche

In my use case I need to fetch every sparql endpoint associated to a dataset. With the previous version of your endpoint, I was doing this query: SELECT DISTINCT ?dataset ?endpoint ?title ?identifier WHERE {

?dataset <http://www.w3.org/ns/dcat#distribution> ?distribution. ?distribution <http://purl.org/dc/terms/format> [ <http://moat-project.org/ns#taggedWithTag> [ <http://moat-project.org/ns#name> "api/sparql" ] ]. ?distribution <http://www.w3.org/ns/dcat#accessURL> ?endpoint. ?dataset <http://purl.org/dc/terms/title> ?title. ?dataset <http://purl.org/dc/terms/identifier> ?identifier.

} ORDER BY ?title

Using your new version,dcterms:title of a dataset is now a rdfs:label ... OK

Unfortunately, I don't have the information of "api/sparql" anymore. So I can not differentiate between a dump file and a SPARQL endpoint...

Add the required information to the RDF template.

Change History

comment:1 Changed 2 years ago by ross

  • Status changed from new to accepted
  • Milestone changed from ckan-v1.8 to current-ckan-sprint-2012-06-25

comment:2 Changed 23 months ago by ross

  • Status changed from accepted to closed
  • Resolution set to fixed

Implemented in master

Note: See TracTickets for help on using tickets.