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

14
LINES

< > BotCompany Repo | #1012026 // ai_spec_webIsTriple

JavaX fragment (include)

static void ai_spec_webIsTriple(S globalID) {
  ai_spec_webIsTriple(ai_getWebFromTerm(globalID));
}

static void ai_spec_webIsTriple(Web web) {
  if (web == null) ret;
  ai_postTriple(web.globalID(), "is a", "web");
  ai_postTriple(web.globalID(), "see:", "Web " + web.globalID);
  T3<S> t = webToTriple(web);
  if (t != null)
    ai_postTriple("Web " + web.globalID, "is triple", ai_renderTriple(t));
  else
    ai_postTriple("Web " + web.globalID, "is not a", "triple");
}

Author comment

Began life as a copy of #1011862

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: #1012026
Snippet name: ai_spec_webIsTriple
Eternal ID of this version: #1012026/4
Text MD5: 201bedb02a2cea4a8a62279462fdeccf
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-26 20:51:46
Source code size: 487 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 496
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)