1 | static T3<Symbol> ai_webToTriple(Web web) { |
2 | if (web == null) null; |
3 | Collection<WebRelation> l = web_relationObjects(web); |
4 | if (l(l) != 1) null; |
5 | WebRelation r = first(l); |
6 | if (!web_tripelizableNode(r.a) |
7 | || !web_tripelizableNode(r.b) |
8 | || !web_tripelizableNode(r)) null; |
9 | ret t3(web_sym(r.a), web_sym(r), web_sym(r.b)); |
10 | } |
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: | #1011764 |
Snippet name: | ai_webToTriple |
Eternal ID of this version: | #1011764/6 |
Text MD5: | bb5e1853c19ce71015bb112e35d118a4 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-10 07:01:49 |
Source code size: | 342 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 490 / 562 |
Version history: | 5 change(s) |
Referenced in: | [show references] |