BDRC Public Data Interface

This resource provides direct data access to the BDRC Library

Navigate through BDRC Ontology

You can use this service to access the current BDRC ontology and discover the data model:

Ontology service

View/download the ontology file:

Instructions

Public queries are run via urls whose specifications are given below. However, you can get any resource turtle representation using this general url format:

http://serverName:portNumber/resource/P1583

where P1583 is a BDRC resource ID

Url specifications by query types

Item

Search type Return type Result set Parameter(s) Url format
IIIFPres_itemInfo Table Info for the IIIF Presentation API R_RES /resource/templates?searchType=Item_basicInfo&R_RES=I29329_I001
Item_basicInfo Table A table containing the item Id, the work it belongs to and its the access policy R_RES /resource/templates?searchType=Item_basicInfo&R_RES=I29329_I001
Item_groupInfo Table A table containing the item Id, the work it belongs to, the access policy and the image groupId R_RES,L_IMG /resource/templates?searchType=Item_groupInfo&R_RES=I29329_I001&L_IMG=I1KG150420003.jpg

Work

Search type Return type Result set Parameter(s) Url format
Work_bibl_info Table A table containing bibliographic info of works whose name contains the NAME param value L_NAME /resource/templates?searchType=Work_bibl_info&L_NAME=rgyud bla ma
Work_comment Table A table containing the Id, the name, the types of the commentaries of works whose name contains the NAME param value, along with the root text ID and preferred name L_NAME /resource/templates?searchType=Work_comment&L_NAME=rgyud bla ma
Work_byName Table A table containing the Id and the name of the work whose name contains the NAME param value L_NAME /resource/templates?searchType=Work_byName&L_NAME="chos dbyings"
Work_ImgList Table Return the imagList and the legacy Image GroupRID for the given Work resource Id R_RES /resource/templates?searchType=Work_ImgList&R_RES=W29329
Work_Open Value Check if the given Work is open access or not R_RES /resource/templates?searchType=Work_Open&R_RES=W29329

Lineage

Search type Return type Result set Parameter(s) Url format
Lineage_list Table the list (Id, name) of all lineages NONE /resource/templates?searchType=Lineage_list

General

Search type Return type Result set Parameter(s) Url format
Res_withFacet Table A table containing the Id and matching literal for the given query and language tag with the given limit L_NAME,I_LIM /resource/templates?searchType=Res_withFacet&L_NAME=("mkhan chen" AND ("'od zer" OR "ye shes"))&LG_NAME=bo-x-ewts&I_LIM=100
Res_byName Table A table containing the Id and matching literal for the given query and language tag with the given limit L_NAME,LG_NAME,I_LIM /resource/templates?searchType=Res_byName&L_NAME=("mkhan chen" AND ("'od zer" OR "ye shes"))&LG_NAME=bo-x-ewts&I_LIM=100
Nodes_byName Table A table containing the Id and matching skos:prefLabel for the given query and language tag with the given limit L_NAME,LG_NAME,I_LIM /resource/templates?searchType=Nodes_byName&L_NAME=("mkhan chen" AND ("'od zer" OR "ye shes"))&LG_NAME=bo-x-ewts&I_LIM=100
BLMP Table A table containing the Id and matching literal for the given query and language tag with the given limit L_NAME,I_LIM /resource/templates?searchType=BLMP&L_NAME=("mkhan chen" AND ("'od zer" OR "ye shes"))&LG_NAME=bo-x-ewts&I_LIM=100
Res_allDatatypes Table A table containing all matching datatypes for the given query and language tag with the given limit L_NAME,I_LIM /resource/templates?searchType=Res_allDatatypes&L_NAME=("mkhan chen" AND ("'od zer" OR "ye shes"))&LG_NAME=bo-x-ewts&I_LIM=100
Res_byLabel Table A table containing the Resource ID, label type and literal for the given query and language tag with the given limit L_NAME,LG_NAME,I_LIM /resource/templates?searchType=Res_byLabel&L_NAME=("mkhan chen" AND ("'od zer" OR "ye shes"))&LG_NAME=bo-x-ewts&I_LIM=100

Topic

Search type Return type Result set Parameter(s) Url format
Topic_list Table the list (Id, topic names) of all topics NONE /resource/templates?searchType=Topic_list
Topic_byAllNames Table A table containing the Id and the names of the topics whose name contains the NAME param value L_NAME /resource/templates?searchType=Topic_byAllNames&L_NAME=rgyud

Person

Search type Return type Result set Parameter(s) Url format
PersonEvent_byExactName Table A table containing the Id, preferred name, event type and event name of a person whose name matches the NAME param value L_NAME /resource/templates?searchType=PersonEvent_byExactName&L_NAME='jigs med rgyal mtshan
PersonNames_byName Table A table containing the Id, primary_name, name_type and name_type value for people whose any name contains the NAME param value L_NAME /resource/templates?searchType=PersonNames_byName&L_NAME='od zer
Person_teach_stud Table A table containing the Id, preferred name, teacher name and student name for people having their preferred name containing the NAME param value L_NAME /resource/templates?searchType=Person_teach_stud&L_NAME=dri med 'od zer
Person_allNames Table A table containing the Id, primary_name, name_type and name_type value for people whose any name mztches the NAME param value L_NAME /resource/templates?searchType=Person_allNames&L_NAME=klu sgrub
PersonNames_byNameLang Table A table containing the Id, primary_name, name_type and name_type value for people whose any name matches the NAME with the LANG tag L_NAME,LG_NAME /resource/templates?searchType=PersonNames_byNameLang&L_NAME="'od zer"&LG_NAME=bo-x-ewts
PersonNames_byExactName Table A table containing the Id, primary_name, name_type and name_type value for people whose any name mztches the NAME param value L_NAME /resource/templates?searchType=PersonNames_byExactName&L_NAME=klu sgrub
Person_adminDetails Table All the detailed admin info (notes, status, log entries) about the person data R_RES /resource/templates?searchType=Person_adminDetails&R_RES=P1583
Person_details Table All the detailed info (name, events, students, teachers) about the person corresponding to the given ID R_RES /resource/templates?searchType=Person_details&R_RES=P1583

Place

Search type Return type Result set Parameter(s) Url format
Place_details Table A table containing the detailed info of a place whose name contains the NAME param value L_NAME /resource/templates?searchType=Place_details&L_NAME=dgon gsar
Place_byName Table A table containing the Id and the name of the place whose name contains the NAME param value L_NAME /resource/templates?searchType=Place_byName&L_NAME=dgon gsar