Provides for a very generic description, just requesting the rdfs:label.

get_label(uri, endpoint = default_endpoint())

Arguments

uri

A character vector of URIs.

endpoint

A string for the sparql endpoint

Value

A data frame with column's for the uri and label

Details

The vector of uris passed to the function may contain duplicates, only one description per URI will be returned (even if the database contains duplicate labels).

If no label is found, the URI is used. This guarantees that there is a description of all URIs which is required by resource().

Examples

if (FALSE) { get_label("http://purl.org/linked-data/cube#measureType") }