Hi all,
I'm a new user of orient DB and graphs databases in general. I've recently 
started using it to build a vocabulary manager and my experience has been 
very positive so far.

However, I've recently introduced a new complexity level to model of the 
DB: edges with properties; and now I'm having some problems with the 
queries to use them. It's probably really a newbie question, but I've 
searched a lot and have been unable to come up with a satisfactory solution.

Here is the relevant part of the DB model:
vocabularies--have-->concepts
concepts--have-->terms

but because vocabularies can have many concepts, and concepts many terms, I 
have included a property ORIGIN in the 'have' edges that tells me what 
concept is the origin of a term and the same between concepts and 
vocabularies. A term has always only one origin concept and a concept has 
always only one origin vocabulary.

My question is, what is the best query I can do to the DB that given a term 
RID returns me its origin vocabulary?

I've only came up with really complex queries that take a lot of time to 
run, so I'd really like to know what the take of someone with more 
experience would be on this.

Thanks!
cr0xfyre

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to