Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
ea20d75
first commit
deniskoronchik Nov 1, 2011
26fb814
added main sub-modules
deniskoronchik Sep 11, 2012
760ccef
added scs-converter tool
deniskoronchik Nov 22, 2012
4d14673
added license
deniskoronchik Nov 22, 2012
a044681
work on scs-converter
deniskoronchik Nov 25, 2012
5973674
fixed some errors with internal sentences for sc-link
deniskoronchik Nov 25, 2012
e5d78d3
added python tool for repository building; fixed errors in converter
deniskoronchik Nov 28, 2012
d9a8670
work on scs-tools
deniskoronchik Dec 3, 2012
a0a5c6d
rename scs-converter into scs
deniskoronchik Dec 3, 2012
2dd8d21
fixed some bugs in scs tools; added fs links support
deniskoronchik Dec 6, 2012
55efd78
add support of variable sc-element
deniskoronchik Dec 9, 2012
4c49128
update to new sc-memory initialize function
deniskoronchik Jan 16, 2013
797f979
added contour support
deniskoronchik Jan 18, 2013
ee9f629
fixed bug with contours and arc types
deniskoronchik Jan 21, 2013
d04b37c
fixed bug with const | var types
deniskoronchik Jan 28, 2013
437937a
disable sc_helper initialization
deniskoronchik Feb 3, 2013
ede88fc
add = support
deniskoronchik Feb 7, 2013
b6b8cd5
fixed bug with contents copying
deniskoronchik Feb 7, 2013
a8d8409
add support of ^"file://" directive in contours
deniskoronchik Feb 7, 2013
32db7b1
fixed bug with contour file names resolving recursively
deniskoronchik Feb 8, 2013
34fe69d
fixed file names relative names
deniskoronchik Feb 8, 2013
fc676cc
fixed bugs with contents copying in recursive inclusion
deniskoronchik Feb 8, 2013
c0e1c1e
rename nrel_system_identifier to hypermedia_nrel_system_identifier
deniskoronchik Feb 8, 2013
23fd228
fixed bug with include path calculation
deniskoronchik Feb 10, 2013
da3f88b
add translation of sc-link data formats
deniskoronchik Feb 10, 2013
07dd4cc
fixed keynode identifiers; fixed bug with file data translation
deniskoronchik Feb 16, 2013
35f3cb0
fixed bug with format relation, for system identifiers
deniskoronchik Feb 16, 2013
b655258
some code rafactored; fixed bug with struct types for nodes
deniskoronchik Feb 20, 2013
896b230
add support of triples
deniskoronchik Apr 29, 2013
e0b2fe0
fixed bug, when metainformation about files included into contours, w…
deniskoronchik Jun 30, 2013
e49b149
fixed bug with file links processing in simple triples
deniskoronchik Oct 29, 2013
3e55f8c
work on issue #1
deniskoronchik Mar 29, 2014
d7e8f74
done issue #1
deniskoronchik Mar 29, 2014
52b6909
fix url's in prepare.sh script
deniskoronchik Apr 30, 2014
5d85a23
fix order of sc-web install
deniskoronchik Apr 30, 2014
31ad49c
work on preprare script
deniskoronchik Apr 30, 2014
7443ddb
add update of components
deniskoronchik Apr 30, 2014
bdf271c
Version 0.2.0
ShunkevichDV Jan 24, 2015
a5e6049
Build kb config added
ShunkevichDV Jan 26, 2015
6543e46
Component approach used, scripts updated
ShunkevichDV Feb 26, 2015
2d09da2
script fixed
ShunkevichDV Mar 26, 2015
7cfbc5e
IMS KB copying script changed
ShunkevichDV Oct 25, 2015
312c346
sc-machine version changed
ShunkevichDV Nov 13, 2015
c02f537
Apt-get Redis instead of building it from source
rusetski-k Nov 19, 2015
cadefc6
Install python-dev
rusetski-k Nov 19, 2015
553991d
Merge pull request #1 from rusetski-k/patch-1
ShunkevichDV Nov 20, 2015
98f592a
scp-machine removed
ShunkevichDV Nov 26, 2015
df5963d
Merge remote-tracking branch 'origin/master'
ShunkevichDV Nov 26, 2015
2d2b0cf
Build scripts for 64-bit Windows
rusetski-k Dec 1, 2015
a04c136
Moved windows scripts to their own subdir
rusetski-k Dec 1, 2015
baa5a48
Merge pull request #2 from rusetski-k/win64-build
ShunkevichDV Dec 1, 2015
9cdb85c
restart_sctp relative path fixes
rusetski-k Dec 1, 2015
c38201e
Merge pull request #3 from rusetski-k/win64-build
ShunkevichDV Dec 1, 2015
3a58a37
adjusted sc-web source url
rusetski-k Apr 14, 2016
9672e8b
Merge pull request #4 from rusetski-k/master
ShunkevichDV Apr 14, 2016
d268608
Updated repository URLs for base components
rusetski-k May 27, 2016
45afedf
Merge pull request #5 from rusetski-k/patch-2
ShunkevichDV May 27, 2016
56879be
[win] updated ims.ostis.kb subset creation & sc-machine url
rusetski-k Jul 21, 2016
a6780d1
Merge pull request #6 from rusetski-k/patch-3
ShunkevichDV Jul 21, 2016
7cead8f
[win] Installation scripts overhaul
rusetski-k Aug 5, 2016
f37e0ec
Merge pull request #7 from rusetski-k/vc140
ShunkevichDV Aug 6, 2016
f7f8d14
PowerShell 2.0 compatibility fixes
rusetski-k Aug 8, 2016
c2b5800
A number of small fixes
rusetski-k Aug 8, 2016
7c4b60b
Added Windows Firewall rules
rusetski-k Aug 8, 2016
9e30819
Merge pull request #8 from rusetski-k/vc140
ShunkevichDV Aug 9, 2016
568a12e
Package installation fixes
rusetski-k Aug 12, 2016
9c3d104
Merge pull request #9 from rusetski-k/vc140
ShunkevichDV Aug 12, 2016
2b98d3d
Dev scripts updated
ShunkevichDV Feb 25, 2016
49ea9bc
prepare updated
ShunkevichDV Mar 17, 2016
2544001
switched to master kb version
ShunkevichDV Sep 4, 2016
bbb421a
[win64] PoSh 2.0 compatibility fix
rusetski-k Sep 6, 2016
4c2f512
Merge pull request #10 from rusetski-k/patch-4
ShunkevichDV Sep 6, 2016
ae12de1
sc-web source changed
ShunkevichDV Oct 7, 2016
8d35de1
Added script for installing scp component
snail-fuji Oct 15, 2016
69cbbe8
Merge pull request #11 from belya/master
ShunkevichDV Oct 18, 2016
9a7ae8f
scp component installer updated
ShunkevichDV Oct 18, 2016
4cfe197
script added
rodion2 Nov 22, 2016
ff8e81e
Merge pull request #12 from rodion2/master
ShunkevichDV Nov 23, 2016
8bca564
Fix paths to ims.ostis.kb components
Dec 14, 2016
4ec4f5d
Merge pull request #15 from Besomhead/master
ShunkevichDV Dec 15, 2016
da07e5e
Stable branch for scp module added
ShunkevichDV Jan 3, 2017
8c5134b
SavePeriod updated
ShunkevichDV Feb 21, 2017
7e5d28a
Increment kb building script and config
ShunkevichDV Feb 22, 2017
d61620e
kb.bin git backup script added
ShunkevichDV Feb 22, 2017
a5f855e
[win64] Update sc-machine repository address
rusetski-k Mar 11, 2017
6d3764b
Merge pull request #16 from rusetski-k/patch-5
ShunkevichDV Mar 11, 2017
eda31da
add grunt to prepare.sh and fix install scn
blrB Mar 14, 2017
f6d0963
[win64] Updated scripts to reflect new IMS KB folder structure
rusetski-k Mar 14, 2017
c2ad6ed
Merge pull request #17 from rusetski-k/patch-6
ShunkevichDV Mar 14, 2017
0ea8503
Merge pull request #18 from blrB/master
ShunkevichDV Mar 14, 2017
bca8414
Added backup scheduler script
rusetski-k Mar 18, 2017
fc2e081
Added executable attribute to a backup scheduler script
rusetski-k Mar 18, 2017
4badceb
Merge pull request #19 from rusetski-k/patch-6
ShunkevichDV Mar 18, 2017
aeff930
Set proper startup directory for a backup script
rusetski-k Mar 18, 2017
c52001c
Merge pull request #20 from rusetski-k/patch-6
ShunkevichDV Mar 18, 2017
5c3982f
SCP agents count minimized
ShunkevichDV Apr 18, 2017
be2ee05
[win64] added node.js and grunt installation
rusetski-k May 7, 2017
55c9ac0
[win64] removed npm cache cleanup
rusetski-k May 7, 2017
7565e59
Merge pull request #21 from rusetski-k/njs-patch
ShunkevichDV May 8, 2017
97f54cd
[win64] switch to master branch of IMS KB
rusetski-k May 8, 2017
df4b672
Merge pull request #22 from rusetski-k/patch-7
ShunkevichDV May 9, 2017
c7582f7
Vankovich+Tcjundevickij
Shokalirina Dec 9, 2017
27166f8
Vankovich + Tjundevickij
Shokalirina Dec 9, 2017
5d554e6
Vankovich+Tcjundevickij
Shokalirina Jan 29, 2018
2d5876e
Vankovich+Tcjundevickij
Shokalirina Jan 29, 2018
5fdae79
Merge branch 'master' of https://github.com/Shokalirina/Knowledge-base
Shokalirina Jan 29, 2018
8e2c5e2
Irina Shokal Autumn 2017 Vankovich+Tjundevickij
Shokalirina Feb 15, 2018
e334d63
Merge branch 'master' of https://github.com/Shokalirina/Knowledge-base
Shokalirina Feb 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
*.scs~
<<<<<<< HEAD
kb.bin
sc-machine
scp-machine
sc-web
ims.ostis.kb
ims.ostis.kb_copy
geometry.drawings
web-scn-editor

*.*~
=======
*.scs~
>>>>>>> a33b8f2fac80321695043fc4f6aa209b7a170f7b
Empty file added README
Empty file.
18 changes: 18 additions & 0 deletions config/sc-web.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Network]
Port = 55770
[Repo]
Path = /home/shokalirina/newostis/ostis/kb.bin
SavePeriod = 3600
[Extensions]
Directory = /home/shokalirina/newostis/ostis/sc-machine/bin/extensions
[Stat]
UpdatePeriod = 1800
Path = /tmp/sctp_stat

##### sc-memory
[memory]
max_loaded_segments = 100

[filememory]
engine = redis

3 changes: 3 additions & 0 deletions config/server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

static_path = "../client/static"
templates_path = "../client/templates"
1 change: 1 addition & 0 deletions kb/Knowledge-base
Submodule Knowledge-base added at 27166f
11 changes: 11 additions & 0 deletions kb/graph/graph0.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
graph -> G0;;
G0 -> rrel_arcs: ..arcs;;
G0 -> rrel_nodes: ..nodes;;

..nodes -> V1;;
..nodes -> V2;;
..nodes -> V3;;

..arcs -> (V1 => V2);;
..arcs -> (V2 => V3);;
..arcs -> (V3 => V1);;
13 changes: 13 additions & 0 deletions kb/graph/graph1.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
graph -> G1;;
G1 -> rrel_arcs: ..arcs;;
G1 -> rrel_nodes: ..nodes;;

