Skip to content

Commit 70c07a3

Browse files
committed
#401 query_from_term for rdf dataset
1 parent 71409ec commit 70c07a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/geoflow_vocabulary.R

+3
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ geoflow_skos_vocabulary <- R6Class("geoflow_skos_vocabulary",
373373
self$rdf_data$p == "http://www.w3.org/2004/02/skos/core#prefLabel",]
374374
rec = rec[,c("s", "lang", "o")]
375375
colnames(rec) = c("concept", "lang", "prefLabel")
376+
if(nrow(rec)>0){
377+
rec = self$query_from_uri(uri = rec[1,]$concept)
378+
}
376379
return(rec)
377380
}
378381

0 commit comments

Comments
 (0)