-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PS-455] Implement RDF List and blank node collection syntax #7
Merged
Merged
Changes from 14 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4319dce
Use git sha on a temporary basis
kelvinqian00 b21a0c9
Implement new triple AST nodes
kelvinqian00 9ffdff8
Re-arrange structure of triple namespace
kelvinqian00 f77e63c
Change protocols + new ->triples functions
kelvinqian00 ef2d3e2
Implement RDF lists and blank node colls (and update other AST fns)
kelvinqian00 44b2bdf
Add tests for lists and bnode colls
kelvinqian00 390e1b9
Resection, add docstrings, and cleanup
kelvinqian00 f0ada4e
Add reflection warnings to triple tests
kelvinqian00 883afe4
More protocol docstrings
kelvinqian00 11ca14b
Add end-to-end test cases
kelvinqian00 97aec08
Special case for empty lists
kelvinqian00 9eb7114
Rename subquery constants
kelvinqian00 275ee41
Commentary on graph isomoprhism
kelvinqian00 72de6a9
Extract out helper functions
kelvinqian00 90e57bd
Update CHANGELOG
kelvinqian00 e92dfad
Use a propert flint version
kelvinqian00 c0de13c
Update versions on README
kelvinqian00 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
;; SELECT with lists | ||
{:select [?x] | ||
:where [[?s ?p (1 ?x 3 4)]]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
;; SELECT with blank node vectors | ||
{:prefixes {:$ "<http://foo.org/>" | ||
:foaf "<http://xmlns.com/foaf/0.1/>"} | ||
:select [?x ?name] | ||
:where [{[:p1 "v"] {:q1 #{"w"}} | ||
:xxxxxxxx {:q2 #{[:p2 "v"]}} | ||
[:foaf/name ?name :foaf/mbox "<mailto:[email protected]>"] {}}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
;; SELECT with empty lists and blank node vectors | ||
{:select [?x ?y] | ||
:where [[() ?x []] | ||
[[] ?y ()]]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: