http://franz.com/ns/allegrograph/4.7/mongo/slotValue

This magic property provides a way to bind the values of slots found in MongoDB documents returned via the http://franz.com/ns/allegrograph/4.7/mongo/find magic property using the extended 'selector' syntax. To use:

?var http://franz.com/ns/allegrograph/4.7/mongo/slotValue (?mongoID 'slotName') .

in the above example ?mongoID is bound to the document objectId using the mongo:find magic property, and 'slotName' is one of the slots requested using the 'selector' object argument in that expression. The value of the named slot will be bound to ?var and can be used in subsequent BGPs in the SPARQL query. A filter function of the same IRI also exists if you prefer to assign variables via the BIND expression.

Notes

The following namespace abbreviations are used:

The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.