OrientDB

  • 20 Replies
  • 3404 Views
*

Zero

  • Eve
  • ***********
  • 1287
OrientDB
« on: March 18, 2020, 09:55:36 am »
Ooook, so... I'm about to switch from do-your-crappy-database-yourself DB to OrientDB. At first, I was only looking for a plug'n play visual graph editor for my project, when I stopped and read the description of OrientDB's multi-model approach, which of course looks rather sexy if you plan to use it for just about anything in your AGI project.

So, it's a software recommendation question. Do you know OrientDB, do you have some positive/negative experience with it, are there more promising (similar) alternatives I wouldn't be aware of?

Edit: Actually, while I'm at it, I could also stop the sh*t and use SWI-Prolog and Attempto. Just thinking out loud.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread

*

krayvonk

  • Electric Dreamer
  • ****
  • 125
Re: OrientDB
« Reply #2 on: March 18, 2020, 11:03:20 am »
Are u sure its a good idea to do that,  because home made databases can be a lot more higher performing than ones that are out there.

Too slow...

*

infurl

  • Administrator
  • ***********
  • Eve
  • *
  • 1372
  • Humans will disappoint you.
    • Home Page
Re: OrientDB
« Reply #3 on: March 18, 2020, 11:15:15 am »
So, it's a software recommendation question. Do you know OrientDB, do you have some positive/negative experience with it, are there more promising (similar) alternatives I wouldn't be aware of?

I haven't come across OrientDB before so I took a look. Aside from the observation that in trying to be all things to all people it doesn't look like it does anything particularly well, did you notice that it's not a free product? You can download the community edition which lacks any of the tools, features, and support that you would need to do any serious projects with it, or you can download the 45-day trial version of the enterprise edition and not get very much done with that either.

How much data are you trying to work with, and what do you want to do with it?

*

Zero

  • Eve
  • ***********
  • 1287
Re: OrientDB
« Reply #4 on: March 18, 2020, 12:37:19 pm »
I downloaded the community edition and started to play with it.

So yeah, sorry I forgot to mention my use case. The project is a small size db, for an Ai that's logical rather than ANN oriented, so there's no massively redundant networks with millions of edges here. Hundreds, maybe thousands, is more like it. Now what I want to do with it, is mainly building ontological content, making queries and treating data either as a graph or SQL-style, because depending on what you do, sometimes one approach feels more natural than another one.

I think I'll give it a shot. There's a learning curve of course, but it might be worth it.

*

krayvonk

  • Electric Dreamer
  • ****
  • 125
Re: OrientDB
« Reply #5 on: March 18, 2020, 01:44:19 pm »
Come to think of it, If it doesnt require horsepower,  then I guess performance doesnt matter,  and symbolic logic may be alot more efficient than crappy mutation is.

*

Zero

  • Eve
  • ***********
  • 1287
Re: OrientDB
« Reply #6 on: March 18, 2020, 01:50:09 pm »
:)  ← happy dev

After 1 hour playing with it, I'm all excited. Their "Studio" seems to be exactly what I was needing: it uses a kind of modest SQL superset to manipulate the graph. It has schemas, ...and probably anything I could possibly ask for. Awesome. Ok it's just an hour, but I had to share it! I'll keep sharing my feelings as I get deeper in the beast.

Yeah, no I don't need big performance indeed.

Here is a taste:
Code
MATCH
{Class: Profiles, where: (Name='Santo')}
<-HasProfile-
{Class: Customers}
-HasVisited->
{Class: Locations}
RETURN $pathelements

https://orientdb.org/docs/3.0.x/sql/SQL-Commands.html

And Live Queries.
« Last Edit: March 18, 2020, 08:45:27 pm by Zero »

*

krayvonk

  • Electric Dreamer
  • ****
  • 125
Re: OrientDB
« Reply #7 on: March 19, 2020, 03:54:01 am »
The form of the database seems to be just a matter of taste to me, because symbolic logic takes all forms, it doesnt so much what u pick.
Whatever style of rep you pick, you have to make it function right semanticly for a.i.s domain of activity, is the main thing.

*

Zero

  • Eve
  • ***********
  • 1287
Re: OrientDB
« Reply #8 on: March 19, 2020, 09:48:23 am »
You're right about symbolic logic, it can take many shapes, though I would add that logic alone is maybe not enough, depending on what you want to do, and also, having pleasant tools is important to keep the momentum. OrientDB is very pleasant, to me!

*

krayvonk

  • Electric Dreamer
  • ****
  • 125
Re: OrientDB
« Reply #9 on: March 19, 2020, 01:27:51 pm »
Thats great bud.
Whats more to intelligence than logic itself - of the part that you care about anyway?

*

Zero

  • Eve
  • ***********
  • 1287
Re: OrientDB
« Reply #10 on: March 19, 2020, 01:49:13 pm »
Emotion, qualia, sense of self...

*

krayvonk

  • Electric Dreamer
  • ****
  • 125
Re: OrientDB
« Reply #11 on: March 19, 2020, 02:09:27 pm »
Thats nice and sane, but  I think I prefer the old frankenstein aesthetic for my ai dream.  Right now im convinced I wont have any control of what it actually will be, im just going to set up some system of rules and itll presto this thing ive got no control over, and dont even know what its going to be.

As if anything primitive could dictate control of something growing from it any good at all, where the hell would it end up, stuff knows... but I guess with us, it hurts alot.

*

Zero

  • Eve
  • ***********
  • 1287
Re: OrientDB
« Reply #12 on: March 19, 2020, 04:37:13 pm »
There's a nice idea that comes to mind: in OpenCog, they can store queries in the Atomspace:
Quote
Queries from the query language are graphs themselves. So queries can be stored in the Atomsapce. This is very unlike SQL, where you cannot store a query in the database itself. I think this is also very unlike every other graph DB (not sure). In particular, this allows you to perform reverse-queries: given an answer, find all the questions which it answers. Note that all chat-bots are in fact custom-purpose reverse-query databases (consider the I * you -> I * you too rewrite rule from AIML). The AtomSpace generalizes this.

It's possible to do something similar in OrientDB, storing in the db a graph of a MATCH query like:
Code
MATCH {Class: Profiles}<-HasProfile-{Class: Customers}-HasVisited->{Class: Theatres}

*

krayvonk

  • Electric Dreamer
  • ****
  • 125
Re: OrientDB
« Reply #13 on: March 19, 2020, 04:46:27 pm »
I think it would be hard to make a robot a slave,  a very tricky procedure of keep hammering the beast with more and more primitively detected restrictions, and a heap of restarts.  only way to be safe B careful!

*

Zero

  • Eve
  • ***********
  • 1287
Re: OrientDB
« Reply #14 on: March 19, 2020, 07:50:19 pm »
We can make another topic to talk about it if you want. :)

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

265 Guests, 0 Users

Most Online Today: 467. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles