Sparqlify icon indicating copy to clipboard operation
Sparqlify copied to clipboard

Already prefixed URIs are enclosed in <>

Open KonradHoeffner opened this issue 9 years ago • 1 comments

I have a column that contains URIs that are already prefixed, such as owl:Class or foaf:Person. Using uri(?column), I then get <owl:Class> instead of just owl:Class.

KonradHoeffner avatar Jan 24 '17 11:01 KonradHoeffner

Hm, this is not really a bug but rather a new type of term contruction: a function that for a given input IRI and a prefix mapping returns a set of candidate lookups.

E.g The expression

FILTER(?s = <http://example.org/foo>)
WITH ?s = NSIRI(?someColumn)

w.r.t. the prefix mapping

eg: <http://example.org>
ex: <http://example.org>

would translate / expand to the SQL condition "someColumn" IN ('eg:foo/', 'ex:foo/')

Aklakan avatar Jan 19 '21 19:01 Aklakan