-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtest.db.json
1 lines (1 loc) · 3.42 KB
/
test.db.json
1
{"attributes": ["name", "father", "mother", "age", "listy"], "attribute_metadata": {"age": {"description": "The age of the entity in question.\n", "type": 2, "num_limits": [18, -1], "allowed_strings": []}, "father": {"description": "The biological father of this particular entity.\nRefers to another entity.", "type": 0, "num_limits": [0, 0], "allowed_strings": []}, "name": {"description": "The legal name of this entity.\nMay include spaces and other special characters. Can be any length.", "type": 1, "num_limits": [0, 0], "allowed_strings": []}, "mother": {"description": "The biological mother of this particular entity.\nRefers to another entity.", "type": 0, "num_limits": [0, 0], "allowed_strings": []}, "listy": {"description": "A list of the entity's favorite numbers.", "type": 2, "num_limits": [-1, -1], "is_list": true, "allowed_strings": []}}, "entities": ["[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]", "[email protected]", "blarg_cool"], "eavs": {"0.0": [0, 0, "Joe Cool"], "2.0": [0, 1, "[email protected]"], "5.0": [0, 2, "[email protected]"], "1.0": [1, 0, "No-Stop Cool"], "4.0": [1, 1, "[email protected]"], "8.0": [1, 2, "[email protected]"], "3.0": [2, 0, "Kent Cool"], "7.0": [2, 1, "[email protected]"], "12.0": [2, 2, "[email protected]"], "6.0": [3, 0, "Ruby Cool"], "11.0": [3, 1, "[email protected]"], "17.0": [3, 2, "[email protected]"], "10.0": [4, 0, "John Cool"], "31.0": [4, 3, 56], "15.0": [5, 0, "Rose Cool"], "39.0": [5, 3, 53], "21.0": [6, 0, "Ed Cool"], "48.0": [6, 3, 58], "28.0": [7, 0, "Julie Cool"], "58.0": [7, 3, 59], "16.0": [4, 1, "blarg_cool"], "82.0": [8, 4, [[3, 1], [3, 2], [3, 3]]]}, "global_binds": {"*foo": 6}, "rules": {"grandfather": {"lang": 0, "text": "(P father X)\n(X father G)", "body": [7, [8, [1, "P"], [3, "father"], [1, "X"]], [8, [1, "X"], [3, "father"], [1, "G"]]], "name": "grandfather", "args": ["P", "G"]}, "age_des": {"lang": 0, "text": "(P age X)\n(? (& (<= X 55) (= O \"young\"))\n (= O \"old\"))", "body": [7, [8, [1, "P"], [3, "age"], [1, "X"]], [11, [7, [10, "<=", [1, "X"], [3, 55]], [9, [1, "O"], [3, "young"]]], [9, [1, "O"], [3, "old"]]]], "name": "age_des", "args": ["P", "O"]}, "length": {"lang": 0, "text": "(? (& (= List [H ... T])\n (T length X)\n (= Len {X + 1}))\n (& (= List [H]) (= Len 1))\n (= Len 0))", "body": [7, [11, [7, [9, [1, "List"], [5, [[1, "H"], [1, "..."], [1, "T"]]]], [8, [1, "T"], [3, "length"], [1, "X"]], [9, [1, "Len"], [2, ["X", "+", 1]]]], [7, [9, [1, "List"], [5, [[1, "H"]]]], [9, [1, "Len"], [3, 1]]], [9, [1, "Len"], [3, 0]]]], "name": "length", "args": ["List", "Len"]}, "add1": {"lang": 0, "text": "(= O {I + 1})", "body": [7, [9, [1, "O"], [2, ["I", "+", 1]]]], "name": "add1", "args": ["I", "O"]}, "crash": {"lang": 0, "text": "(? (& (< I End)\n (\"Index: \" print I)\n ({I+1} crash End))\n (\"Done!\" print))", "body": [7, [11, [7, [10, "<", [1, "I"], [1, "End"]], [8, [3, "Index: "], [3, "print"], [1, "I"]], [8, [2, ["I+1"]], [3, "crash"], [1, "End"]]], [8, [3, "Done!"], [3, "print"]]]], "name": "crash", "args": ["I", "End"]}, "grandmother": {"lang": 1, "text": "If the mother of Person is X, then X's mother is the Goal.", "body": [7, [8, [1, "Person"], [3, "mother"], [1, "X"]], [8, [1, "X"], [3, "mother"], [1, "Goal"]]], "name": "grandmother", "args": ["Person", "Goal"]}}, "type_name": ["entity", "string", "int", "float"]}