Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1011764 // ai_webToTriple

JavaX fragment (include)

static T3<Symbol> ai_webToTriple(Web web) {
  if (web == null) null;
  Collection<WebRelation> l = web_relationObjects(web);
  if (l(l) != 1) null;
  WebRelation r = first(l);
  if (!web_tripelizableNode(r.a)
    || !web_tripelizableNode(r.b)
    || !web_tripelizableNode(r)) null;
  ret t3(web_sym(r.a), web_sym(r), web_sym(r.b));
}

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: 390 / 453
Version history: 5 change(s)
Referenced in: [show references]