Skip to content

Commit

Permalink
Added basic instructions about #67
Browse files Browse the repository at this point in the history
  • Loading branch information
enridaga committed Sep 3, 2021
1 parent 108aff3 commit f8a3298
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,17 @@ In the first case, the engine computes the cardinal product of all the variables

In the second case, the query is executed for each set of bindings in the result set.

## Magic Properties
## Magic Properties and Functions

The SPARQL Anything engine is sensible to the magic property ``<http://sparql.xyz/facade-x/ns/anySlot>``. This property matches the RDF container membership properties (e.g. ``rdf:_1``, ``rdf:_2`` ...).

The system supports the following functions on container membership properties (See #67):

- `fx:before(?a, ?b)` returns `true` if ?a and ?b are container membership properties and ?a is lower than ?b, false otherwise
- `fx:after(?a, ?b)` returns `true` if ?a and ?b are container membership properties and ?a is higher than ?b, false otherwise
- `fx:previous(?a)` returns the container membership property that preceeds ?a (rdf:\_2 -> rdf:\_1)
- `fx:next(?b)` returns the container membership property that succeedes ?b (rdf:\_1 -> rdf:\_2)


## Download and Usage

Expand Down

0 comments on commit f8a3298

Please sign in to comment.