Hi,

I need to store references from one document to another.  The mechanism is
generic and cannot be tied to a particular type of document.  It is then
difficult to store the reference inside the document.

What looks like a perfect solution is to use a metadata with a specific
name, the value of which is the URI of the target document.  With a field
on that metadata, I can search for the source of any target URI.

But some documents can point to several URIs.  And as far as I can tell, it
is not possible to have several values for a given metadata (on the same
document).

Any idea how I can store such references without requiring modifying the
content of the documents?

As I would like the references to "live" with the source doc, I would like
to avoid using managed triples.

The closest I can think of is to use the metadata to store several URIs in
one string, using a separator, and have TDE to expose as many triples as
there are URIs.  But I am not definitely sure I can access metadata in TDE
(and loop over tokenize($value, '|') to create several triples).

Am I missing anything obvious?

Regards,

-- 
Florent Georges
H2O Consulting
http://h2o.consulting/
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to