{ "basePath": "https://beta.openphacts.org/1.3", "apiVersion": "v1.3", "apis": [ { "path": "/compound" , "operations": [ { "httpMethod": "GET", "summary": "Compound Information" , "description": "Information about a single compound.


Response template:



?ops_item skos:exactMatch ?cw_compound_uri .
?cw_compound_uri skos:prefLabel ?compound_name ;
     void:inDataset <http://www.conceptwiki.org> .
?ops_item skos:exactMatch ?ocrs_compound_uri .
?ocrs_compound_uri ops:smiles ?smiles ;
     ops:inchi ?inchi ;
     ops:inchikey ?inchiKey ;
     ops:logp ?alogp ;
     ops:hba ?hba ;
     ops:hbd ?hbd ;
     ops:ro5_violations ?num_ro5_violations ;
     ops:psa ?psa ;
     ops:rtb ?rtb ;
     ops:molweight ?molweight ;
     ops:molformula ?molformula ;
     void:inDataset <http://ops.rsc.org> .
?ops_item skos:exactMatch ?chembl_compound_uri .
?chembl_compound_uri ?bNode1 ?mw_freebase ;
     a ?mol_type ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?ops_item skos:exactMatch ?db_compound_uri .
?db_compound_uri drugbank:biotransformation ?biotransformation ;
     drugbank:description ?description ;
     drugbank:proteinBinding ?proteinBinding ;
     drugbank:toxicity ?toxicity ;
     drugbank:meltingPoint ?meltingPoint ;
     drugbank:genericName ?drug_name ;
     drugbank:drugType ?drugType ;
     void:inDataset <http://linkedlifedata.com/resource/drugbank> .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://www.conceptwiki.org/concept/38932552-111f-4a4e-a46a-4ed1d7bdf9d5" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/members/count" , "operations": [ { "httpMethod": "GET", "summary": "Compound Class Members: Count" , "description": "The number of compounds classified with the given class in the supported hierarchies. Currently the only supported hierarchy is the ChEBI Ontology.


Response template:



?ops_item ops:memberCount ?count .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.obolibrary.org/obo/CHEBI_24431" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/members/pages" , "operations": [ { "httpMethod": "GET", "summary": "Compound Class Members: List" , "description": "A list of compounds classified with the given class in the supported hierarchies. Currently the only supported hierarchy is the ChEBI Ontology.


Response template:



?item skos:exactMatch ?compound_ocrs ;
     skos:exactMatch ?compound_cw .
?compound_cw skos:prefLabel ?compound_nam e
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.obolibrary.org/obo/CHEBI_24431" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?chebi_compound", "DESC(?chebi_compound)", "?child_node", "DESC(?child_node)", "?compound_cw", "DESC(?compound_cw)", "?compound_name", "DESC(?compound_name)", "?compound_ocrs", "DESC(?compound_ocrs)", "?item", "DESC(?item)", "?ops_item", "DESC(?ops_item)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/classifications" , "operations": [ { "httpMethod": "GET", "summary": "Compound Classifications" , "description": "The classes the given compound URI has been classified with. Currently supported hierarchies are the ChEBI Ontology and the Gene Ontology.


Response template:



?ops_item skos:exactMatch ?chembl_compound_uri ;
     skos:exactMatch ?cw_compound_uri .
?chembl_compound_uri ops:hasChebiClassification ?chebi_class ;
     ops:hasChebiClassification ?chebi_other_class ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?chebi_input ops:hasGoClassification ?go_class ;
     skos:prefLabel ?chebi_input_label ;
     void:inDataset <http://www.geneontology.org> .
?go_input ops:hasChebiClassification ?chebi_class ;
     skos:prefLabel ?go_input_label ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?cw_compound_uri skos:prefLabel ?cw_label ;
     void:inDataset <http://www.conceptwiki.org> .
?chebi_class skos:prefLabel ?chebi_label ;
     ops:classificationType rdf:type ;
     void:inDataset <http://www.ebi.ac.uk/chebi> .
rdf:type skos:prefLabel 'Type' .
?chebi_other_class skos:prefLabel ?chebi_other_label ;
     ops:classificationType ?chebi_class_type ;
     void:inDataset <http://www.ebi.ac.uk/chebi> .
?chebi_class_type skos:prefLabel ?chebi_class_type_label .
?go_class skos:prefLabel ?go_label ;
     void:inDataset <http://www.geneontology.org> .
<http://www.ebi.ac.uk/chebi> skos:prefLabel 'ChEBI Ontology' .
<http://www.geneontology.org> skos:prefLabel 'GeneOntology' .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://ops.rsc.org/OPS6958" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "tree" , "description": "Restrict results by hierarchy. Currently one of 'chebi', 'go'" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/classificationsForTargets" , "operations": [ { "httpMethod": "GET", "summary": "Classification of Targets for Compound" , "description": "The hierarchy of classes for the different Targets that interact with a given Compound. Currently supported hierarchies are the Enzyme Classification, the ChEMBL Target Tree and the Gene Ontology.


Response template:



?ops_item skos:exactMatch ?chembl_compound_uri ;
     skos:exactMatch ?cw_compound_uri .
?chembl_compound_uri ops:interactsWithTargetOfClass ?class ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?cw_compound_uri skos:prefLabel ?cw_label ;
     void:inDataset <http://www.conceptwiki.org> .
?class skos:prefLabel ?class_label ;
     void:inDataset ?g .
<http://purl.uniprot.org/enzyme> skos:prefLabel 'Enzyme Classification' .
<http://www.ebi.ac.uk/chembl> skos:prefLabel 'ChEMBL Target Hierarchy' .
<http://www.geneontology.org> skos:prefLabel 'GeneOntology' .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://ops.rsc.org/OPS6958" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "tree" , "description": "Restrict results by hierarchy. Currently one of 'chembl', 'enzyme', 'go'" , "paramType": "query", "dataType": "string" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/pharmacology/count" , "operations": [ { "httpMethod": "GET", "summary": "Compound Pharmacology: Count" , "description": "The total number of acitivity values in the LDC for a given compound


Response template:



?ops_item ops:compoundPharmacologyTotalResults ?count .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://www.conceptwiki.org/concept/38932552-111f-4a4e-a46a-4ed1d7bdf9d5" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/pharmacology/pages" , "operations": [ { "httpMethod": "GET", "summary": "Compound Pharmacology: List" , "description": "A page of items corresponding to acitivity values in the LDC for a given compound


Response template:



?item chembl:hasMolecule ?chembl_compound_uri ;
     chembl:standardType ?activity_type ;
     chembl:standardRelation ?activity_relation ;
     chembl:standardValue ?activity_value ;
     chembl:hasQUDT ?qudt_uri ;
     chembl:publishedType ?published_type ;
     chembl:publishedRelation ?published_relation ;
     chembl:publishedValue ?published_value ;
     chembl:publishedUnits ?published_unit ;
     chembl:pChembl ?pChembl ;
     chembl:activityComment ?act_comment ;
     chembl:hasAssay ?assay_uri ;
     chembl:hasDocument ?doi ;
     bibo:pmid ?pmid ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?qudt_uri skos:prefLabel ?activity_unit .
?assay_uri chembl:hasTarget ?target_uri ;
     chembl:assayOrganismName ?assay_organism ;
     chembl:assayTestType ?assay_type ;
     dcterms:description ?assay_description ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?target_uri dcterms:title ?target_name ;
     chembl:targetOrganismName ?target_organism ;
     chembl:hasTargetComponent ?protein ;
     a ?target_type ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?chembl_compound_uri skos:exactMatch ?cw_compound_uri .
?protein skos:exactMatch ?cw_target .
?cw_target skos:prefLabel ?protein_name ;
     void:inDataset <http://www.conceptwiki.org> .
?cw_compound_uri skos:prefLabel ?compound_name ;
     void:inDataset <http://www.conceptwiki.org> .
?chembl_compound_uri skos:exactMatch ?ocrs_compound_uri .
?ocrs_compound_uri ops:smiles ?smiles ;
     ops:inchi ?inchi ;
     ops:inchikey ?inchiKey ;
     ops:molweight ?molweight ;
     ops:ro5_violations ?num_ro5_violations ;
     void:inDataset <http://ops.rsc.org> .
?chembl_compound_uri skos:exactMatch ?db_compound_uri ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?db_compound_uri drugbank:drugType ?drugType ;
     drugbank:genericName ?drug_name ;
     void:inDataset <http://linkedlifedata.com/resource/drugbank> .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://www.conceptwiki.org/concept/38932552-111f-4a4e-a46a-4ed1d7bdf9d5" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal assay organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?act_comment", "DESC(?act_comment)", "?activity_relation", "DESC(?activity_relation)", "?activity_type", "DESC(?activity_type)", "?activity_unit", "DESC(?activity_unit)", "?activity_value", "DESC(?activity_value)", "?assay_description", "DESC(?assay_description)", "?assay_organism", "DESC(?assay_organism)", "?assay_type", "DESC(?assay_type)", "?assay_uri", "DESC(?assay_uri)", "?chembl_compound_uri", "DESC(?chembl_compound_uri)", "?compound_name", "DESC(?compound_name)", "?cw_compound_uri", "DESC(?cw_compound_uri)", "?cw_target", "DESC(?cw_target)", "?db_compound_uri", "DESC(?db_compound_uri)", "?doc_uri", "DESC(?doc_uri)", "?doi", "DESC(?doi)", "?drug_name", "DESC(?drug_name)", "?drugType", "DESC(?drugType)", "?drugType_uri", "DESC(?drugType_uri)", "?inchi", "DESC(?inchi)", "?inchiKey", "DESC(?inchiKey)", "?item", "DESC(?item)", "?molweight", "DESC(?molweight)", "?num_ro5_violations", "DESC(?num_ro5_violations)", "?ocrs_compound_uri", "DESC(?ocrs_compound_uri)", "?pChembl", "DESC(?pChembl)", "?pmid", "DESC(?pmid)", "?protein", "DESC(?protein)", "?protein_name", "DESC(?protein_name)", "?published_relation", "DESC(?published_relation)", "?published_type", "DESC(?published_type)", "?published_unit", "DESC(?published_unit)", "?published_value", "DESC(?published_value)", "?qudt_uri", "DESC(?qudt_uri)", "?smiles", "DESC(?smiles)", "?standard_value", "DESC(?standard_value)", "?target_name", "DESC(?target_name)", "?target_organism", "DESC(?target_organism)", "?target_type", "DESC(?target_type)", "?target_uri", "DESC(?target_uri)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/tree/pharmacology/count" , "operations": [ { "httpMethod": "GET", "summary": "Compound Class Pharmacology: Count" , "description": "The total number of activity values in the LDC for a given Compound class. Currently only the ChEBI Ontology is supported.


Response template:



?ops_item ops:compoundPharmacologyTotalResults ?count .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A ChEBI Class URI. e.g.: http://purl.obolibrary.org/obo/CHEBI_24431" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/compound/tree/pharmacology/pages" , "operations": [ { "httpMethod": "GET", "summary": "Compound Class Pharmacology: List" , "description": "A page of items corresponding to acitivity values for a given Compound class. Currently only the ChEBI Ontology is supported.


Response template:



?item chembl:hasMolecule ?compound_chembl ;
     chembl:standardType ?activity_type ;
     chembl:standardRelation ?activity_relation ;
     chembl:standardValue ?activity_value ;
     chembl:hasQUDT ?qudt_uri ;
     chembl:publishedType ?published_type ;
     chembl:publishedRelation ?published_relation ;
     chembl:publishedValue ?published_value ;
     chembl:publishedUnits ?published_unit ;
     chembl:hasAssay ?assay_uri ;
     chembl:pChembl ?pChembl ;
     chembl:activityComment ?act_comment ;
     chembl:hasDocument ?doi ;
     bibo:pmid ?pmid ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?qudt_uri skos:prefLabel ?activity_unit .
?assay_uri chembl:hasTarget ?target_uri ;
     chembl:assayOrganismName ?assay_organism ;
     dcterms:description ?assay_description ;
     chembl:assayTestType ?assay_type ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?target_uri dcterms:title ?target_name ;
     chembl:targetOrganismName ?target_organism ;
     chembl:hasTargetComponent ?protein ;
     a ?target_type ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?compound_chembl skos:exactMatch ?compound_cw .
?protein skos:exactMatch ?cw_target .
?cw_target skos:prefLabel ?protein_name ;
     void:inDataset <http://www.conceptwiki.org> .
?compound_cw skos:prefLabel ?compound_name ;
     void:inDataset <http://www.conceptwiki.org> .
?compound_chembl skos:exactMatch ?compound_ocrs .
?compound_ocrs ops:smiles ?smiles ;
     ops:inchi ?inchi ;
     ops:inchikey ?inchiKey ;
     ops:ro5_violations ?num_ro5_violations ;
     ops:molweight ?molweight ;
     void:inDataset <http://ops.rsc.org> .
?compound_chembl void:inDataset <http://www.ebi.ac.uk/chembl> .
", "group": "Compound" , "parameters": [ { "name": "uri" , "description": "A ChEBI Class URI. e.g.: http://purl.obolibrary.org/obo/CHEBI_24431" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?act_comment", "DESC(?act_comment)", "?activity_relation", "DESC(?activity_relation)", "?activity_type", "DESC(?activity_type)", "?activity_unit", "DESC(?activity_unit)", "?activity_value", "DESC(?activity_value)", "?assay_description", "DESC(?assay_description)", "?assay_organism", "DESC(?assay_organism)", "?assay_type", "DESC(?assay_type)", "?assay_uri", "DESC(?assay_uri)", "?chebi_compound", "DESC(?chebi_compound)", "?class", "DESC(?class)", "?compound_chembl", "DESC(?compound_chembl)", "?compound_cw", "DESC(?compound_cw)", "?compound_name", "DESC(?compound_name)", "?compound_ocrs", "DESC(?compound_ocrs)", "?cw_target", "DESC(?cw_target)", "?document", "DESC(?document)", "?doi", "DESC(?doi)", "?inchi", "DESC(?inchi)", "?inchiKey", "DESC(?inchiKey)", "?item", "DESC(?item)", "?molweight", "DESC(?molweight)", "?num_ro5_violations", "DESC(?num_ro5_violations)", "?ops_item", "DESC(?ops_item)", "?pChembl", "DESC(?pChembl)", "?pmid", "DESC(?pmid)", "?protein", "DESC(?protein)", "?protein_name", "DESC(?protein_name)", "?published_relation", "DESC(?published_relation)", "?published_type", "DESC(?published_type)", "?published_unit", "DESC(?published_unit)", "?published_value", "DESC(?published_value)", "?qudt_uri", "DESC(?qudt_uri)", "?smiles", "DESC(?smiles)", "?std_value", "DESC(?std_value)", "?target_name", "DESC(?target_name)", "?target_organism", "DESC(?target_organism)", "?target_type", "DESC(?target_type)", "?target_uri", "DESC(?target_uri)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/structure" , "operations": [ { "httpMethod": "GET", "summary": "Chemical Structure Conversion: Inchi to URL" , "description": "A ChemSpider URL corresponding to an input InChI string. Driven by ChemSpider.


Response template:



     foaf:primaryTopic ?primaryTopic .
     ?primaryTopic foaf:isPrimaryTopicOf .
?primaryTopic cheminf:CHEMINF_000396 ?inchi .
", "group": "ChemSpider structure search" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "inchi" , "description": "An InChI string. E.g. InChI=1S/C9H8O4/c1-6(10)13-8-5-3-2-4-7(8)9(11)12/h2-5H,1H3,(H,11,12)" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/structure" , "operations": [ { "httpMethod": "GET", "summary": "Chemical Structure Conversion: InchiKey to URL" , "description": "A ChemSpider URL corresponding to an input InChIKey string. Driven by ChemSpider.


Response template:



     foaf:primaryTopic ?primaryTopic .
     ?primaryTopic foaf:isPrimaryTopicOf .
?primaryTopic cheminf:CHEMINF_000399 ?inchi_key .
", "group": "ChemSpider structure search" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "inchi_key" , "description": "An InChIKey string. E.g. BSYNRYMUTXBXSQ-UHFFFAOYSA-N" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/structure" , "operations": [ { "httpMethod": "GET", "summary": "Chemical Structure Conversion: SMILES to URL" , "description": "A ChemSpider URL corresponding to an input SMILES string. Driven by ChemSpider.


Response template:



{pageUri} foaf:primaryTopic ?primaryTopic .
?primaryTopic foaf:isPrimaryTopicOf {pageUri} .
?primaryTopic cheminf:CHEMINF_000018 ?smiles .
", "group": "ChemSpider structure search" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "smiles" , "description": "A SMILES string. E.g. CC(=O)Oc1ccccc1C(=O)O" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/structure/similarity" , "operations": [ { "httpMethod": "GET", "summary": "Chemical Structure Search: Similarity" , "description": "A set of ChemSpider compound URLs, similar to the input molecule according to the specified algorithm and threshold. Driven by ChemSpider.


Response template:



{pageUri} foaf:primaryTopic ?primaryTopic .
?primaryTopic foaf:isPrimaryTopicOf {pageUri} .
?primaryTopic rdf:type ?searchType ;
     ops_api_search:Molecule ?moleculeSmiles ;
     ops_api:result ?result ;
     ops_api_search:Threshold ?searchThreshold ;
     ops_api_search:Alpha ?searchAlpha ;
     ops_api_search:Beta ?searchBeta ;
     ops_api_search:SimilarityType ?searchSimilarityType ;
     ops_api_common:Complexity ?complexity ;
     ops_api_common:Isotopic ?isotopic ;
     ops_api_common:HasSpectra ?hasSpectra ;
     ops_api_common:HasPatents ?hasPatents ;
     ops_api_result:Start ?start ;
     ops_api_result:Count ?count .
?result ops_api:relevance ?relevance .
", "group": "ChemSpider structure search" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "searchOptions.Molecule", "description": "A SMILES string. E.g. CC(=O)Oc1ccccc1C(=O)O" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "searchOptions.SimilarityType", "description": "0: Tanimoto ; 1: Tversky ; 2: Euclidian" , "paramType": "query", "dataType": "string" }, { "name": "searchOptions.Threshold", "description": "Double <= 1.0" , "paramType": "query", "dataType": "string" }, { "name": "searchOptions.Alpha", "description": "Value in [0,1] ; Default=0.5 ; available only for Tversky metric (for the other types it will be ignored) " , "paramType": "query", "dataType": "string" }, { "name": "searchOptions.Beta", "description": "Value in [0,1] ; Default=0.5 ; available only for Tversky metric (for the other types it will be ignored) " , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.Complexity", "description": "(Not supported at the moment) 0: Any ; 1: Single ; 2: Multi" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.Isotopic", "description": "(Not supported at the moment) 0: Any ; 1: Labeled ; 2: NotLabeled" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.HasSpectra", "description": "(Not supported at the moment) Boolean" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.HasPatents", "description": "(Not supported at the moment) Boolean" , "paramType": "query", "dataType": "string" }, { "name": "resultOptions.Start", "description": "Integer. Return results starting the index. Default value: 0" , "paramType": "query", "dataType": "string" }, { "name": "resultOptions.Count", "description": "Integer. How many results should be returned starting from Start index. Default value: -1." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/structure/substructure" , "operations": [ { "httpMethod": "GET", "summary": "Chemical Structure Search: Substructure" , "description": "A set of ChemSpider compound URLs that contain the specified structure. Driven by ChemSpider.


Response template:



     foaf:primaryTopic ?primaryTopic .
     ?primaryTopic foaf:isPrimaryTopicOf .
?primaryTopic rdf:type ?searchType ;
     ops_api_search:Molecule ?moleculeSmiles ;
     ops_api_search:MolType ?searchMolType ;
     ops_api:result ?result ;
     ops_api_search:MatchTautomers ?searchMatchTautomers ;
     ops_api_common:Complexity ?complexity ;
     ops_api_common:Isotopic ?isotopic ;
ops_api_common:HasSpectr a ?hasSpectra ;
     ops_api_common:HasPatents ?hasPatents ;
     ops_api_result:Start ?start ;
     ops_api_result:Count ?count .
?result ops_api:relevance ?relevance .
", "group": "ChemSpider structure search" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "searchOptions.Molecule", "description": "A SMILES string. E.g. CC(=O)Oc1ccccc1C(=O)O" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "searchOptions.MatchTautomers", "description": "(Not supported at the moment) Search exactly for the given tautomeric form and ignore others. Not supported at the moment . Boolean" , "paramType": "query", "dataType": "string" }, { "name": "searchOptions.MolType", "description": "0: SMILES ; 1: SMARTS" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.Complexity", "description": "(Not supported at the moment) 0: Any ; 1: Single ; 2: Multi" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.Isotopic", "description": "(Not supported at the moment) 0: Any ; 1: Labeled ; 2: NotLabeled" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.HasSpectra", "description": "(Not supported at the moment) Boolean" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.HasPatents", "description": "(Not supported at the moment) Boolean" , "paramType": "query", "dataType": "string" }, { "name": "resultOptions.Start", "description": "Integer. Return results starting from this index value. Default value: 0" , "paramType": "query", "dataType": "string" }, { "name": "resultOptions.Count", "description": "Integer. How many results should be returned starting from Start index. Default value: -1." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/structure/exact" , "operations": [ { "httpMethod": "GET", "summary": "Chemical Structure Search: Exact" , "description": "A ChemSpider URL corresponding to an input SMILES string. Driven by ChemSpider.


Response template:



{pageUri} foaf:primaryTopic ?primaryTopic .
?primaryTopic foaf:isPrimaryTopicOf {pageUri} .
?primaryTopic rdf:type ?searchType ;
     ops_api_search:Molecule ?moleculeSmiles ;
     ops_api_search:MatchType ?searchMatchType ;
     ops_api:result ?result ;
     ops_api_common:Complexity ?complexity ;
     ops_api_common:Isotopic ?isotopic ;
     ops_api_common:HasSpectra ?hasSpectra ;
     ops_api_common:HasPatents ?hasPatents .
", "group": "ChemSpider structure search" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "searchOptions.Molecule", "description": "A SMILES string. E.g. CNC(=O)c1cc(ccn1)Oc2ccc(cc2)NC(=O)Nc3ccc(c(c3)C(F)(F)F)Cl" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "searchOptions.MatchType", "description": "0: ExactMatch ; 1: AllTautomers ; 2: SameSkeletonIncludingH ; 3: SameSkeletonExcludingH ; 4: AllIsomers" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.Complexity", "description": "(Not supported at the moment) 0: Any ; 1: Single ; 2: Multi" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.Isotopic", "description": "(Not supported at the moment) 0: Any ; 1: Labeled ; 2: NotLabeled" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.HasSpectra", "description": "(Not supported at the moment) Boolean" , "paramType": "query", "dataType": "string" }, { "name": "commonOptions.HasPatents", "description": "(Not supported at the moment) Boolean" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target" , "operations": [ { "httpMethod": "GET", "summary": "Target Information" , "description": "Information about a single target.


Response template:



?ops_item skos:exactMatch ?cw_target_uri ;
     skos:exactMatch ?uniprot_target_uri ;
     skos:exactMatch ?chembl_target_uri ;
     skos:exactMatch ?db_target_uri .
?cw_target_uri skos:prefLabel ?target_name ;
     void:inDataset <http://www.conceptwiki.org> .
?uniprot_target_uri uniprot:existence ?existence ;
     uniprot:organism ?organism ;
     uniprot:sequence ?sequence ;
     uniprot:Function_Annotation ?function ;
     ops:interactsWith ?inter_prot ;
     uniprot:classifiedWith ?class ;
     uniprot:alternativeName ?alt_name ;
     uniprot:mass ?mass ;
     ops:molecularWeight ?mass ;
     rdfs:seeAlso ?target_pdb ;
     rdfs:seeAlso ?ppi ;
     void:inDataset <http://purl.uniprot.org> .
?inter_prot rdfs:label ?inter_label .
?chembl_target_uri chembl:hasTargetComponent ?target_component ;
     a ?target_type ;
     rdfs:label ?synonym ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?target_component dcterms:description ?description ;
     skos:exactMatch ?cw_target ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?cw_target skos:prefLabel ?protein_name ;
     void:inDataset <http://www.conceptwiki.org> .
?db_target_uri drugbank:cellularLocation ?cellularLocation ;
     drugbank:molecularWeight ?molecularWeight ;
     drugbank:numberOfResidues ?numberOfResidues ;
     drugbank:theoreticalPi ?theoreticalPi ;
     void:inDataset <http://linkedlifedata.com/resource/drugbank> .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://www.conceptwiki.org/concept/00059958-a045-4581-9dc5-e5a08bb0c291" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/members/count" , "operations": [ { "httpMethod": "GET", "summary": "Target Class Members: Count" , "description": "The number of targets classified with the given class in the supported hierarchies. Currently supported hierarchies are the Enzyme Classification, the ChEMBL Target Tree and the Gene Ontology.


Response template:



?ops_item ops:memberCount ?count .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.uniprot.org/enzyme/6.2.-.-" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "target_organism_uri" , "description": "An organism URI from Uniprot. e.g. http://purl.uniprot.org/taxonomy/386043" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/members/pages" , "operations": [ { "httpMethod": "GET", "summary": "Target Class Members: List" , "description": "A list of targets classified with the given class in the supported hierarchies. Currently supported hierarchies are the Enzyme Classification, the ChEMBL Target Tree and the Gene Ontology.


Response template:



?item skos:prefLabel ?chembl_name ;
     chembl:targetOrganismName ?chembl_organism ;
     skos:prefLabel ?uniprot_name ;
     skos:prefLabel ?goa_name ;
     rdf:type ?target_type ;
     uniprot:organism ?uniprot_organism ;
     void:inDataset ?dataset .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.uniprot.org/enzyme/6.2.-.-" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "target_organism_uri" , "description": "An organism URI from Uniprot. e.g. http://purl.uniprot.org/taxonomy/386043" , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?chembl_name", "DESC(?chembl_name)", "?chembl_organism", "DESC(?chembl_organism)", "?child_node", "DESC(?child_node)", "?dataset", "DESC(?dataset)", "?g", "DESC(?g)", "?goa_name", "DESC(?goa_name)", "?g_short", "DESC(?g_short)", "?item", "DESC(?item)", "?ops_item", "DESC(?ops_item)", "?target_type", "DESC(?target_type)", "?uniprot_name", "DESC(?uniprot_name)", "?uniprot_organism", "DESC(?uniprot_organism)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/classifications" , "operations": [ { "httpMethod": "GET", "summary": "Target Classifications" , "description": "The classes the given target URI has been classified with. Currently supported hierarchies are the Enzyme Classification, the ChEMBL Target Tree and the Gene Ontology.


Response template:



?ops_item skos:exactMatch ?chembl_target_uri ;
     skos:exactMatch ?uniprot_target_uri ;
     skos:exactMatch ?cw_target_uri .
?chembl_target_uri chembl:hasProteinClassification ?chembl_class ;
     dcterms:title ?target_name ;
     a ?target_type ;
     ops:hasEnzymeClassification ?enzyme_class ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?uniprot_target_uri ops:hasGoComponent ?go_component ;
     ops:hasGoFunction ?go_function ;
     ops:hasGoProcess ?go_process ;
     void:inDataset <http://www.openphacts.org/goa> .
?cw_target_uri skos:prefLabel ?cw_label .
?chembl_class skos:prefLabel ?chembl_label ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?enzyme_class skos:prefLabel ?enzyme_label ;
     void:inDataset <http://purl.uniprot.org/enzyme> .
?go_component skos:prefLabel ?go_c_label ;
     void:inDataset <http://www.geneontology.org> .
?go_function skos:prefLabel ?go_f_label ;
     void:inDataset <http://www.geneontology.org> .
?go_process skos:prefLabel ?go_p_label ;
     void:inDataset <http://www.geneontology.org> .
<http://purl.uniprot.org/enzyme> skos:prefLabel 'Enzyme Classification' .
<http://www.ebi.ac.uk/chembl/target> skos:prefLabel 'ChEMBL Target Hierarchy' .
<http://www.geneontology.org> skos:prefLabel 'GeneOntology' .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://purl.uniprot.org/uniprot/P14756" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "tree" , "description": "Restrict results by hierarchy. Currently one of 'chembl', 'enzyme', 'go'" , "paramType": "query", "dataType": "string" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/classificationsForCompounds" , "operations": [ { "httpMethod": "GET", "summary": "Classification of Compounds for Target" , "description": "The hierarchy classes for the different Compounds that interact with a given Target. Currently only the ChEBI Ontology is supported.


Response template:



?ops_item skos:exactMatch ?chembl_target_uri ;
     skos:exactMatch ?cw_target_uri .
?chembl_target_uri ops:interactsWithMoleculeOfClass ?chebi_class ;
     ops:interactsWithMoleculeOfClass ?chebi_other_class ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?cw_target_uri skos:prefLabel ?cw_label .
?chebi_class skos:prefLabel ?chebi_label ;
     void:inDataset <http://www.ebi.ac.uk/chebi> .
?chebi_other_class skos:prefLabel ?chebi_other_label ;
     ops:classificationType ?chebi_class_type ;
     void:inDataset <http://www.ebi.ac.uk/chebi> .
?chebi_class_type skos:prefLabel ?chebi_class_type_label .
<http://www.ebi.ac.uk/chebi> skos:prefLabel 'ChEBI Ontology' .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://purl.uniprot.org/uniprot/P00918" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/pharmacology/count" , "operations": [ { "httpMethod": "GET", "summary": "Target Pharmacology: Count" , "description": "The total number of acitivity values in the LDC for a given target


Response template:



?ops_item ops:targetPharmacologyTotalResults ?count .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://www.conceptwiki.org/concept/00059958-a045-4581-9dc5-e5a08bb0c291" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal assay organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/pharmacology/pages" , "operations": [ { "httpMethod": "GET", "summary": "Target Pharmacology: List" , "description": "A page of items corresponding to acitivity values in the LDC for a given target


Response template:



?item chembl:hasMolecule ?compound_chembl ;
     chembl:publishedType ?published_type ;
     chembl:publishedRelation ?published_relation ;
     chembl:publishedValue ?published_value ;
     chembl:publishedUnits ?published_unit ;
     chembl:standardType ?activity_type ;
     chembl:standardRelation ?activity_relation ;
     chembl:standardValue ?activity_value ;
     chembl:hasQUDT ?qudt_uri ;
     chembl:hasAssay ?assay_uri ;
     chembl:assayTestType ?assay_type ;
     chembl:pChembl ?pChembl ;
     chembl:activityComment ?act_comment ;
     bibo:pmid ?pmid ;
     chembl:hasDocument ?doi ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?qudt_uri skos:prefLabel ?activity_unit .
?assay_uri chembl:assayOrganismName ?assay_organism ;
     chembl:hasTarget ?chembl_target_uri ;
     dcterms:description ?assay_description ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?chembl_target_uri dcterms:title ?target_name_chembl ;
     chembl:targetOrganismName ?target_organism ;
     chembl:hasTargetComponent ?protein ;
     a ?target_type ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?protein skos:exactMatch ?cw_target .
?cw_target skos:prefLabel ?protein_name ;
     void:inDataset <http://www.conceptwiki.org> .
?compound_chembl skos:exactMatch ?compound_ocrs ;
     skos:exactMatch ?compound_cw .
?compound_ocrs ops:smiles ?smiles ;
     ops:inchi ?inchi ;
     ops:inchikey ?inchi_key ;
     ops:molweight ?molweight ;
     ops:ro5_violations ?num_ro5_violations ;
     void:inDataset <http://ops.rsc.org> .
?compound_cw skos:prefLabel ?compound_name ;
     void:inDataset <http://www.conceptwiki.org> .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://www.conceptwiki.org/concept/00059958-a045-4581-9dc5-e5a08bb0c291" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?act_comment", "DESC(?act_comment)", "?activity_relation", "DESC(?activity_relation)", "?activity_type", "DESC(?activity_type)", "?activity_unit", "DESC(?activity_unit)", "?activity_value", "DESC(?activity_value)", "?assay_description", "DESC(?assay_description)", "?assay_organism", "DESC(?assay_organism)", "?assay_type", "DESC(?assay_type)", "?assay_uri", "DESC(?assay_uri)", "?chembl_target_uri", "DESC(?chembl_target_uri)", "?compound_chembl", "DESC(?compound_chembl)", "?compound_cw", "DESC(?compound_cw)", "?compound_name", "DESC(?compound_name)", "?compound_ocrs", "DESC(?compound_ocrs)", "?cw_target", "DESC(?cw_target)", "?doc_uri", "DESC(?doc_uri)", "?doi", "DESC(?doi)", "?inchi", "DESC(?inchi)", "?inchi_key", "DESC(?inchi_key)", "?item", "DESC(?item)", "?molweight", "DESC(?molweight)", "?num_ro5_violations", "DESC(?num_ro5_violations)", "?pChembl", "DESC(?pChembl)", "?pmid", "DESC(?pmid)", "?protein", "DESC(?protein)", "?protein_name", "DESC(?protein_name)", "?published_relation", "DESC(?published_relation)", "?published_type", "DESC(?published_type)", "?published_unit", "DESC(?published_unit)", "?published_value", "DESC(?published_value)", "?qudt_uri", "DESC(?qudt_uri)", "?smiles", "DESC(?smiles)", "?standard_value", "DESC(?standard_value)", "?target_name_chembl", "DESC(?target_name_chembl)", "?target_organism", "DESC(?target_organism)", "?target_type", "DESC(?target_type)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/tree/pharmacology/count" , "operations": [ { "httpMethod": "GET", "summary": "Target Class Pharmacology: Count" , "description": "The total number of acitivity values in the LDC for targets classified with the given class in the supported hierarchies. Currently supported hierarchies are the Enzyme Classification, the ChEMBL Target Tree and the Gene Ontology.


Response template:



?ops_item ops:targetPharmacologyTotalResults ?count .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.uniprot.org/enzyme/6.2.-.-" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/tree/pharmacology/pages" , "operations": [ { "httpMethod": "GET", "summary": "Target Class Pharmacology: List " , "description": "A page of items corresponding to acitivity values in the LDC for targets classified with the given class in the supported hierarchies. Currently supported hierarchies are the Enzyme Classification, the ChEMBL Target Tree and the Gene Ontology.


Response template:



?item chembl:hasMolecule ?compound_chembl ;
     chembl:publishedType ?published_type ;
     chembl:publishedRelation ?published_relation ;
     chembl:publishedValue ?published_value ;
     chembl:publishedUnits ?published_unit ;
     chembl:standardType ?activity_type ;
     chembl:standardRelation ?activity_relation ;
     chembl:standardValue ?activity_value ;
     chembl:hasQUDT ?qudt_uri ;
     chembl:hasAssay ?assay_uri ;
     chembl:pChembl ?pChembl ;
     chembl:activityComment ?act_comment ;
     chembl:hasDocument ?doi ;
     bibo:pmid ?pmid ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?qudt_uri skos:prefLabel ?activity_unit .
?assay_uri chembl:hasTarget ?target_chembl ;
     chembl:assayTestType ?assay_type ;
     dcterms:description ?assay_description ;
     chembl:assayOrganismName ?assay_organism ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?target_chembl dcterms:title ?target_name ;
     chembl:targetOrganismName ?target_organism ;
     ops:classifiedUnder ?class ;
     chembl:hasTargetComponent ?protein ;
     a ?target_type ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?compound_chembl skos:exactMatch ?compound_ocrs ;
     skos:exactMatch ?compound_cw ;
     void:inDataset <http://www.ebi.ac.uk/chembl> .
?compound_ocrs ops:smiles ?smiles ;
     ops:inchi ?inchi ;
     ops:inchikey ?inchi_key ;
     ops:molweight ?molweight ;
     ops:ro5_violations ?num_ro5_violations ;
     void:inDataset <http://ops.rsc.org> .
?protein skos:exactMatch ?cw_target .
?cw_target skos:prefLabel ?protein_name ;
     void:inDataset <http://www.conceptwiki.org> .
?compound_cw skos:prefLabel ?compound_name ;
     void:inDataset <http://www.conceptwiki.org> .
", "group": "Target" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.uniprot.org/enzyme/6.2.-.-" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "target_organism" , "description": "A literal target organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "activity_value" , "description": "Return activity values equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-activity_value" , "description": "Return activity values greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-activity_value" , "description": "Return activity values greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-activity_value" , "description": "Return activity values less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-activity_value" , "description": "Return activity values less than this number." , "dataType": "double", "paramType": "query" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "activity_relation" , "description": ">, >=,= , < , <=" , "paramType": "query", "dataType": "string" }, { "name": "assay_organism" , "description": "A literal organism in ChEMBL." , "paramType": "query", "dataType": "string" }, { "name": "pChembl" , "description": "Return activities with a pChembl value equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "min-pChembl" , "description": "Return activities with a pChembl value greater than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "minEx-pChembl" , "description": "Return activities with a pChembl value greater than this number." , "dataType": "double", "paramType": "query" }, { "name": "max-pChembl" , "description": "Return activities with a pChembl value less than or equal to this number." , "dataType": "double", "paramType": "query" }, { "name": "maxEx-pChembl" , "description": "Return activities with a pChembl value less than this number." , "dataType": "double", "paramType": "query" }, { "name": "target_type" , "description": "One of the types listed at /target/types. e.g. single_protein" , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?act_comment", "DESC(?act_comment)", "?activity_relation", "DESC(?activity_relation)", "?activity_type", "DESC(?activity_type)", "?activity_unit", "DESC(?activity_unit)", "?activity_value", "DESC(?activity_value)", "?assay_description", "DESC(?assay_description)", "?assay_organism", "DESC(?assay_organism)", "?assay_type", "DESC(?assay_type)", "?assay_uri", "DESC(?assay_uri)", "?class", "DESC(?class)", "?compound_chembl", "DESC(?compound_chembl)", "?compound_cw", "DESC(?compound_cw)", "?compound_name", "DESC(?compound_name)", "?compound_ocrs", "DESC(?compound_ocrs)", "?cw_target", "DESC(?cw_target)", "?document", "DESC(?document)", "?doi", "DESC(?doi)", "?g", "DESC(?g)", "?inchi", "DESC(?inchi)", "?inchi_key", "DESC(?inchi_key)", "?item", "DESC(?item)", "?molweight", "DESC(?molweight)", "?num_ro5_violations", "DESC(?num_ro5_violations)", "?ops_item", "DESC(?ops_item)", "?pChembl", "DESC(?pChembl)", "?pmid", "DESC(?pmid)", "?protein", "DESC(?protein)", "?protein_name", "DESC(?protein_name)", "?published_relation", "DESC(?published_relation)", "?published_type", "DESC(?published_type)", "?published_unit", "DESC(?published_unit)", "?published_value", "DESC(?published_value)", "?qudt_uri", "DESC(?qudt_uri)", "?smiles", "DESC(?smiles)", "?std_value", "DESC(?std_value)", "?target_chembl", "DESC(?target_chembl)", "?target_component", "DESC(?target_component)", "?target_name", "DESC(?target_name)", "?target_organism", "DESC(?target_organism)", "?target_type", "DESC(?target_type)", "?uniprot", "DESC(?uniprot)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/target/types" , "operations": [ { "httpMethod": "GET", "summary": "Target Types" , "description": "A list of target types in the LDC.


Response template:



<http://www.ebi.ac.uk/chembl> ops:hasTargetType ?target_type .
?target_type ops:targetCount ?target_count .
<http://rdf.ebi.ac.uk/terms/chembl#SingleProtein> rdfs:label 'single_protein' .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinComplexGroup> rdfs:label 'protein_complex_group' .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinFamily> rdfs:label 'protein_family' .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinSelectivityGroup> rdfs:label 'protein_selectivity_group' .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinComplex> rdfs:label 'protein_complex' .
<http://rdf.ebi.ac.uk/terms/chembl#Organism> rdfs:label 'organism' .
<http://rdf.ebi.ac.uk/terms/chembl#CellLine> rdfs:label 'cell_line' .
<http://rdf.ebi.ac.uk/terms/chembl#Tissue> rdfs:label 'tissue' .
<http://rdf.ebi.ac.uk/terms/chembl#ProteinProteinInteraction> rdfs:label 'ppi' .
<http://rdf.ebi.ac.uk/terms/chembl#UnknownTarget> rdfs:label 'unknown' .
<http://rdf.ebi.ac.uk/terms/chembl#NucleicAcid> rdfs:label 'nucleic_acid' .
<http://rdf.ebi.ac.uk/terms/chembl#SubCellular> rdfs:label 'sub_cellular' .
<http://rdf.ebi.ac.uk/terms/chembl#UnclassifiedTarget> rdfs:label 'unclassified' .
<http://rdf.ebi.ac.uk/terms/chembl#ADMET> rdfs:label 'admet' .
<http://rdf.ebi.ac.uk/terms/chembl#ChimericProtein> rdfs:label 'chimeric_protein' .
<http://rdf.ebi.ac.uk/terms/chembl#Phenotype> rdfs:label 'phenotype' .
", "group": "Target" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/count" , "operations": [ { "httpMethod": "GET", "summary": "Pathways: Count" , "description": "The total number of pathways in the LDC.


Response template:



<http://www.wikipathways.org> ops:pathway_count ?count .
", "group": "Pathway" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways" , "operations": [ { "httpMethod": "GET", "summary": "Pathways: List" , "description": "The list of pathways in the LDC.


Response template:



?item dc:title ?title ;
     wp:organism ?organism_uri ;
     foaf:page ?page ;
     dc:identifier ?identifier ;
     dcterms:description ?description ;
     wp:pathwayOntology ?ontology ;
     void:inDataset <http://www.wikipathways.org> .
?organism_uri rdfs:label ?organism .
", "group": "Pathway" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?description", "DESC(?description)", "?identifier", "DESC(?identifier)", "?item", "DESC(?item)", "?ontology", "DESC(?ontology)", "?organism", "DESC(?organism)", "?organism_uri", "DESC(?organism_uri)", "?page", "DESC(?page)", "?title", "DESC(?title)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathway" , "operations": [ { "httpMethod": "GET", "summary": "Pathway Information" , "description": "Information about a single pathway.


Response template:



?ops_item skos:exactMatch ?pw_uri .
?pw_uri sioc:latest_version ?rev ;
     void:inDataset <http://www.wikipathways.org> .
?rev dc:title ?title ;
     wp:organism ?organism_uri ;
     foaf:page ?page ;
     dcterms:description ?description ;
     wp:pathwayOntology ?ontology ;
     dcterms:hasPart ?part ;
     void:inDataset <http://www.wikipathways.org> .
?organism_uri rdfs:label ?organism .
?part a ?type .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A Pathway URI. e.g.: http://identifiers.org/wikipathways/WP1019" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathway/getCompounds" , "operations": [ { "httpMethod": "GET", "summary": "Pathway Information: Get Compounds" , "description": "A list of compounds that are part of the pathway specified.


Response template:



?ops_item skos:exactMatch ?pw_uri .
?pw_uri sioc:latest_version ?rev .
?rev dc:title ?title ;
     dcterms:hasPart ?metabolite ;
     void:inDataset <http://www.wikipathways.org> .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A Pathway URI. e.g.: http://identifiers.org/wikipathways/WP1002" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathway/getTargets" , "operations": [ { "httpMethod": "GET", "summary": "Pathway Information: Get Targets" , "description": "A list of targets that are part of the pathway specified.


Response template:



?ops_item skos:exactMatch ?pw_uri .
?pw_uri sioc:latest_version ?rev .
?rev dc:title ?title ;
     dcterms:hasPart ?gene_product ;
     void:inDataset <http://www.wikipathways.org> .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A Pathway URI. e.g.: http://identifiers.org/wikipathways/WP1008" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathway/getReferences" , "operations": [ { "httpMethod": "GET", "summary": "Pathway Information: Get Publications" , "description": "A list of publications that are part of the pathway specified.


Response template:



?ops_item skos:exactMatch ?pw_uri .
?pw_uri sioc:latest_version ?rev .
?rev dc:title ?title ;
     dcterms:hasPart ?reference ;
     void:inDataset <http://www.wikipathways.org> .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A Pathway URI. e.g.: http://identifiers.org/wikipathways/WP1015" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/byCompound/count" , "operations": [ { "httpMethod": "GET", "summary": "Pathways for Compound: Count" , "description": "The total number of pathways which have as part the Metabolite specified.


Response template:



<http://www.wikipathways.org> ops:pathway_count ?count .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://www.conceptwiki.org/concept/83931753-9e3f-4e90-b104-e3bcd0b4d833" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/byCompound" , "operations": [ { "httpMethod": "GET", "summary": "Pathways for Compound: List" , "description": "A list of pathways which have as part the Metabolite specified.


Response template:



?item dc:title ?title ;
     wp:organism ?organism_uri ;
     foaf:page ?page ;
     dc:identifier ?identifier ;
     dcterms:description ?description ;
     wp:pathwayOntology ?ontology ;
     dcterms:hasPart ?pw_uri ;
     void:inDataset <http://www.wikipathways.org> .
?organism_uri rdfs:label ?organism .
?pw_uri a wp:Metabolite ;
     skos:exactMatch ?cw_uri .
?cw_uri skos:prefLabel ?prefLabel ;
     void:inDataset <http://www.conceptwiki.org> .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A compound URI. e.g.: http://www.conceptwiki.org/concept/83931753-9e3f-4e90-b104-e3bcd0b4d833" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?cw_uri", "DESC(?cw_uri)", "?description", "DESC(?description)", "?identifier", "DESC(?identifier)", "?item", "DESC(?item)", "?metabolite", "DESC(?metabolite)", "?ontology", "DESC(?ontology)", "?organism", "DESC(?organism)", "?organism_uri", "DESC(?organism_uri)", "?page", "DESC(?page)", "?prefLabel", "DESC(?prefLabel)", "?pw_uri", "DESC(?pw_uri)", "?title", "DESC(?title)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/byTarget/count" , "operations": [ { "httpMethod": "GET", "summary": "Pathways for Target: Count" , "description": "The total number of pathways which have as part the Gene Product specified.


Response template:



<http://www.wikipathways.org> ops:pathway_count ?count .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://identifiers.org/ncbigene/282478" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/byTarget" , "operations": [ { "httpMethod": "GET", "summary": "Pathways for Target: List" , "description": "A list of pathways which have as part the Gene Product specified.


Response template:



?item dc:title ?title ;
     wp:organism ?organism_uri ;
     foaf:page ?page ;
     dc:identifier ?identifier ;
     dcterms:description ?description ;
     wp:pathwayOntology ?ontology ;
     dcterms:hasPart ?pw_uri ;
     void:inDataset <http://www.wikipathways.org> .
?organism_uri rdfs:label ?organism .
?pw_uri a wp:GeneProduct ;
     skos:exactMatch ?cw_uri .
?cw_uri skos:prefLabel ?prefLabel .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A target URI. e.g.: http://identifiers.org/ncbigene/282478" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?cw_uri", "DESC(?cw_uri)", "?description", "DESC(?description)", "?gene_product", "DESC(?gene_product)", "?identifier", "DESC(?identifier)", "?item", "DESC(?item)", "?ontology", "DESC(?ontology)", "?organism", "DESC(?organism)", "?organism_uri", "DESC(?organism_uri)", "?page", "DESC(?page)", "?prefLabel", "DESC(?prefLabel)", "?pw_uri", "DESC(?pw_uri)", "?title", "DESC(?title)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/byReference/count" , "operations": [ { "httpMethod": "GET", "summary": "Pathways for Publication: Count" , "description": "The total number of pathways which have as part the Reference specified.


Response template:



<http://www.wikipathways.org> ops:pathway_count ?count .
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A reference URI. e.g.: http://identifiers.org/pubmed/9789062" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/byReference" , "operations": [ { "httpMethod": "GET", "summary": "Pathways for Publication: List" , "description": "A list of pathways which have as part the Reference specified.


Response template:



?item dc:title ?title ;
     wp:organism ?organism_uri ;
     foaf:page ?page ;
     dc:identifier ?identifier ;
     dcterms:description ?description ;
     wp:pathwayOntology ?ontology ;
     dcterms:hasPart ?pw_uri ;
     void:inDataset <http://www.wikipathways.org> .
?organism_uri rdfs:label ?organism .
?pw_uri a wp:PublicationReferenc e
", "group": "Pathway" , "parameters": [ { "name": "uri" , "description": "A reference URI. e.g.: http://identifiers.org/pubmed/9789062" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "pathway_organism" , "description": "The rdfs:label for the pathway organism (URL encode). e.g.: Homo sapiens." , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?description", "DESC(?description)", "?identifier", "DESC(?identifier)", "?item", "DESC(?item)", "?ontology", "DESC(?ontology)", "?organism", "DESC(?organism)", "?organism_uri", "DESC(?organism_uri)", "?page", "DESC(?page)", "?pw_uri", "DESC(?pw_uri)", "?title", "DESC(?title)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pathways/organisms" , "operations": [ { "httpMethod": "GET", "summary": "Pathway Organisms" , "description": "A list of organism URIs and labels for which pathway data is available.


Response template:



<http://www.wikipathways.org> ops:pathway_organism ?item .
?item rdfs:label ?label ;
     ops:pathway_count ?coun t
", "group": "Pathway" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?count", "DESC(?count)", "?item", "DESC(?item)", "?label", "DESC(?label)", "?pathway", "DESC(?pathway)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pharmacology/filters/activities/count" , "operations": [ { "httpMethod": "GET", "summary": "Activity Types: Count" , "description": "The number of activity types which have been normalised


Response template:



<http://www.ebi.ac.uk/chembl> ops:activity_type_count ?coun t
", "group": "Pharmacology Filters" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units for allowed values. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pharmacology/filters/activities" , "operations": [ { "httpMethod": "GET", "summary": "Activity Types: List" , "description": "A list of activity types which have been normalised


Response template:



<http://www.ebi.ac.uk/chembl> ops:normalised_activity_type ?item .
?item rdfs:label ?type_label ;
     ops:activity_count ?count .
", "group": "Pharmacology Filters" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "activity_unit" , "description": "The unit in which {activity_value} is given. See /pharmacology/filters/units/{activity_type} for allowed valued. For e.g. IC50: /pharmacology/filters/units/IC50" , "paramType": "query", "dataType": "string" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?activity", "DESC(?activity)", "?count", "DESC(?count)", "?item", "DESC(?item)", "?standard_type", "DESC(?standard_type)", "?type_label", "DESC(?type_label)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pharmacology/filters/count_units" , "operations": [ { "httpMethod": "GET", "summary": "Activity Units: Count" , "description": "A list of activity units which have been normalised


Response template:



<http://www.ebi.ac.uk/chembl> ops:normalised_activity_unit_count ?count .
", "group": "Pharmacology Filters" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "activity_type" , "description": "One of the activity types listed at /pharmacology/filters/activities" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pharmacology/filters/units" , "operations": [ { "httpMethod": "GET", "summary": "Activity Units: List" , "description": "A list of activity units which have been normalised


Response template:



<http://www.ebi.ac.uk/chembl> ops:normalised_activity_unit ?item .
?item rdfs:label ?qudt_label ;
     ops:activity_count ?count .
", "group": "Pharmacology Filters" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_page", "description": "A number; the page that should be viewed", "dataType": "integer", "paramType": "query" }, { "name": "_pageSize", "description": "The desired page size. Set to all to retrieve all results in a single page.", "dataType": "integer", "paramType": "query" }, { "name": "_orderBy", "description": "The desired variable to sort by. Multiple values can be specified seperated by spaces. Direction of sort can be specified with ASC(?var) and DESC(?var). Default is ascending", "allowableValues": { "values": [ "?activity", "DESC(?activity)", "?count", "DESC(?count)", "?item", "DESC(?item)", "?qudt_label", "DESC(?qudt_label)" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/pharmacology/filters/units/{act_type}" , "operations": [ { "httpMethod": "GET", "summary": "Activity Units for Type" , "description": "A list of units that activities of the specified type have been normalised to.


Response template:



?item qudt:unit ?unit ;
     rdfs:label ?act_label .
?unit rdfs:label ?unit_labe l
", "group": "Pharmacology Filters" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "act_type" , "description": "http://www.openphacts.org/terms/chembl#{act_name}" , "required": true, "paramType": "path", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/tree" , "operations": [ { "httpMethod": "GET", "summary": "Hierarchies: Root Nodes" , "description": "A representation of the root classes in each hierachy. The ChEBI Ontology, the Gene Ontology, the Enzyme Classification, and the ChEMBL Target Tree are currently supported.


Response template:



ops:conceptHierarchy dcterms:hasPart ?g_short .
?g_short ops:rootNode ?root_node .
?root_node skos:prefLabel ?name ;
     skos:prefLabel ?label .
<http://purl.uniprot.org/enzyme> skos:prefLabel 'Enzyme Classification' .
<http://www.ebi.ac.uk/chembl/target> skos:prefLabel 'ChEMBL Target Hierarchy' .
<http://www.ebi.ac.uk/chebi> skos:prefLabel 'ChEBI Ontology' .
<http://www.geneontology.org> skos:prefLabel 'GeneOntology' .
", "group": "Concept Class Hierarchies" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "root" , "description": "Restrict results by hierarchy. Currently one of 'chembl', 'chebi', 'enzyme', 'go'" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/tree/children" , "operations": [ { "httpMethod": "GET", "summary": "Hierarchies: Child Nodes" , "description": "A representation of all child nodes of the given class in the supportted hierarchies. The ChEBI Ontology, the Gene Ontology, the Enzyme Classification, and the ChEMBL Target Tree are currently supported.


Response template:



?ops_item ops:childNode ?child_node ;
     skos:prefLabel ?label ;
     void:inDataset ?g_short .
?child_node skos:prefLabel ?child_label .
<http://purl.uniprot.org/enzyme> skos:prefLabel 'Enzyme Classification' .
<http://www.ebi.ac.uk/chembl/target> skos:prefLabel 'ChEMBL Target Hierarchy' .
<http://www.ebi.ac.uk/chebi> skos:prefLabel 'ChEBI Ontology' .
<http://www.geneontology.org> skos:prefLabel 'GeneOntology' .
", "group": "Concept Class Hierarchies" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.uniprot.org/enzyme/6.2.-.-" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/tree/parents" , "operations": [ { "httpMethod": "GET", "summary": "Hierarchies: Parent Nodes" , "description": "A representation of all parent nodes of the given class in the supportted hierarchies. The ChEBI Ontology, the Gene Ontology, the Enzyme Classification, and the ChEMBL Target Tree are currently supported.


Response template:



?ops_item ops:parentNode ?parent_node ;
     skos:prefLabel ?label ;
     void:inDataset ?g_short .
?parent_node skos:prefLabel ?parent_label ;
     skos:prefLabel ?parent_name .
<http://purl.uniprot.org/enzyme> skos:prefLabel 'Enzyme Classification' .
<http://www.ebi.ac.uk/chembl/target> skos:prefLabel 'ChEMBL Target Hierarchy' .
<http://www.ebi.ac.uk/chebi> skos:prefLabel 'ChEBI Ontology' .
<http://www.geneontology.org> skos:prefLabel 'GeneOntology' .
", "group": "Concept Class Hierarchies" , "parameters": [ { "name": "uri" , "description": "A class URI from one of the supported hierarchies. e.g.: http://purl.uniprot.org/enzyme/6.2.-.-" , "dataType": "string", "required": true, "paramType": "query" }, { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/search/freetext" , "operations": [ { "httpMethod": "GET", "summary": "Free Text to Concept" , "description": "A set of concept URLs associated to the input free text. Driven by ConceptWiki.


Response template:



?primaryTopic rdf:type ?searchType ;    
     ops_api:searchTerm ?searchTerm ;
     ops_api:result ?uuidURL ;
     ops_api:limit ?resultsLimit .
?uuidURL skos:prefLabel ?conceptPrefLabel ;
     ops_api:match ?match ;
     skos:altLabel ?conceptAltLabel ;
     ops_api:semanticTag ?tagBNode ;            
     skos:exactMatch ?urlBNode .
?tagBNode cw:uuid tagUUID ;
     skos:prefLabel ?tagPrefLabel ;
     cw:deleted ?deletedFromWikiMarker .
     skos:altLabel ?tagAltLabel ;
?urlBNode cw:url ?url ;
     cw:matchType ?matchType .
", "group": "Concept Wiki services" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "q" , "description": "Query; required. Mininum length is 3 characters. E.g. water" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "limit" , "description": "Limits the number of results; optional. Minimum value is 1, maximum value is common sense. Default value is 10." , "paramType": "query", "dataType": "string" }, { "name": "branch" , "description": "The search results will be filtered by this source authority; optional. Possible values: 1 = Community, 2 = UMLS, 3 = SwissProt, 4 = ChemSpider, 5 = Computer Inferred, 6 = Pathway Ontology, 7 = WikiPathways" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/search/byTag" , "operations": [ { "httpMethod": "GET", "summary": "Free Text to Concept for Semantic Tag" , "description": "Search for a set of concept URLs based on free text and an input tag, which specifies the semantic type. Driven by ConceptWiki.


Response template:



?primaryTopic rdf:type ?searchType ;
     ops_api:searchTerm ?searchTerm ;
     ops_api:tagUUID ?inputTagUUID ;
     ops_api:result ?uuidURL ;
     ops_api:limit ?resultsLimit .
?uuidURL skos:prefLabel ?conceptPrefLabel ;
     ops_api:match ?match ;
     ops_api:semanticTag ?tagBNode ;            
     skos:altLabel ?conceptAltLabel ;            
     skos:exactMatch ?urlBNode .
?tagBNode cw:uuid tagUUID ;
     skos:prefLabel ?tagPrefLabel ;
     cw:deleted ?deletedFromWikiMarker ;
     skos:altLabel ?tagAltLabel .
?urlBNode cw:url ?url ;
     cw:matchType ?matchType .
", "group": "Concept Wiki services" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "q" , "description": "Query; required. Minimum length is 3 characters. E.g. water" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "limit" , "description": "Limits the number of results; optional. Minimum value is 1, maximum value is common sense. Default value is 10." , "paramType": "query", "dataType": "string" }, { "name": "uuid" , "description": "UUID of the tag concept; required. Specifies the 'semantic type' required for the search results. E.g. 07a84994-e464-4bbf-812a-a4b96fa3d197 for 'Chemical Viewed Structurally', or eeaec894-d856-4106-9fa1-662b1dc6c6f1 for 'Amino Acid, Peptide, or Protein'" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "branch" , "description": "The search results will be filtered by this source authority; optional. Possible values: 1 = Community, 2 = UMLS, 3 = SwissProt, 4 = ChemSpider, 5 = Computer Inferred, 6 = Pathway Ontology, 7 = WikiPathways" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/getConceptDescription" , "operations": [ { "httpMethod": "GET", "summary": "Concept Description" , "description": "Get the description of a concept, based on a concept URL. Driven by ConceptWiki.


Response template:



?conceptURL skos:prefLabel ?conceptPrefLabel ;
     skos:altLabel ?conceptAltLabel ;
     ops_api:semanticTag ?tagBNode ;            
     skos:exactMatch ?urlBNode ;
     skos:definition ?definitionText .
?tagBNode cw:uuid tagUUID ;
     skos:prefLabel ?tagPrefLabel ;
     cw:deleted ?deletedFromWikiMarker .
     skos:altLabel ?tagAltLabel ;
?urlBNode cw:url ?url ;
     cw:matchType ?matchType ;
     void:inDataset ?sourceURL ;
?sourceURL skos:prefLabel ?sourcePrefLabel ;
     cw:deleted ?deletedFromWikiMarker .
", "group": "Concept Wiki services" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "uuid" , "description": "UUID of the concept; required. E.g. 8e3a87ae-345d-4c25-bd7a-5b3221c6e3fa" , "paramType": "query", "required": true, "dataType": "string" }, { "name": "branch" , "description": "The search results will be filtered by this source authority; optional. Possible values: 1 = Community, 2 = UMLS, 3 = SwissProt, 4 = ChemSpider, 5 = Computer Inferred, 6 = Pathway Ontology, 7 = WikiPathways" , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/sources" , "operations": [ { "httpMethod": "GET", "summary": "Data Sources" , "description": "(UNDER DEVELOPMENT) Information about currently loaded data sources.


Response template:



<http://www.openphacts.org/linked_data_cache> a void:Dataset ;
     void:subset ?top_dataset .
?top_dataset foaf:isPrimaryTopicOf ?description .
?dataset dcterms:title ?title .
?dataset void:subset ?subset .
?dataset prov:wasDerivedFrom ?derivedFrom .
?dataset void:triples ?tripleNo .
?dataset void:dataDump ?dataDump .
?dataset dcat:landingPage ?landingPage .
?dataset foaf:homepage ?homepage .
?dataset a void:Dataset .
", "group": "Data Sources" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] }, { "path": "/mapUri" , "operations": [ { "httpMethod": "GET", "summary": "Map URL" , "description": "A set of URLs associated to the input URL.


Response template:



     foaf:primaryTopic ?primaryTopic .
     ?primaryTopic foaf:isPrimaryTopicOf .
?primaryTopic skos:exactMatch ?url .
", "group": "Mapping service betweem URLs" , "parameters": [ { "name": "app_id", "description": "Your access application id", "dataType": "string", "paramType": "query", "threescale_name": "app_ids" }, { "name": "app_key", "description": "Your access application key", "dataType": "string", "paramType": "query", "threescale_name": "app_keys" }, { "name": "Uri" , "description": "An input Uri to be mapped." , "paramType": "query", "dataType": "string" }, { "name": "targetUriPattern" , "description": "List of URI patterns separated by '|' characters. Limits the results to ones with URIs with this pattern(s)." , "paramType": "query", "dataType": "string" }, { "name": "graph" , "description": "Limits the results to ones required for this OpenRdf context/graph." , "paramType": "query", "dataType": "string" }, { "name": "lensUri" , "description": "Lens URI." , "paramType": "query", "dataType": "string" }, { "name": "_format", "description": "The desired result format.", "allowableValues": { "values": [ "json", "tsv", "ttl", "xml", "rdf", "rdfjson", "html" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" }, { "name": "_callback", "description": "For JSONP", "dataType": "string", "paramType": "query" }, { "name": "_metadata", "description": "Additional metadata to be included with response.", "allowableValues": { "values": [ "execution", "site", "formats", "views", "all" ], "valueType": "LIST" }, "dataType": "string", "required": false, "paramType": "query" } ] } ] } ] }