http://franz.com/ns/allegrograph/4.7/mongo/find
Perform MongoDB queries
This magic property integrates SPARQL with MongoDB using triples that link a subject with its MongoDB ID via the http://www.franz.com/hasMongoId predicate. I.e.,
?subject <http://franz.com/ns/allegrograph/4.7/mongo/find> ' ' .
will perform a MongoDB query for
to return object IDs and then it will use these IDs to link to the desired triple via http://www.franz.com/hasMongoId.
You can also bind the MongoDB ID of the triple found using:
(?subject ?mongoID) <http://franz.com/ns/allegrograph/4.7/mongo/find> '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.