Skip to content

SPARQL vocab: rename "encode" into "encodeForUri" - #406

Merged
Tpt merged 1 commit into
mainfrom
tpt/vocab-encode
Jul 16, 2026
Merged

SPARQL vocab: rename "encode" into "encodeForUri"#406
Tpt merged 1 commit into
mainfrom
tpt/vocab-encode

Conversation

@Tpt

@Tpt Tpt commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The function is named ENCODE_FOR_URI in the SPARQL syntax and encode URIs

The function is named `ENCODE_FOR_URI` in the SPARQL syntax and encode URIs
@Tpt
Tpt requested review from afs and rubensworks and removed request for rubensworks July 15, 2026 19:06
@Tpt
Tpt merged commit 23077c9 into main Jul 16, 2026
2 checks passed
@Tpt
Tpt deleted the tpt/vocab-encode branch July 16, 2026 19:16
Comment thread sparql-ns.ttl
sparql:encode rdf:type sparql:Function ;
rdfs:comment "This function encodes a string using a specified method (e.g., URI-encoding), returning the encoded version." ;
sparql:encodeForUri rdf:type sparql:Function ;
rdfs:comment "This function encodes a string using a specified method (here, URI-encoding), returning the encoded version." ;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to specify a different method, with the new function name? If not, the comment should be rephrased.

I also wonder, are there now (or will there soon be) other encode___() variants for other methods?

If the answer to either of my questions means more changes to the body, please change this comment to an issue, to track it to resolution.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to specify a different method, with the new function name?

No, not currently.

I have opened #409 to rephrase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants