Comments (2)
Thanks for putting this explanation together @rogerlucena. I was wondering if you have settled on using =
vs the is
,covariant
, contravariant
combo alternatives for the comparison primitives.
from badwolf.
Following Xavier's comment, an alternative to using =
is implementing a is
keyword to be used when comparing types. For example:
HAVING ?o_type is ^^type:predicate:immutable;
In the case of TYPE
bindings for nodes, it would also be possible to implement the covariant
and contravariant
keywords to unlock the use of the hierarchies that are intrinsic of node types (such as /country/corp
and /country/corp/employee
). This could be helpful for allowing more ellaborate comparisons inside HAVING clauses, an alternative for what was requested with #122.
from badwolf.
Related Issues (20)
- BQL: trailing dot for sequential statements HOT 1
- Two ways of doing reification with CONSTRUCT are not yielding equivalent and correct results
- Reification inside CONSTRUCT is not accepting breakline before partial statements
- HAVING clause should not require parentheses when involving AND or OR
- Program freezes when querying time anchor on datasets with mixed mutable/immutable triples HOT 1
- Users should be able to specify if they want to include or not immutable triples on results from queries involving AFTER, BEFORE and BETWEEN
- Create documentation about OPTIONAL keyword HOT 1
- Allow more elaborate patterns (like specifying suffix/prefix) for bindings inside HAVING clauses HOT 1
- FILTER keyword HOT 1
- TestPlannerQuery in planner_test.go should test deeper
- "BETWEEN start_date, end_date" should return an error if "start_date > end_date"
- Refactor tests in BadWolf to use t.Run()
- Make LIMIT be processed in the driver level
- Table results seems to contains a value with a empty binding
- Still active? HOT 9
- TestPartialUUID fails on Windows HOT 3
- BQL: Time anchor placeholders HOT 1
- Allow specifying only last temporal triple on queries HOT 6
- BQL: Support for optional clauses with default values HOT 5
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 badwolf.