# A minimal example with just rowid and geo
data("gdp", package = "dataset")
small_geo <- dataset_df(
geo = defined(
gdp$geo[1:3],
label = "Geopolitical entity",
concept = "http://example.com/prop/geo",
namespace = "https://dd.eionet.europa.eu/vocabulary/eurostat/geo/$1"
)
)
# View as triple table
dataset_to_triples(small_geo)
# View as N-Triples
dataset_to_triples(small_geo, format = "nt")
Run the code above in your browser using DataLab