Comments (9)
That's why labels are like tags. You can add them on the fly and they are useful to tag things, group them or denote status etc.
So you don't have to create a complex ontology structure just tag your nodes with the labels that represent the roles they play.
from landscape-graph.
Hi there! I had a look at Apollo Federation, and while it's pretty cool, I'm not sure it's the best fit here, most specifically because subscriptions are not supported. However much of the conceptual information on Schema composition is quite relevant and makes sense.
For now to keep things simple, and not have another layer of indirection, planning to use graphql fragments and a simple directory/manifest approach.
Another concern I had on using Apollo Federation is the impact on the client/query layer, as well as requiring a gateway, the supergraph/subgraph idiom and such to be part of the runtime. In the ideal case (I posit) the compositional model for the data layer is immaterial to the final data model without coupling.
from landscape-graph.
@halcyondude That's great! Are you planning on centralizing everything into a single database vendor (in this case, Neo4j for now)?
Using Neo4j for the time being, primarily due to existence of APOC and the GDS libraries, and free availability of Neo4j Desktop as a native experience across platforms, with a low[er] barrier to entry for new contributors. As the GraphQL javascript library does all the translation of GraphQL --> OpenCypher, really the standardization is on OpenCypher, which is implemented by other Graph Databases as well (https://opencypher.org/projects)
from landscape-graph.
Update, after findings in #4
The the SGM's implemented (initially) are exposed to the supergraph via GraphQL endpoints. This provides strong typing, and interoperability with a deep canon of existing libraries and algorithms, inclusive of ontology/taxonomy/semantic frameworks, as well as documentation and visualization tools.
A variety of back-end database stores can be used behind that interface. In my view, a graph database w/ the neo4j-graphql javascript library is compelling as it removes the need for writing Resolvers, handling sorting/filtering/pagination, and authoring Mutations. Being able to drop into Cypher via @
directives is a nice escape hatch as well as a way to expose Cypher query capabilities and results as GraphQL.
from landscape-graph.
Hey there, @halcyondude! Congrats on the awesome work and research you're doing! I'm using a lot of your research to guide my own, which I started a while back for a Filecoin Plus project.
Through my research, I'm trying to follow similar concepts you've described, and I feel like the "Sub-Graph Modules" concept would benefit from the Apollo Federation architecture. Do you know about it already? If not, taking a look may be worth it!
Here are some starting points:
- Landing page with a nice overview.
- Documentation explaining the concepts with examples.
- Documentation for "Schema composition" with more in-depth explanation.
One thing, though, is that it seems Neo4j doesn't readily integrate with it, but it seems easy to make it do so. Here's a repository from the Apollo team that demonstrates it working with Neo4j: https://github.com/apollosolutions/neo4j-subgraph
from landscape-graph.
https://compiledexperience.com/blog/posts/dynamic-graphql
from landscape-graph.
from landscape-graph.
@halcyondude That's great! Are you planning on centralizing everything into a single database vendor (in this case, Neo4j for now)?
from landscape-graph.
Recently published, apollo's stack just leveled up in terms of oss offerings...
It's likely that after a more detailed review we'll move forward with some of these components.
from landscape-graph.
Related Issues (20)
- Implement autogenerated mocks for GraphQL API from schema HOT 3
- readme: wrong spelling "automagically" HOT 2
- CI: Use graphql-inspector GH Action for PR's to schema
- Remove Neo4j ETL Tool from roadmap
- action that pushes to aura is missing branch label
- Add Chaos project metrics and metadata to data model HOT 1
- Docs: list jetbrains graph db plugin in dev setup HOT 1
- Explore using spark + plugin to provide alternative/multiple db back ends
- Automatically generate GH Issue Labels for all Sub-Graph Modules HOT 1
- Docs: Explain how we are using flatgithub to pull landscape data daily
- Incorporate Project health metrics from devstats HOT 3
- Collaborate w/ TAG Security (STAG) on CVE, NIST, and package subgraph modules HOT 2
- Add Natural language support for queries
- Add git Large File Support (LFS)
- Spike: Evaluate dgraph.io as an apache 2.0 alternative for back end store
- spike: SGM for packaging, evaluate "Tern" container scanning & SBOM generation tool
- feat: authentication and authorization (JWT support) in GraphQL model.
- Create documentation site (GitHub Pages or Netlify) using Docusaurus HOT 6
- Apollo Rover CLI for CI
- Netlify: Deploy nodejs GraphQL endpoint as serverless function --> AuraDB HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from landscape-graph.