Hi all

I am experimenting with json-ld in orientdb. I would like to create edges 
using URIs rather than RIDs. For example, the "Person" json from 
the http://json-ld.org/ homepage is as below:

{
  "@context": "http://json-ld.org/contexts/person.jsonld";,
  "@id": "http://dbpedia.org/resource/John_Lennon";,
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon";
}

So imagine we have another document for Cynthia, I would like the "spouse" 
attribute to be an edge to her document. So we have two classes, one for 
Person (V) and another for Spouse (E). Throughout the document, edges are 
shown as "#N:M" - is it possible to do this as my desired method?

The two import examples in the document show the setup for the import using 
objectId but make no mention of the 
graphing. 
http://www.orientechnologies.com/docs/last/orientdb-etl.wiki/Import-from-DBPedia.html
 
http://www.orientechnologies.com/docs/last/orientdb-etl.wiki/Import-from-PARSE.html

Thanks

-- 

--- 
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