Skip to content
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

Helper Function for returning the corresponding integers from container membership Properties #272

Closed
MarcoR1791 opened this issue Jul 14, 2022 · 1 comment
Assignees
Labels
Feature New feature or request
Milestone

Comments

@MarcoR1791
Copy link
Member

MarcoR1791 commented Jul 14, 2022

It would be useful to have a specific function that returns the integer part of the container membership properties. This would be useful for example for ordering the results of queries.

This is currently possible with SPARQL but it is unfortunately rather verbose. For example:

BIND ( xsd:int(REPLACE( STR(?mPropPart), STR(rdf:_), "") ) as ?measureCount )
@enridaga enridaga self-assigned this Jul 14, 2022
@enridaga enridaga added the Feature New feature or request label Jul 14, 2022
@enridaga enridaga added this to the v0.8.0 milestone Jul 14, 2022
@enridaga
Copy link
Member

We can implement a new function fx:cardinal to get the integer from a container membership property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants