There's no fast way to do that against the triple index. Sounds like you
might be better off encoding meaning into the RDF graph rather than the
IRI scheme.

John

On 25/09/16 14:13, Florent Georges wrote:
> Hi,
>
> Given a string "xyz", I'd like to find all the IRIs in a subject
> position in the triple index, so that the string appear anywhere in
> the IRI after the last '/' or '#'.  That is, for "xyz", I'd like to
> have:
>
> http://example.org/proj/component#xyz
> http://example.org/proj/component#abc-xyz
> http://example.org/proj/component/abc-xyz-123
>
> But I am not quite sure what would be the correct way to use the
> triple index for this, potentially on large data sets.  Any idea?
>
> Regards,
>


-- 
John Snelson, Lead Engineer                    http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to