..nodes -> V1;;
..nodes -> V2;;
..nodes -> V3;;
..nodes -> V4;;


..arcs -> (V1 => V2);;
..arcs -> (V2 => V3);;
..arcs -> (V3 => V4);;
19 changes: 19 additions & 0 deletions kb/graph/graph2.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
graph -> G2;;
G2 -> rrel_arcs: ..arcs;;
G2 -> rrel_nodes: ..nodes;;

..nodes -> V1;;
..nodes -> V2;;
..nodes -> V3;;
..nodes -> V4;;
..nodes -> V5;;
..nodes -> V6;;


..arcs -> (V1 => V2);;
..arcs -> (V2 => V3);;
..arcs -> (V1 => V3);;
..arcs -> (V2 => V4);;
..arcs -> (V4 => V5);;
..arcs -> (V5 => V6);;
..arcs -> (V4 => V6);;
9 changes: 9 additions & 0 deletions kb/graph/graph3.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
graph -> G3;;
G3 -> rrel_arcs: ..arcs;;
G3 -> rrel_nodes: ..nodes;;

..nodes -> V1;;
..nodes -> V2;;


..arcs -> (V1 => V2);;
16 changes: 16 additions & 0 deletions kb/graph/graph4.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
graph -> G4;;
G4 -> rrel_arcs: ..arcs;;
G4 -> rrel_nodes: ..nodes;;

..nodes -> V1;;
..nodes -> V2;;
..nodes -> V3;;
..nodes -> V4;;
..nodes -> V5;;


..arcs -> (V1 => V2);;
..arcs -> (V2 => V3);;
..arcs -> (V1 => V3);;
..arcs -> (V3 => V4);;
..arcs -> (V3 => V5);;
17 changes: 17 additions & 0 deletions kb/openstreetmap_view.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ui_external_languages
-> openstreetmap_view;;

openstreetmap_view => nrel_main_idtf: [Отображение Open Street Map] (*
<- lang_ru;;
*);;

format_openstreetmap_view => nrel_main_idtf: [Формат Open Street Map] (*
<- lang_ru;;
*);;

sc_node_norole_relation -> nrel_osm_query;;
sc_relation -> nrel_osm_query;;
nrel_osm_query
=> nrel_main_idtf:
[ osm-запрос* ] (* <-lang_ru;; *);
[ osm-query* ] (* <-lang_en;; *);;
12 changes: 12 additions & 0 deletions kb/proc_find_diameter/menu/ui_main_menu.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ui_main_menu <- sc_node_not_relation;;

ui_main_menu => nrel_main_idtf: [Главное меню] (* <- lang_ru;; *);;

ui_main_menu <= nrel_ui_commands_decomposition: .ui_main_menu_decomposition
(*
-> ui_menu_na_view_kb;;
-> ui_menu_na_keynodes;;
-> ui_menu_run_scp_program;;
*);;


5 changes: 5 additions & 0 deletions kb/proc_find_diameter/menu/ui_menu_na_keynodes.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ui_menu_na_keynodes
<- ui_user_command_class_noatom;
=> nrel_main_idtf:
[Ключевые узлы навигации] (* <- lang_ru;; *);
[Keynodes for navigation] (* <- lang_en;; *);;
17 changes: 17 additions & 0 deletions kb/proc_find_diameter/menu/ui_menu_run_scp_program.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ui_menu_run_scp_program <- ui_user_command_class_atom; ui_user_command_class_view_kb;;

ui_menu_run_scp_program => nrel_main_idtf: [Запуск scp-программы] (* <- lang_ru;; *);;
ui_menu_run_scp_program => nrel_main_idtf: [Run scp-program] (* <- lang_en;; *);;
ui_menu_run_scp_program => ui_nrel_command_template:
[*
question_scp_interpretation_request _-> ._question_scp_interpretation_request_instance
(*
_-> rrel_1:: ui_arg_1;;
_-> rrel_2:: _...;;
*);;
._question_scp_interpretation_request_instance _<- question;;
._question_scp_interpretation_request_instance _<= nrel_authors:: _... (* _-> abstract_scp_machine;; *);;
*];;

ui_menu_run_scp_program => ui_nrel_command_lang_template: [Запуск scp-программы: $ui_arg_1] (* <- lang_ru;; *);;
ui_menu_run_scp_program => ui_nrel_command_lang_template: [Run scp-program: $ui_arg_1] (* <- lang_en;; *);;
32 changes: 32 additions & 0 deletions kb/proc_find_diameter/print/proc_print_idtf.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
scp_program -> proc_print_idtf (*

-> rrel_params: ... (*
-> rrel_1: rrel_in: _element;;
*);;

-> rrel_operators: ... (*

-> rrel_init: ..proc_print_idtf_operator1 (*
<- searchElStr5;;
-> rrel_1: rrel_fixed: rrel_scp_var: _element;;
-> rrel_2: rrel_assign: rrel_common: rrel_scp_var: _arc2;;
-> rrel_3: rrel_assign: rrel_scp_var: _element_idtf;;
-> rrel_4: rrel_assign: rrel_pos_const_perm: rrel_scp_var: _arc4;;
-> rrel_5: rrel_fixed: rrel_scp_const: nrel_system_identifier;;

=> nrel_then: ..proc_print_idtf_operator2;;
=> nrel_else: ..proc_print_idtf_operator_return;;
*);;

-> ..proc_print_idtf_operator2 (*
<- print;;
-> rrel_1: rrel_fixed: rrel_scp_var: _element_idtf;;

=> nrel_goto: ..proc_print_idtf_operator_return;;
*);;

-> ..proc_print_idtf_operator_return (*
<- return;;
*);;
*);;
*);;
105 changes: 105 additions & 0 deletions kb/proc_find_diameter/print/proc_print_set.scs
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
scp_program -> proc_print_set (*
-> rrel_params: ... (*
-> rrel_1: rrel_in: _set;;
*);;

-> rrel_operators: ... (*

-> rrel_init: ..proc_print_set_operator1 (*
<- searchSetStr3;;
-> rrel_1: rrel_fixed: rrel_scp_var: _set;;
-> rrel_2: rrel_assign: rrel_pos_const_perm: rrel_scp_var: _arc2;;
-> rrel_3: rrel_assign: rrel_scp_var: _element;;
-> rrel_set_3: rrel_assign: rrel_scp_var: _set_copy;;

=> nrel_goto: ..proc_print_set_operator2;;
*);;


-> ..proc_print_set_operator2 (*
<- print;;
-> rrel_1: rrel_fixed: rrel_scp_const: [{];;

=> nrel_goto: ..proc_print_set_operator3;;
*);;

-> ..proc_print_set_operator3 (*
<- ifVarAssign;;
-> rrel_1: rrel_fixed: rrel_scp_var: _set_copy;;

=> nrel_then: ..proc_print_set_operator4;;
=> nrel_else: ..proc_print_set_operator11;;
*);;

-> ..proc_print_set_operator4 (*
<- searchElStr3;;
-> rrel_1: rrel_fixed: rrel_scp_var: _set_copy;;
-> rrel_2: rrel_assign: rrel_pos_const_perm: rrel_scp_var: _arc2;;
-> rrel_3: rrel_assign: rrel_scp_var: _element;;

=> nrel_then: ..proc_print_set_operator5;;
=> nrel_else: ..proc_print_set_operator_return;;
*);;

-> ..proc_print_set_operator5 (*
<- eraseEl;;
-> rrel_1: rrel_fixed: rrel_erase: rrel_scp_var: _arc2;;

=> nrel_goto: ..proc_print_set_operator6;;
*);;

-> ..proc_print_set_operator6 (*
<- call;;
-> rrel_1: rrel_fixed: rrel_scp_const: proc_print_idtf;;
-> rrel_2: rrel_fixed: rrel_scp_const: ... (*
-> rrel_1: rrel_fixed: rrel_scp_var: _element;;
*);;
-> rrel_3: rrel_assign: rrel_scp_var: _descr;;

=> nrel_goto: ..proc_print_set_operator7;;
*);;

-> ..proc_print_set_operator7 (*
<-waitReturn;;
-> rrel_1: rrel_fixed: rrel_scp_var: _descr;;

=> nrel_goto: ..proc_print_set_operator8;;
*);;

-> ..proc_print_set_operator8 (*
<- searchElStr3;;
-> rrel_1: rrel_fixed: rrel_scp_var: _set_copy;;
-> rrel_2: rrel_assign: rrel_pos_const_perm: rrel_scp_var: _arc2;;
-> rrel_3: rrel_assign: rrel_scp_var: _element;;

=> nrel_then: ..proc_print_set_operator9;;
=> nrel_else: ..proc_print_set_operator10;;
*);;

-> ..proc_print_set_operator9 (*
<- print;;
-> rrel_1: rrel_fixed: rrel_scp_const: [, ];;

=> nrel_goto: ..proc_print_set_operator4;;
*);;

-> ..proc_print_set_operator10 (*
<- eraseEl;;
-> rrel_1: rrel_fixed: rrel_erase: rrel_scp_var: _set_copy;;

=> nrel_goto: ..proc_print_set_operator11;;
*);;

-> ..proc_print_set_operator11 (*
<- print;;
-> rrel_1: rrel_fixed: rrel_scp_const: [}];;

=> nrel_goto: ..proc_print_set_operator_return;;
*);;

-> ..proc_print_set_operator_return (*
<-return;;
*);;

*);;
*);;
Loading