{"id":371,"date":"2013-11-20T09:37:38","date_gmt":"2013-11-20T09:37:38","guid":{"rendered":"http:\/\/www.heritagedata.org\/blog\/?page_id=371"},"modified":"2019-01-18T11:55:43","modified_gmt":"2019-01-18T11:55:43","slug":"services","status":"publish","type":"page","link":"https:\/\/www.heritagedata.org\/blog\/services\/","title":{"rendered":"Services"},"content":{"rendered":"<p>The services consist of a series of REST URI calls with associated parameters. The returned data is a JSON structured string. The services all permit AJAX callbacks for use in browser based applications. Arguments may be present in any order. Argument names are not case sensitive, but any URI argument values are case sensitive. The <a title=\"GitHub repository\" href=\"https:\/\/github.com\/cbinding\/SENESCHAL\" target=\"_blank\" rel=\"noopener\">source code for all SENESCHAL services is available as Open Source<\/a> under a <a title=\"Creative Commons Attribution\" href=\"http:\/\/creativecommons.org\/licenses\/by\/3.0\/\" target=\"_blank\" rel=\"noopener\">Creative Commons Attribution (CC-BY)<\/a> license.<\/p>\n<h2>Service calls<\/h2>\n<ul>\n<li><a href=\"#getSchemes\">getSchemes<\/a><\/li>\n<li><a href=\"#getTopConceptsForScheme\">getTopConceptsForScheme<\/a><\/li>\n<li><a href=\"#getConceptsForScheme\">getConceptsForScheme<\/a><\/li>\n<li><a href=\"#getConceptRelations\">getConceptRelations<\/a><\/li>\n<li><a href=\"#getConceptLabels\">getConceptLabels<\/a><\/li>\n<li><a href=\"#getConceptLabelMatch\">getConceptLabelMatch<\/a><\/li>\n<li><a href=\"#getConceptExists\">getConceptExists<\/a><\/li>\n<\/ul>\n<hr \/>\n<p><!--getSchemes--><\/p>\n<h2><a name=\"getSchemes\"><\/a>getSchemes<\/h2>\n<p>Get a list of concept schemes currently in the data store<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>limit (optional)<\/dt>\n<dd>Maximum number of records to return. If omitted or set to the default value (zero), then all records will be returned<\/dd>\n<dt>offset (optional)<\/dt>\n<dd>(zero based) offset for records. If omitted or set to the default value (zero), then returned data will start from first record. This is useful for paging through larger result sets, rather than requesting all data within one service call<\/dd>\n<dt>alias (optional)<\/dt>\n<dd>shorten full URIs in the results by appying common namespace alias prefixes<\/dd>\n<dt>verbose (optional)<\/dt>\n<dd>Return verbose output. If included then all property values are returned<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Examples<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getSchemes?limit=3&amp;alias&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getSchemes?limit=3&amp;alias&amp;pretty<\/a><\/p>\n<p>Response is a JSON encoded array of records &#8211; each record represents an individual ConceptScheme<\/p>\n<pre>[\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/3\",\n    \"label\":\"Maritime Craft Thesaurus (Scotland)\",\n    \"label lang\":\"en\",\n    \"description\":\"Types of craft that survive as wrecks, or are documented as losses, in Scottish maritime waters.\",\n    \"attribution\":\"RCAHMS\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_tmc\",\n    \"label\":\"MARITIME CRAFT TYPE (EH)\",\n    \"label lang\":\"en\",\n    \"description\":\"A thesaurus of craft types which survive as wrecks in English Heritages maritime record\",\n    \"attribution\":\"English Heritage\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_tbm\",\n    \"label\":\"BUILDING MATERIALS (EH)\",\n    \"label lang\":\"en\",\n    \"description\":\"Thesaurus of main constructional material types (eg. the walls) for indexing of monuments.\",\n    \"attribution\":\"English Heritage\"\n  }\n]<\/pre>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getSchemes?limit=3&amp;alias&amp;verbose&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getSchemes?limit=3&amp;alias&amp;verbose&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; in the verbose output each record represents an individual PROPERTY of a ConceptScheme<\/p>\n<pre>[\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/1\",\n      \"property\":\"rdf:type\",\n      \"value\":\"skos:ConceptScheme\"\n   },\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/1\",\n      \"property\":\"cc:license\",\n      \"value\":\"http:\/\/reference.data.gov.uk\/id\/open-government-licence\"\n   },\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/1\",\n      \"property\":\"cc:attributionURL\",\n      \"value\":\"http:\/\/www.rcahms.gov.uk\"\n   }\n]<\/pre>\n<hr \/>\n<p><!--getTopConceptsForScheme--><\/p>\n<h2><a name=\"getTopConceptsForScheme\"><\/a>getTopConceptsForScheme<\/h2>\n<p>Get a list of the &#8216;top&#8217; (hierarchical root) concepts for the specified scheme URI<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>schemeURI (required)<\/dt>\n<dd>The scheme the concepts will originate from. If omitted , then an empty result set will be returned<\/dd>\n<dt>limit (optional)<\/dt>\n<dd>Maximum number of records to return. If omitted or set to the default value (zero), then all records will be returned<\/dd>\n<dt>offset (optional)<\/dt>\n<dd>(zero based) offset for records. If omitted or set to the default value (zero), then returned data will start from first record<\/dd>\n<dt>alias (optional)<\/dt>\n<dd>shorten full URIs in the results by appying common namespace alias prefixes<\/dd>\n<dt>verbose (optional)<\/dt>\n<dd>Return verbose output. If omitted then only uri, and prefLabel are returned, otherwise all property values are returned<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Examples<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getTopConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getTopConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;pretty<\/a><\/p>\n<p>Response is a JSON encoded array of records &#8211; in the default non-verbose output each record represents an individual Concept<\/p>\n<pre>[\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/PM\",\n    \"label\":\"POST MEDIEVAL\",\n    \"label lang\":\"en\",    \n    \"note\": \"Begins with the dissolution of the monasteries and ends with the death of Queen Victoria. Use more specific period where known.\",    \n    \"note lang\": \"en\"  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/MD\",\n    \"label\":\"MEDIEVAL\",\n    \"label lang\":\"en\",    \n    \"note\": \"The Medieval period or Middle Ages begins with the Norman invasion and ends with the dissolution of the monasteries.\",    \n    \"note lang\": \"en\"\n  },\n  {    \n    \"uri\": \"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/RO\",    \n    \"label\": \"ROMAN\",\n    \"label lang\": \"en\",\n    \"note\": \"Traditionally begins with the Roman invasion in 43AD and ends with the emperor Honorius directing Britain to see to its own defence in 410AD.\",    \n    \"note lang\": \"en\"    \n  }\n]<\/pre>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getTopConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;verbose&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getTopConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;verbose&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; in the verbose output each record represents an individual PROPERTY of a Concept<\/p>\n<pre>[\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/BA\",\n      \"property\":\"rdf:type\",\n      \"value\":\"skos:Concept\"\n   },\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/BA\",\n      \"property\":\"cc:license\",\n      \"value\":\"http:\/\/creativecommons.org\/licenses\/by\/3.0\"\n   },\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/BA\",\n      \"property\":\"cc:attributionURL\",\n      \"value\":\"http:\/\/www.english-heritage.org.uk\"\n   }\n]<\/pre>\n<hr \/>\n<p><!--getConceptsForScheme--><\/p>\n<h2><a name=\"getConceptsForScheme\"><\/a>getConceptsForScheme<\/h2>\n<p>Get a list of concepts in the specified scheme<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>schemeURI (required)<\/dt>\n<dd>The scheme the concepts will originate from. If omitted then an empty result set will be returned<\/dd>\n<dt>limit (optional)<\/dt>\n<dd>Maximum number of records to return. If omitted or set to the default value (zero), then all records will be returned<\/dd>\n<dt>offset (optional)<\/dt>\n<dd>(zero based) offset for records. If omitted or set to the default value (zero), then returned data will start from first record<\/dd>\n<dt>alias (optional)<\/dt>\n<dd>shorten full URIs in the results by appying common namespace alias prefixes<\/dd>\n<dt>verbose (optional)<\/dt>\n<dd>Return verbose output. If omitted then only uri and prefLabel are returned, otherwise all property values are returned<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Examples<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; in the default non-verbose output each record represents an individual Concept<\/p>\n<pre>[\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/PM\",\n    \"label\":\"POST MEDIEVAL\",\n    \"label lang\":\"en\",    \n    \"note\": \"Begins with the dissolution of the monasteries and ends with the death of Queen Victoria. Use more specific period where known.\",    \n    \"note lang\": \"en\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/MD\",\n    \"label\":\"MEDIEVAL\",\n    \"label lang\":\"en\",    \n    \"note\": \"The Medieval period or Middle Ages begins with the Norman invasion and ends with the dissolution of the monasteries.\",    \n    \"note lang\": \"en\"\n  },\n  {   \n    \"uri\": \"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/EM\",    \n    \"label\": \"EARLY MEDIEVAL\",\n    \"label lang\": \"en\",    \n    \"note\": \"This dates from the breakdown of Roman rule in Britain to the Norman invasion in 1066 and is to be used for monuments of post Roman, Saxon and Viking date.\",    \n     \"note lang\": \"en\"    \n  },\n]<\/pre>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;verbose&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getConceptsForScheme?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;limit=3&amp;alias&amp;verbose&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; in the verbose output each record represents an individual PROPERTY of a Concept<\/p>\n<pre>[\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/BA\",\n      \"property\":\"rdf:type\",\n      \"value\":\"skos:Concept\"\n   },\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/BA\",\n      \"property\":\"cc:license\",\n      \"value\":\"http:\/\/creativecommons.org\/licenses\/by\/3.0\"\n   },\n   {\n      \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/BA\",\n      \"property\":\"cc:attributionURL\",\n      \"value\":\"http:\/\/www.english-heritage.org.uk\"\n   }\n]<\/pre>\n<hr \/>\n<p><!--getConceptRelations--><\/p>\n<h2><a name=\"getConceptRelations\"><\/a>getConceptRelations<\/h2>\n<p>Get a list of broader, narrower or related concepts for the specified conceptURI<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>conceptURI (required)<\/dt>\n<dd>The concept to find relations for. If omitted then an empty result set will be returned<\/dd>\n<dt>limit (optional)<\/dt>\n<dd>Maximum number of records to return. If omitted or set to the default value (zero), then all records will be returned<\/dd>\n<dt>offset (optional)<\/dt>\n<dd>(zero based) offset for records. If omitted or set to the default value (zero), then returned data will start from first record<\/dd>\n<dt>alias (optional)<\/dt>\n<dd>shorten full URIs in the results by appying common namespace alias prefixes<\/dd>\n<dt>verbose (optional)<\/dt>\n<dd>Return verbose output. If omitted then only uri and label are returned, otherwise all property values are returned<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Examples<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptRelations?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96665&amp;limit=3&amp;alias&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getConceptRelations?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96665&amp;limit=3&amp;alias&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; in the default non-verbose output each record represents an individual Concept<\/p>\n<pre>[\n  {\n    \"property\":\"skos:broader\",\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96706\",\n    \"label\":\"JEWELLERY\",\n    \"label lang\":\"en\",\n    \"note\":\"An object, often including gems and ornamentation, used as an adornment, usually on a person.\",\n    \"note lang\":\"en\"\n  },\n  {\n    \"property\":\"skos:narrower\",\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/97114\",\n    \"label\":\"ANNULAR BROOCH\",\n    \"label lang\":\"en\",\n    \"note\":\"A ring shaped brooch, commonly Anglo-Saxon and medieval.\",\n    \"note lang\":\"en\"\n  },\n  {\n    \"property\":\"skos:narrower\",\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96662\",\n    \"label\":\"BOW BROOCH\",\n    \"label lang\":\"en\",\n    \"note\":\"Any brooch with the pin sprung or hinged at one end and the catchplate at the other end of a curved or flat bow. Can be one or two piece construction.\",\n    \"note lang\":\"en\"\n  }\n]<\/pre>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptRelations?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96665&amp;limit=3&amp;alias&amp;verbose&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getConceptRelations?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96665&amp;limit=3&amp;alias&amp;verbose&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; in the verbose output each record represents an individual PROPERTY of a Concept<\/p>\n<pre>[\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96706\",\n    \"property\":\"rdf:type\",\n    \"value\":\"skos:Concept\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96706\",\n    \"property\":\"cc:license\",\n    \"value\":\"http:\/\/creativecommons.org\/licenses\/by\/3.0\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96706\",\n    \"property\":\"cc:attributionURL\",\n    \"value\":\"http:\/\/www.english-heritage.org.uk\"\n  }\n]<\/pre>\n<hr \/>\n<p><!--getConceptLabels--><\/p>\n<h2><a name=\"getConceptLabels\"><\/a>getConceptLabels<\/h2>\n<p>Get a list of preferred or alternate labels for the specified conceptURI<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>conceptURI (required)<\/dt>\n<dd>The concept to find relations for. If omitted then an empty result set will be returned<\/dd>\n<dt>limit (optional)<\/dt>\n<dd>Maximum number of records to return. If omitted or set to the default value (zero), then all records will be returned<\/dd>\n<dt>offset (optional)<\/dt>\n<dd>(zero based) offset for records. If omitted or set to the default value (zero), then returned data will start from first record<\/dd>\n<dt>alias (optional)<\/dt>\n<dd>shorten full URIs in the results by appying common namespace alias prefixes<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Examples<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptLabels?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96665&amp;limit=3&amp;alias&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getConceptLabels?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/96665&amp;limit=3&amp;alias&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; each record represents an individual Label<\/p>\n<pre>[\n  {\n    \"property\":\"skos:prefLabel\",\n    \"label\":\"BROOCH\",\n    \"label lang\":\"en\"\n  },\n  {\n    \"property\":\"skos:altLabel\",\n    \"label\":\"Fibula\",\n    \"label lang\":\"en\"\n  },\n  {\n    \"property\":\"skos:altLabel\",\n    \"label\":\"Brooch Spring\",\n    \"label lang\":\"en\"\n  }\n]<\/pre>\n<p><!--getConceptLabelMatch--><\/p>\n<h2><a name=\"getConceptLabelMatch\"><\/a>getConceptLabelMatch<\/h2>\n<p>Match against concept labels (preferred and alternate labels)<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>schemeURI (required)<\/dt>\n<dd>URI of concept scheme the labels will originate from. The URI is case sensitive<\/dd>\n<dt>startsWith (optional)<\/dt>\n<dd>Search for labels that start with this text. The value is not case sensitive. May be used in combination with &#8216;contains&#8217;<\/dd>\n<dt>contains (optional)<\/dt>\n<dd>Search for labels containing this text. The value is not case sensitive. May be used in combination with &#8216;startsWith&#8217;<\/dd>\n<dt>limit (optional)<\/dt>\n<dd>Maximum number of records to return. If omitted or set to the default value (zero), then all matching records will be returned<\/dd>\n<dt>offset (optional)<\/dt>\n<dd>(zero based) offset for records. If omitted or set to the default value (zero), then returned data will start from first record<\/dd>\n<dt>alias (optional)<\/dt>\n<dd>shorten full URIs in the results by appying common namespace alias prefixes<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Example<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptLabelMatch?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;startsWith=EARLY&amp;limit=3&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getConceptLabelMatch?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_period&amp;startsWith=EARLY&amp;limit=3&amp;pretty<\/a><br \/>\nResponse is a JSON encoded array of records &#8211; each record represents an individual Concept<\/p>\n<pre>[\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/UM\",\n    \"label\":\"EARLY MED. OR LATER\",\n    \"label lang\":\"en\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/EM\",\n    \"label\":\"EARLY MEDIEVAL\",\n    \"label lang\":\"en\"\n  },\n  {\n    \"uri\":\"http:\/\/purl.org\/heritagedata\/schemes\/eh_period\/concepts\/EIA\",\n    \"label\":\"EARLY IRON AGE\",\n    \"label lang\":\"en\"\n  }\n]<\/pre>\n<hr \/>\n<p><!--getConceptPrefLabel\n\n\n<h2><a name=\"getConceptPrefLabel\">getConceptPrefLabel<\/a>\n\n\n<h3>Arguments<\/h3>\n\n\n\n\n<dl>\n \t\n\n<dt>conceptURI<\/dt>\n\n\n \t\n\n<dd>URI of the concept. The URI is case sensitive<\/dd>\n\n\n<\/dl>\n\n\n\n\n<h3>Example<\/h3>\n\n\nCall: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptPrefLabel?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/141229\">http:\/\/www.heritagedata.org\/live\/services\/getConceptPrefLabel?conceptURI=http:\/\/purl.org\/heritagedata\/schemes\/mda_obj\/concepts\/141229<\/a>\nThe response is a simple character string:\n\n\n<pre>\n\t\"AUCISSA BROOCH\"<\/pre>\n\n\n\n\n\n<hr \/>\n\n\n\n--><\/p>\n<p><!--getConceptExists--><\/p>\n<h2><a name=\"getConceptExists\"><\/a>getConceptExists<\/h2>\n<p>Check whether a specific label exists in a specific concept scheme<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>schemeURI (required)<\/dt>\n<dd>The URI of the scheme to check for the presence of the concept. The URI is case sensitive<\/dd>\n<dt>label (required)<\/dt>\n<dd>The label to search for. Preferred and alternate labels are checked. The value to search for is not case sensitive<\/dd>\n<\/dl>\n<h3>Example<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getConceptExists?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_tmt2&amp;label=BYRE\">https:\/\/www.heritagedata.org\/live\/services\/getConceptExists?schemeURI=http:\/\/purl.org\/heritagedata\/schemes\/eh_tmt2&amp;label=BYRE<\/a><\/p>\n<p>The response is a simple true or false<\/p>\n<pre>true<\/pre>\n<hr \/>\n<p><!--getResource--><\/p>\n<h2><a name=\"getResource\"><\/a>getResource<\/h2>\n<p>Get all RDF properties for a specific resource (may be a scheme or a concept)<\/p>\n<h3>Arguments<\/h3>\n<dl>\n<dt>uri (required)<\/dt>\n<dd>The URI of the resource. The URI is case sensitive<\/dd>\n<dt>pretty (optional)<\/dt>\n<dd>The returned JSON is formatted with whitespace and line breaks for readability (pretty printed)<\/dd>\n<\/dl>\n<h3>Example<\/h3>\n<p>Call: <a href=\"http:\/\/www.heritagedata.org\/live\/services\/getResource?uri=http:\/\/purl.org\/heritagedata\/schemes\/eh_tmt2&amp;pretty\">https:\/\/www.heritagedata.org\/live\/services\/getResource?uri=http:\/\/purl.org\/heritagedata\/schemes\/eh_tmt2&amp;pretty<\/a><\/p>\n<p>The response is a JSON encoded object<\/p>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The services consist of a series of REST URI calls with associated parameters. The returned data is a JSON structured string. The services all permit AJAX callbacks for use in browser based applications. Arguments may be present in any order. &hellip; <a href=\"https:\/\/www.heritagedata.org\/blog\/services\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/pages\/371"}],"collection":[{"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/comments?post=371"}],"version-history":[{"count":12,"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/pages\/371\/revisions"}],"predecessor-version":[{"id":566,"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/pages\/371\/revisions\/566"}],"wp:attachment":[{"href":"https:\/\/www.heritagedata.org\/blog\/wp-json\/wp\/v2\/media?parent=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}