/* if input (how many triples do we have?) and ($n = ai_allWebsCount()) then say (We have $n triples.) */ static S rule_numberOfTriples() { ai_checkInput_match3("how many triples do we have?"); long n = ai_allWebsCount(); ret replaceVars2("We have $n triples.", "$n", formatWithThousands(n)); }
Began life as a copy of #1013414
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: | #1013425 |
| Snippet name: | rule_numberOfTriples |
| Eternal ID of this version: | #1013425/1 |
| Text MD5: | 90838c0ebf47b3e4798309c30909e82a |
| 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-06 06:46:18 |
| Source code size: | 315 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 708 / 699 |
| Referenced in: | [show references] |