CSIRO-enviro-informatics / loci-integration-api

This application provides a convenient interface for executing common functions across the whole LOCI system.
0 stars 3 forks source link

Add a get_resource endpoint at /resource #6

Closed ashleysommer closed 5 years ago

ashleysommer commented 5 years ago

Implement last main endpoint before we do the reapportionment one This one is a bit fancy. It gets predicates and objects from a resource if they exist in a reified or non-reified manner. It also follows blank nodes down to two levels deep, and nests the results into a JSON struct.