https://github.com/oprogramador/babilejo-db
https://github.com/oprogramador/babilejo-db
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oprogramador/babilejo-db
- Owner: oprogramador
- License: mit
- Created: 2024-05-17T02:20:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T03:04:26.000Z (about 2 years ago)
- Last Synced: 2024-05-18T03:33:11.894Z (about 2 years ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babilejo-db
```
Who is "president" of "United States"?
I do not know.
"president" of "United States" is "Joe Biden".
Who is "president" of "United States"?
"Joe Biden"
Says: "Joe Biden" will be "president" of "United States" in year 2026.
Says: "Donald Trump" will be "president" of "United States" in year 2026.
Says: "Joe Biden" will be "president" of "United States" in year 2026.
Says: "Donald Trump" will be "president" of "United States" in year 2026.
Says: "Joe Biden" will be "president" of "United States" in year 2026.
Who will be "president" of "United States" in year 2026?
There is 60% probability for "Joe Biden" and 40% probability for "Donald Trump".
```
```js
data = {};
data["United States"] = { myName: "United States", start: new Date() };
data["Joe Biden"] = { myName: "Joe Biden", start: new Date() };
data["Donald Trump"] = { myName: "Donald Trump", start: new Date() };
data["United States"].president = { name: "Joe Biden", start: new Date(), predictions: [] };
data["United States"].president;
data[data["United States"].president.name];
data["United States"].president.predictions.push({ start: new Date('2026'), name: "Joe Biden" });
data["United States"].president.predictions.push({ start: new Date('2026'), name: "Donald Trump" });
data["United States"].president.predictions.push({ start: new Date('2026'), name: "Joe Biden" });
data["United States"].president.predictions.push({ start: new Date('2026'), name: "Donald Trump" });
data["United States"].president.predictions.push({ start: new Date('2026'), name: "Joe Biden" });
data["United States"].president.predictions
```