Closed seanh closed 11 years ago
My plan is to implement a paster command that fetches the list of converted resources and adds RDF Mapping and RDF Data URLs to the resources in CKAN (as extra fields probably). It should also remove any links from resources that no longer appear in the list. The command can be run manually from a shell and/or automatically from CRON. Then the frontend should simply be able to pull these links out of the resource dict and use them.
@johnmartin Handing this over to you. I've written a script that adds rdf_mapping and rdf_data fields to those resources that have RDF versions on CSV2RDF, and added RDF links on the dataset and resource pages. Let me know if you want to make it look any better or want to add the popover thing, or if you think I should just deploy it as is.
Resource listing on dataset page:
Top of resource page:
@seanh This is good for the time being. However once https://github.com/okfn/ckan/pull/301 get's merged I'd like to update this in order to add the "RDF" link to the dropdown.
Should we wait for https://github.com/okfn/ckan/pull/301 to be merged and then tweak this?
Let's deploy this now, actually, it already got deployed when I updated the about page :)
http://publicdata.eu/dataset/-municipal-waste-generation-in-england-from-2000-01-to-2009-10
Which is good because we promised to the ULEI folks a while ago.
So let's just tweak it and redeploy when we can
Playing with GitHub's new task lists:
Add RDF links next to resources (both next to the resource on the dataset page, and on the resource's own page), linking to the corresponding csv2rdf wiki page, e.g.: http://wiki.publicdata.eu/wiki/Csv2rdf:676e2f9b-c05f-4fd5-844a-25497c3c2c9e.
Optional bonus feature, Soren also suggested that it would be nice if on hovering over the RDF button a small overlay/popup window appeared containing two links "RDF Data" and "RDF Mapping", where the mapping would be a link to the wiki page and the data would be a direct link to the RDF file itself e.g.: http://csv2rdf.aksw.org/sparqlified/676e2f9b-c05f-4fd5-844a-25497c3c2c9e_default-tranformation-configuration.rdf. Maybe show the popup on click as well as/or instead of hover (should behave the same as similar popups or dropdowns or whatever is used in CKAN).
Note that only some of the resources in publicdata.eu have been converted to RDF, and only those resources should have RDF links on them, a list of the converted resources is here: http://csv2rdf.aksw.org/get_exposed_rdf_list.