Skip to content

Commit

Permalink
tweak ontology
Browse files Browse the repository at this point in the history
  • Loading branch information
ehwenk committed Jan 31, 2024
1 parent 6d77f7a commit 615ad5b
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 130 deletions.
3 changes: 2 additions & 1 deletion ontology/build_traits.build_ontology.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ convert_to_triples <- function(ontology_csv, published_classes_csv) {
))) %>%
dplyr::rename(dplyr::all_of(c(
"Subject" = "Entity",
"<http://www.w3.org/2004/02/skos/core#prefLabel>" = "skos:prefLabel",
"<http://www.w3.org/2004/02/skos/core#prefLabel>" = "skos:prefLabel",
"<http://purl.org/dc/terms/description>" = "dcterms:description",
"<http://www.w3.org/2000/01/rdf-schema#comment>" = "rdfs:comment",
"<http://www.w3.org/2004/02/skos/core#inScheme>" = "skos:inScheme"
Expand All @@ -44,6 +44,7 @@ convert_to_triples <- function(ontology_csv, published_classes_csv) {
dplyr::rename(all_of(c(
"Subject" = "Class",
"<http://www.w3.org/2004/02/skos/core#prefLabel>" = "prefLabel",
"<http://www.w3.org/2004/02/skos/core#altLabel>" = "altLabel",
"<http://www.w3.org/2004/02/skos/core#exactMatch>" = "exactMatch",
"<http://www.w3.org/2008/05/skos#broader>" = "broader",
"<http://semanticscience.org/resource/SIO_000602>" = "computational_entity",
Expand Down
Loading

0 comments on commit 615ad5b

Please sign in to comment.