[Neo4j] Re: New Neo4j SPARQL Plugin

2014-11-13 Thread Jim Salmons
Hi Niclas, Michael, Mike, and Jacob, I concur with others in congratulating you and encouraging your work. In particular, due to your in-country proximity and shared creative spirits, I would encourage Michael to make that proposed get together with Niclas in Frankfurt with Axel, Christian, to

Re: [Neo4j] Re: Modelling UML conveyed items

2014-11-13 Thread Michael Hunger
Sounds good to me, if the InformationFlow is an important concept in your domain and you want to link to it. Cheers, Michael On Thu, Nov 13, 2014 at 4:15 PM, Guido Franz wrote: > I try to outline my domain. > > Simple implementation of an UML informationflow: > > (a:Class)-[:InformationFlow]->(

Re: [Neo4j] New Neo4j SPARQL Plugin

2014-11-13 Thread Jacob Hansson
Just popping in to say wow - that is a fantastic contribution, great work! On Thu, Nov 13, 2014 at 1:16 PM, Mike Bryant wrote: > First of all, thanks very much for this. It looks great! > > My personal interest is being able to query standard Neo4j property graphs > via SparQL and export them as

[Neo4j] Re: using the "IteratorUtil" class causes the program to stop responding

2014-11-13 Thread Michael Shapiro
Hi Michael, Thanks a lot for your help!!! I changed my query to: String query = String.format("MATCH (a:LABEL { name:%d }) -[*0..%d]-(x) RETURN distinct x", Integer.parseInt(nodeName), range); And it works perfectly! My range values are 1-6, I don't require a larger range. For range 6 on a c

Re: [Neo4j] New Neo4j SPARQL Plugin

2014-11-13 Thread Mike Bryant
First of all, thanks very much for this. It looks great! My personal interest is being able to query standard Neo4j property graphs via SparQL and export them as triples. To some extent you can currently do this using the Blueprints PropertyGraphSail, but where I'm lacking the knowledge and ins

Re: [Neo4j] Very Slow Simple Queries (System Details Inside)

2014-11-13 Thread Michael Hunger
Would you be able to run neo4j-shell (or the old webui http://localhost:7474/webadmin -> console) and prefix your query with the profile keyword and send the output? also prefix it with profile cypher 2.1.experimental and do the same. Thanks a lot, Michael On Thu, Nov 13, 2014 at 3:18 PM, Eric

Re: [Neo4j] Re: Modelling UML conveyed items

2014-11-13 Thread Guido Franz
I try to outline my domain. Simple implementation of an UML informationflow: (a:Class)-[:InformationFlow]->(b:Class) Conveyed items can be attached to the InformationFlow: [:InformationFlow {items: [..] } But in our model InformationItems are really "first-class-citizens". A lot of searches a

Re: [Neo4j] Very Slow Simple Queries (System Details Inside)

2014-11-13 Thread Eric Gade
Hi Michael. Yes, indexed the `source_id` properties for all nodes using the exact syntax you described. I did it after the fact though, meaning after I had migrate data into the graph. I then went through and did MATCH(d) SET d.source_id=d.source_id just to be safe. I'm sure sure what the term

Re: [Neo4j] [Idea] Declaring an expected result for write-based Cypher queries

2014-11-13 Thread Byron Ruth
Ah! I didn't realize includeStats was an option. That would come in handy. Thank you. On Thu, Nov 13, 2014 at 7:34 AM, Michael Hunger wrote: > Then you could also compare the results of the tx-endpoints in terms of > nodes-created, properties-set, labels created etc. > if you provide the parame

Re: [Neo4j] [Idea] Declaring an expected result for write-based Cypher queries

2014-11-13 Thread Michael Hunger
Then you could also compare the results of the tx-endpoints in terms of nodes-created, properties-set, labels created etc. if you provide the parameter as part of the statement { . "includeStats":true ... } You get the statistics back. HTH Michael On Thu, Nov 13, 2014 at 12:56 PM, Byron Ru

Re: [Neo4j] Re: Modelling UML conveyed items

2014-11-13 Thread Michael Hunger
Perhaps you can try to outline your concrete example, not sure what you mean? On Thu, Nov 13, 2014 at 12:03 PM, Guido Franz wrote: > My current approach is to model something like an association class. > Translated into the email example: I create an email placeholder node > between the FROM an

Re: [Neo4j] [Idea] Declaring an expected result for write-based Cypher queries

2014-11-13 Thread Byron Ruth
Thanks Michael. The RETURN 1 approach has been working correctly for me and prevents needing to do a COUNT(*). > Afaik there are no plans for providing expected results (esp, as those can > grow gigantic). > Yes of course :) As mentioned, I am *only* using this approach for write operations

Re: [Neo4j] New Neo4j SPARQL Plugin

2014-11-13 Thread Michael Hunger
Interesting. I always wondered if it was possible to transform RDF to a more compact property graph model on import but still allow RDF queries / export on top of that. This would be more efficient both in space and performance but more involved at the import stage. E.g. all rdf triples that ident

Re: [Neo4j] New Neo4j SPARQL Plugin

2014-11-13 Thread Niclas Hoyer
> Do you have any information about the model you use to store RDF > efficiently and any performance numbers? Esp. comparing it with cypher? > That would be really interesting. > The plugin is based on the blueprints framework and the "SAIL Ouplementation

[Neo4j] Re: Modelling UML conveyed items

2014-11-13 Thread Guido Franz
My current approach is to model something like an association class. Translated into the email example: I create an email placeholder node between the FROM and TO nodes (FROM->EMAIL_PLACEHOLDER->TO). If there are really detailed emails, then I attach them on the placeholder with additional node

[Neo4j] Modelling UML conveyed items

2014-11-13 Thread Guido Franz
Hello, I want to convert a UML model into graphs. Mostly this works without problems, but we have trouble with conveyed items of information flows. There we have a relationship between two nodes and there can be no, one or more items, which describe the relationship in more details. I found a