static ActualThoughtSpace openThoughtSpaceFromDB(S name) { S prefix = "[" + deSquareBracket(trim(name)) + "] "; Collection<S> terms = allIndexedFullTermsStartingWith(prefix); ActualThoughtSpace ts = newThoughtSpace(); for (S rel : terms) for (TripleWeb w : ai_globalTriplesWithB(rel)) postDerived(w, w.a, dropPrefix(prefix, w.b), w.c); ret ts; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013583 |
| Snippet name: | openThoughtSpaceFromDB [dev.] |
| Eternal ID of this version: | #1013583/3 |
| Text MD5: | 15fe2d8bf3b5bf1c703f91e17ed03fc0 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-01-11 12:51:32 |
| Source code size: | 373 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 672 / 701 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |