Skip to content

Instantly share code, notes, and snippets.

@axiomsofchoice
Created September 14, 2011 14:56
Show Gist options
  • Save axiomsofchoice/1216781 to your computer and use it in GitHub Desktop.
Save axiomsofchoice/1216781 to your computer and use it in GitHub Desktop.
Using reconciliation data from the (DBpedia) SPARQL endpoint to output URIs in RDF with the Google Refine RDF extension - slightly hacky :)
if( cell.recon.matched, cell.recon.match.id, "http://dbpedia.org/resource/"+escape(cell.value.replace(/\s/,"_"),'url'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment