Skip to content

Commit d59f07f

Browse files
committed
odk.yaml bdscratch to bdso rename
1 parent 92f0371 commit d59f07f

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

src/ontology/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ----------------------------------------
2-
# Makefile for bdscratch
2+
# Makefile for bdso
33
# Generated using ontology-development-kit
44
# ODK Version: v1.2.32
55
# ----------------------------------------
6-
# IMPORTANT: DO NOT EDIT THIS FILE. To override default make goals, use bdscratch.Makefile instead
6+
# IMPORTANT: DO NOT EDIT THIS FILE. To override default make goals, use bdso.Makefile instead
77

88

99
# ----------------------------------------
@@ -228,7 +228,7 @@ imports/%_terms_combined.txt: $(IMPORTSEED) imports/%_terms.txt
228228

229229

230230
imports/merged_import.owl: mirror/merged.owl imports/merged_terms_combined.txt
231-
echo "ERROR: You have configured your default module type to be slme; this behavior needs to be overwritten in bdscratch.Makefile!" && false
231+
echo "ERROR: You have configured your default module type to be slme; this behavior needs to be overwritten in bdso.Makefile!" && false
232232

233233

234234

@@ -527,7 +527,7 @@ SHARED_ROBOT_COMMANDS =
527527

528528
$(ONTOLOGYTERMS): $(SRC) $(OTHER_SRC)
529529
touch $(ONTOLOGYTERMS) && \
530-
$(ROBOT) query --use-graphs true -f csv -i $< --query ../sparql/bdscratch_terms.sparql $@
530+
$(ROBOT) query --use-graphs true -f csv -i $< --query ../sparql/bdso_terms.sparql $@
531531

532532

533533

@@ -597,12 +597,12 @@ normalize_src: $(SRC)
597597

598598
.PHONY: validate_idranges
599599
validate_idranges:
600-
amm $(SCRIPTSDIR)/validate_id_ranges.sc bdscratch-idranges.owl
600+
amm $(SCRIPTSDIR)/validate_id_ranges.sc bdso-idranges.owl
601601

602602
.PHONY: update_repo
603603
update_repo:
604604
sh $(SCRIPTSDIR)/update_repo.sh
605605

606606

607607

608-
include bdscratch.Makefile
608+
include bdso.Makefile

src/ontology/bdscratch-odk.yaml renamed to src/ontology/bdso-odk.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
id: bdscratch
1+
id: bdso
22
title: Brain Data Standards Cell Ontology
33
github_org: obophenotype
4-
repo: bdscratch
4+
repo: bdso
55
use_dosdps: TRUE
66
export_formats:
77
- owl
File renamed without changes.

src/scripts/update_repo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "(2) and add missing files, if any."
44

55
set -e
66

7-
OID=bdscratch
7+
OID=bdso
88
ROOTDIR=../..
99
SRCDIR=..
1010
CONFIG=$OID"-odk.yaml"

src/sparql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ query language for RDF. This directory contains useful SPARQL queries
55
for perfoming over the ontology.
66

77
SPARQL can be executed on a triplestore or directly on any OWL
8-
file. The queries here are all executed on either bdscratch-edit.obo or
8+
file. The queries here are all executed on either bdso-edit.obo or
99
downstream products in the [ontology](../ontology/) folder. We use
1010
`robot` as this allows easy execution over any Obo-format or OWL file.
1111

src/sparql/bdso_terms.sparql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
SELECT DISTINCT ?term
2+
WHERE {
3+
{ ?s1 ?p1 ?term . }
4+
UNION
5+
{ ?term ?p2 ?o2 . }
6+
FILTER(isIRI(?term) && (regex(str(?term), UCASE("bdso_"))))
7+
}

0 commit comments

Comments
 (0)