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

Update SPARQL in functions.py #47

Open dr-shorthair opened 4 years ago

dr-shorthair commented 4 years ago

Suppress references to unused namespaces and deprecated predicates

dr-shorthair commented 4 years ago

Yes I wonder if qb4st:crs --> geox:inCRS may have fallen through the cracks. I would expect everything else to be OK.

dr-shorthair commented 4 years ago

So far I have only looked at one file: functions.py Is there SPARQL anywhere else (I can't find any).

jyucsiro commented 4 years ago

@dr-shorthair i think all the SPARQL in the loci-integration-api is in functions.py

dr-shorthair commented 4 years ago

I've simplified the geo:sfOverlaps query to match all sub-properties as well. See lines 645-655. This should catch the geox:transitiveSfOverlap cases now, and ignore them later, without actually mentioning them.

dr-shorthair commented 4 years ago

Yes - it is a very small ontology. But we'll have to make sure that the deprecated elements are back in there. I'll let you know when that's done.

dr-shorthair commented 4 years ago

Shoudl be good now.