Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sparql-ns.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ sparql:replace rdf:type sparql:Function ;
rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-replace> ;
.

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

rdfs:isDefinedBy <http://www.w3.org/TR/sparql12-query/#func-encode> ;
.

Expand Down Expand Up @@ -551,4 +551,4 @@ sparql:version-1.0 a rdfs:Resource ;
rdfs:comment "Version 1.0" ;
rdfs:isDefinedBy <https://www.w3.org/ns/sparql> ;
dc:conformsTo <http://www.w3.org/TR/sparql10-query/> ;
.
.
Loading