Skip to content

Commit

Permalink
rename to kgcl_schema (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall authored Jul 5, 2022
1 parent 058b0ce commit fdcadde
Show file tree
Hide file tree
Showing 45 changed files with 195 additions and 196 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

# paths:
# - 'src/docs/*'
# - 'src/kgcl/schema/kgcl.yaml'
# - 'src/kgcl_schema/schema/kgcl_schema.yaml'


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
Expand Down
4 changes: 2 additions & 2 deletions about.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: kgcl
name: kgcl_schema
description: Knowledge Graph Change Language.
source_schema_path: src/kgcl/schema/kgcl.yaml
source_schema_path: src/kgcl_schema/schema/kgcl_schema.yaml
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ nav:
# - Home: home.md
- Index: index.md
- About: about.md
site_url: https://incatools.github.io/kgcl/
repo_url: https://github.com/INCATools/kgcl
site_url: https://incatools.github.io/kgcl_schema/
repo_url: https://github.com/INCATools/kgcl_schema
6 changes: 3 additions & 3 deletions project/prefixmap/kgcl.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"IAO": "http://purl.obolibrary.org/obo/IAO_",
"basics": "https://w3id.org/kgcl/basics/",
"basics": "https://w3id.org/kgcl_schema/basics/",
"dcterms": "http://purl.org/dc/terms/",
"kgcl": "http://w3id.org/kgcl/",
"kgcl": "http://w3id.org/kgcl_schema/",
"linkml": "https://w3id.org/linkml/",
"oio": "http://www.geneontology.org/formats/oboInOwl#",
"om": "http://w3id.org/kgcl/om/",
"om": "http://w3id.org/kgcl_schema/om/",
"owl": "http://www.w3.org/2002/07/owl#",
"prov": "http://www.w3.org/ns/prov#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "kgcl"
version = "0.1.0"
description = "Schema fro the KGCL project."
name = "kgcl_schema"
version = "0.0.0"
description = "Schema for the KGCL project."
authors = [
"Chris Mungall <[email protected]>",
"Harshad Hegde <[email protected]>"
Expand All @@ -25,9 +25,9 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.scripts]
kgcl-diff = "kgcl.kgcl_diff:cli"
kgcl-apply = "kgcl.kgcl:cli"
kgcl-parse = "kgcl.grammar.parser:cli"
kgcl-diff = "kgcl_schema.kgcl_diff:cli"
kgcl-apply = "kgcl_schema.kgcl:cli"
kgcl-parse = "kgcl_schema.grammar.parser:cli"

[tool.poetry.extras]
docs = ["linkml", "mkdocs-material"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List

import rdflib
from kgcl.datamodel.kgcl import Change
from kgcl_schema.datamodel.kgcl import Change

from .kgcl_2_sparql import convert

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import re
from typing import Optional, List

from kgcl.datamodel.kgcl import (ClassCreation, EdgeCreation, EdgeDeletion,
NewSynonym, NodeAnnotationChange, NodeCreation,
NodeDeepening, NodeDeletion, NodeMove,
NodeObsoletion, NodeRename, NodeShallowing,
NodeUnobsoletion, PlaceUnder, PredicateChange,
RemovedNodeFromSubset, RemoveUnder, Change)
from kgcl_schema.datamodel.kgcl import (ClassCreation, EdgeCreation, EdgeDeletion,
NewSynonym, NodeAnnotationChange, NodeCreation,
NodeDeepening, NodeDeletion, NodeMove,
NodeObsoletion, NodeRename, NodeShallowing,
NodeUnobsoletion, PlaceUnder, PredicateChange,
RemovedNodeFromSubset, RemoveUnder, Change)


CURIE_PATTERN = re.compile(r"^(\w+):(\S+)$")
Expand Down
Loading

0 comments on commit fdcadde

Please sign in to comment.