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:
- fti - <http://franz.com/ns/allegrograph/2.2/textindex/>
- geo - <http://franz.com/ns/allegrograph/3.0/geospatial/>
- geofn - <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
- nd - <http://franz.com/ns/allegrograph/5.0/geo/nd#>
- ndfn - <http://franz.com/ns/allegrograph/5.0/geo/nd/fn#>
- sna - <http://franz.com/ns/allegrograph/4.11/sna/>
The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.