![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@nelson-ai/graph-traversal
Advanced tools
This is a graph traversal library, loosely inspired from Gremlin.
Gremlin uses a property graph, where edges may have properties. Since Edge Factory is in JSON-LD (aka RDF), edges are predicates and cannot embed attributes.
In the Edge Factory graph, type
is mandatory. We leverage this by auto-indexing on types.
We provide a REPL to play with the edge-graph. You can start it by running npm run repl
.
You can then start playing with the API. For example, to
edgeo:Thing
> g.v('edgeo:Thing').in('subClassOf').get('id')
> g.t('Asset').get('id', 'label')
> g.t('Lever').count()
> g.t('Lever').has('timeHorizon', 12).count()
> g.v('edger:process1').out('levers').get('id', 'timeHorizon')
> g.v('edger:process1').out('levers').count()
> g.v('edger:process1').out('levers').has('timeHorizon', 12).count()
> g.v('edger:process1').out('levers').has('timeHorizon', 12).get('id', 'timeHorizon')
TODO: list all API methods
Gotchas :
The data received by a filter function is a Vertex, not a POJO. Use get() to access data fields...
const r = g.v('test:edge')
.in('worksFor')
.filter(p => p.get().age < 30)
.get('id', 'age');
FAQs
Gremlin-like graph traversal for JSON-LD
The npm package @nelson-ai/graph-traversal receives a total of 0 weekly downloads. As such, @nelson-ai/graph-traversal popularity was classified as not popular.
We found that @nelson-ai/graph-traversal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.