Skip to content

Instantly share code, notes, and snippets.

@mdlincoln
Last active Jul 29, 2019
Embed
What would you like to do?
Getty open refine strings
'http://vocab.getty.edu/sparql.json?query=select+distinct*{?x+skos:inScheme+aat:;(xl:prefLabel|xl:altLabel)/gvp:term"' + escape(value, 'url') + '"@en}'
'http://vocab.getty.edu/sparql.json?query=select+distinct+*+where+{+?x+skos:inScheme+ulan:;+gvp:broaderInstantial+ulan:500000002;+foaf:focus/gvp:biographyPreferred/gvp:estStart+?born;+foaf:focus/gvp:biographyPreferred/gvp:estEnd+?died;+luc:text+"'+cells["realname"].value+'";+filter(?died+>=+"'+cells["birth"].value+'"^^xsd:gYear+%26%26+?born+<=+"'+cells["death"].value+'"^^xsd:gYear)}+limit+1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment