Skip to content

Commit 04582fa

Browse files
authored
Merge pull request #31 from nfdi4plants/processCore
ProcessCore querymodel
2 parents 460e12c + f4bfcc1 commit 04582fa

15 files changed

Lines changed: 1743 additions & 9 deletions

build/BasicTasks.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ let setPrereleaseTag() =
148148
let clean = BuildTask.create "Clean" [] {
149149
!! "src/**/bin"
150150
++ "src/**/obj"
151-
++ "src/ARCtrl/ts/"
152-
++ "src/ARCtrl/py/"
151+
++ "src/ARCtrl.QueryModel/ts/"
152+
++ "src/ARCtrl.QueryModel/py/"
153153
++ "tests/**/bin"
154154
++ "tests/**/obj"
155155
++ "tests/TestingUtils/TestResults"
156156
++ "tests/**/py"
157157
++ "tests/**/js"
158-
++ "tests/Javascript/ARCtrl"
159-
++ "tests/Python/ARCtrl"
158+
++ "tests/Javascript/ARCtrl.QueryModel"
159+
++ "tests/Python/ARCtrl.QueryModel"
160160
++ "dist"
161161
++ ProjectInfo.netPkgDir
162162
|> Shell.cleanDirs

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ include = [
3434
"src/ARCtrl.Querymodel/py/**/*.py"
3535
]
3636
packages = [
37-
{ include = "**/*.py", from = "src/ARCtrl.Querymodel/", to = "arctrl_querymodel" }
37+
{ include = "**/*.py", from = "src/ARCtrl.Querymodel/", to = "arcquerymodel" }
3838
]
3939

4040
[build-system]

src/ARCtrl.QueryModel/ARCtrl.QueryModel.Javascript.fsproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
<Compile Include="Assay.fs" />
2929
<Compile Include="Study.fs" />
3030
<Compile Include="Investigation.fs" />
31+
<Compile Include="ProcessCore\KnowledgeGraph.fs" />
32+
<Compile Include="ProcessCore\PropertyValue.fs" />
33+
<Compile Include="ProcessCore\ValueCollection.fs" />
34+
<Compile Include="processcore\ProcessCollection.fs" />
3135
<!--<Compile Include="Linq\Helpers.fs" />
3236
<Compile Include="Linq\QueryBuilder.fs" />
3337
<Compile Include="Linq\Query.fs" />

src/ARCtrl.QueryModel/ARCtrl.QueryModel.Python.fsproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
<Compile Include="Assay.fs" />
2929
<Compile Include="Study.fs" />
3030
<Compile Include="Investigation.fs" />
31+
<Compile Include="ProcessCore\KnowledgeGraph.fs" />
32+
<Compile Include="ProcessCore\PropertyValue.fs" />
33+
<Compile Include="ProcessCore\ValueCollection.fs" />
34+
<Compile Include="processcore\ProcessCollection.fs" />
3135
<!--<Compile Include="Linq\Helpers.fs" />
3236
<Compile Include="Linq\QueryBuilder.fs" />
3337
<Compile Include="Linq\Query.fs" />

src/ARCtrl.QueryModel/ARCtrl.QueryModel.fsproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<None Include="ARCtrl.QueryModel.Python.fsproj" />
1212
<None Include="ARCtrl.QueryModel.Javascript.fsproj" />
1313
<None Include="ARCtrl.QueryModel.Common.props" />
14+
<None Include="index.ts" />
15+
<None Include="__init__.py" />
1416
<Compile Include="ResizeArray.fs" />
1517
<Compile Include="OntologyAnnotation.fs" />
1618
<Compile Include="FragmentSelector.fs" />
@@ -27,6 +29,10 @@
2729
<Compile Include="Assay.fs" />
2830
<Compile Include="Study.fs" />
2931
<Compile Include="Investigation.fs" />
32+
<Compile Include="ProcessCore\KnowledgeGraph.fs" />
33+
<Compile Include="ProcessCore\PropertyValue.fs" />
34+
<Compile Include="ProcessCore\ValueCollection.fs" />
35+
<Compile Include="processcore\ProcessCollection.fs" />
3036
<Compile Include="Linq\Helpers.fs" />
3137
<Compile Include="Linq\QueryBuilder.fs" />
3238
<Compile Include="Linq\Query.fs" />
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
namespace ARCtrl.QueryModel.ProcessCore
2+
3+
open ARCtrl.ROCrate
4+
open ARCtrl.QueryModel
5+
6+
[<AutoOpen>]
7+
module KnowledgeGraph =
8+
9+
let objectOf = "objectOf"
10+
let resultOf = "resultOf"
11+
12+
let context =
13+
LDContext(
14+
baseContexts = ResizeArray[
15+
Context.initBioschemasContext()
16+
Context.initV1_2()
17+
]
18+
)

0 commit comments

Comments
 (0)