static void ai_downloadRelations(S... relations) { for (S rel : relations) { Map map = cast loadJSONPage("http://smartbot.botcompany.de/json/relations/" + urlencode(rel)); if (map.containsKey("loading")) fail("Smart Bot is loading"); L> results = (L) map.get("results"); for (L l : unnull(results)) { T3 t = listToTriple(takeFirst(3, l)); if (!has(t)) { Web web = webFromTriple(triple); web.unverified = !eqGet(l, 5, "v"); web.setGlobalID((S) l.get(3)); web.source = (S) get(l, 4); postSoftwareMadeWeb(web); } } } }