getLabel: Get label of an entity based on the URI.

Description Usage Arguments Value Author(s) Examples

View source: R/AtlasRDF.R

Description

Every ontology class has a human readable label associated with it, thhis function will enable you to get that readable label based on the URI (the identifier) for that entity. For instance, the URI http://www.ebi.ac.uk/efo/EFO_0001185 has label HeLa.

Usage

1
getLabel(uri, endpoint = "http://www.ebi.ac.uk/rdf/services/atlas/sparql")

Arguments

uri

URI of the class for which the label is required.

endpoint

The location of the SPARQL endpoint - default value is live Atlas endpoint

Value

List of labels for the class URI

Author(s)

James Malone, Simon Jupp

Examples

1
2
###get the label for the class efo:EFO_0001185 (HeLa)
getLabel("efo:EFO_0001185")

AtlasRDF documentation built on Nov. 17, 2017, 9:33 a.m.