| geoflow_skos_vocabulary | R Documentation |
This class models a SKOS vocabulary
R6Class object.
geoflow_skos_vocabulary
Object of R6Class for modelling a SKOS vocabulary
geoflow::geoflow_vocabulary -> geoflow_skos_vocabulary
rdfrdf
rdf_datardf_data
endpointendpoint
new()Initializes a vocabulary
geoflow_skos_vocabulary$new(id, def, uri, endpoint = NULL, file = NULL)
idid
defdef
uriuri
endpointA Sparql endpoint
filea RDF file
query()query
geoflow_skos_vocabulary$query(str, graphUri = NULL, mimetype = "text/csv")
strstr
graphUrigraphUri
mimetypemimetype
the response of the SPARQL query
query_full_dataset()Queries full dataset
geoflow_skos_vocabulary$query_full_dataset()
an object of class tibble
ping()Ping query
geoflow_skos_vocabulary$ping()
list_collections()list_collections
geoflow_skos_vocabulary$list_collections( mimetype = "text/csv", count_sub_collections = TRUE, count_concepts = TRUE )
mimetypemimetype
count_sub_collectionscount_sub_collections. Default is TRUE
count_conceptscount_concepts. Default is TRUE
the response of the SPARQL query
get_concepts_hierarchy()list_concepts
geoflow_skos_vocabulary$get_concepts_hierarchy(
lang = "en",
method = c("SPARQL", "R"),
out_format = c("tibble", "list")
)langlang
methodmethod used to build the hierarchy, either "SPARQL" or "R"
out_formatoutput format (tibble or list). Default is "tibble"
the response of the SPARQL query
list_concepts()list_concepts
geoflow_skos_vocabulary$list_concepts(lang = "en", mimetype = "text/csv")
langlang
mimetypemimetype
the response of the SPARQL query
query_from_uri()query_from_uri
geoflow_skos_vocabulary$query_from_uri( uri, graphUri = NULL, mimetype = "text/csv" )
uriuri
graphUrigraphUri
mimetypemimetype
an object of class tibble
query_from_term()query_from_term
geoflow_skos_vocabulary$query_from_term( term, graphUri = NULL, mimetype = "text/csv" )
termterm
graphUrigraphUri
mimetypemimetype
an object of class tibble
clone()The objects of this class are cloneable with this method.
geoflow_skos_vocabulary$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.