I observed neo4j it is handling both SQL and Cypher. I wanted to know how is it working ? How it is going to translate and then gave output is graph visualization.
I have checked graph algorithms but still confused in its translation and identification of query.
Neo4j does not handle SQL. It uses the Cypher query language only: Cypher Manual. As Tomaž Bratanič pointed out in the comment there are several tools that are able to translate SQL to Cypher, such as the BI connector included with Neo4j enterprise.
While some of them will get you relatively far, you should really dive into Cypher.
A bunch of Graph algorithms are implemented in Neo4j GDS, that are run inside Neo4j, not external like the above mentioned BI connector. Those can be called both from Cypher or with external clients.
Related
Every relationship database can be used without the need for installation of any software or tools, as most of the query read/write is all done to read a file that stores data in a specific format.
Can the same thing be done with a graph database (doesnt have to be neo4j, i wouldnt mind an alternative) without installing software, or having terminal endpoint running for access to database?
Example:
MySql is a db file you can query
MSSQL is a db file you can query
SqlCE is a db file you can query
Sqlite is a db file you can query
Neo4j: You need to download, install, have running and query through ip address?
OR... pay higher rates (2-5x cost?) for graph DB hosting in comparison to RDMS which is so inexpensive, it's practically given for free for most web hosting services.
Purpose and Reasoning for Question
I'm looking for some cost efficient solutions to run a graph database
with all the bells and whistles, that i can run from web host or
application (that only handle IIS and hard-file transfer services --
maybe it can do netcore, but dont know if you can run graphdb through
netcore as a module service).
Yeah, MSSQL is doing it now, but it's
limited in what it can do and handle, as well as the tutorials are
lacking in how to properly write NoSQL queries as fluent as the SQL
stuff...
Well, i found the answer to my question, and it's "yes, you can create a standalone graph.db to query from (in neo4j)." However it's only limited to Java and not supported by other languages or frameworks.
Neo4j calls it an "embedded" database. Which is exactly what i was asking in my question, though i was hoping to be able to use the services in a .net application, which turns out to not be compatible.
If anyone has any alternate solutions that can work with netcore, i would love to see it posted here. I'm happy to know that i was right, and that it is possible to run queries on a hard file. Just disappointed that because neo4j is native to java, the technology is only available to java apps. Has no one written a c# port yet? (Not in-memory, but to and from hard file.)
Anyways, i'll continue to research and look more into all of this. Thank you.
Edit-1: Graph database for .NET
This is more of a "just wondering" question. Is there any way to access the Windows Indexing service database through ODBC in MS Access or SQL Server? I know there are a million recursive programming ways to traverse the file system but if I was only looking for files with a certain name I would think something as simple as "Select Fullpath from CDrive Where FileName like '%HEVC%'" would be easier and more lightweight than other methods.
I can't seem to Google this since all it does is return a million results for ODBC DSN creation.
Foreword: My focus is on other projects, but this is an interesting topic.
Microsoft uses an EDB file to provide a central Indexing Service - MSDN. Based on the Microsoft SQL Server CE engine, it is lightweight offers a number of methods for access including addition of third party file type definitions.
However, there are differences...significant ones that prevent direct translations of EDB and CEDB. Comparing EDB with SQL Server CE
As I said, there are access methods. The ODBC you were hoping for was discontinued after Windows XP.
However, Microsoft has developed two methods:
Windows Search (client side)
Microsoft Search Server Express (server side)
Both methods allow for quick file searches and likely could be integrated into whatever warehouse architecture you have through APIs, for example. However, there are limitations on methods that the links point out.
I admit I cannot give a full answer since I was learning, too, but hopefully this can point you in the right direction.
Cheers,
Actually, Found something else here:
Querying the Index with Windows Search SQL Syntax
Works like a charm, just have to get used to the special SQL syntax. Works on Windows 10, just having a problem querying a Storage Space. I'll update if I find an answer.
Is anyone offering SQL Server for free on cloud for learning purposes? I need it for running simple queries that we come across while learning SQL concepts online. If available I can run the queries in my mobile or tab
If you are looking for online sql , I would like to suggest you
http://sqlfiddle.com for practice purpose.It support MySQL, Oracle, MS SqlServer, Postgre, SQLlite (create your account and save your work)
http://www.w3schools.com/sql/default.asp is another great option to
run queries while learning it.
Another +1 to w3schools. They have various demo databases that you can both query AS WELL AS modify. You can restore the original database with the click of a button which is great if you are learning. I have put a screenshot of an example that I just did so you can see what it looks like.
Also, because this is web based and all of the queries are handled on the server side, you can use this from any device with internet access, including iPad/Phone whatever.
http://i.stack.imgur.com/1cxUp.png
SQLFiddle is another great option, especially because you can select specifically which language you are using (MySQL, Oracle, MSSQL, etc) but it is a bit more advanced if you are just starting out because you will have to create a database/schema and insert data instead of simply manipulating existing data like you can with w3schools.
I have a bunch of points in a SQL Server database using the geography data type, that I would like to be able to generate thiessen polygons for.
Is this processing available natively within SQL Server, or must this processing be done outside of the system?
As far as I know there's no built-in method to do this, but it can certainly be done using CLR-integration. I borrowed the Pro Spatial with SQL Server 2012 book from a library some time ago and I remember that it included an example of how to do Voronoi tessellations in Chapter 15, and the sample code too for it is available online for the curious to look at.
We have a SharePoint 2007 site. It is supported by two back-end databases - one hosted on SQL Server, another on an open-source RDBMS. We issue CAML queries to retrieve data from SQL Server, and ADO.NET queries to retrieve data from the other server. Our architect says we would be better off if we used the same approach (namely, CAML) to get data from the both databases.
Is it possible to use CAML queries to retrieve data from any RDBMS other than SQL Server?
If so, please suggest any web resources, docs, anything you find appropriate.
CAML (at least that part used for SPList.GetItems queries) seems to be quite simple, so translating it into valid SQL statements should not be too complex. Which means, you could create a "translator module" and issue your queries against it. For instance, you can follow guidelines published in the article "[Implementing a .Net Framework Data Provider](http://msdn.microsoft.com/en-us/magazine/aa720164(VS.71).aspx)".