USGCRP / gcis-ontology

Ontology for the Global Change Information System
4 stars 7 forks source link

Run inference on ontology during tests? #182

Open zednis opened 8 years ago

zednis commented 8 years ago

I just noticed that the Jena RIOT utilities now includes a utility for computing inferences. I think we should consider using this in our tests and we might even be able to use it during data ingest to compute inferences before they are loaded into the triplestore.

In tests we would compute the inferences of the ontology + test data and run our test queries on that.

https://jena.apache.org/documentation/io/

Inference

RIOT support creation of inferred triples during the parsing process:

riotcmd.infer --rdfs VOCAB FILE FILE ... Output will contain the base data and triples inferred based on RDF subclass, subproperty, domain and range declarations.

rewolfe commented 8 years ago

Nice!

On Mon, Jan 4, 2016 at 6:11 PM, Stephan Zednik notifications@github.com wrote:

I just noticed that the Jena RIOT utilities now includes a utility for computing inferences. I think we should consider using this in our tests and we might even be able to use it during data ingest to compute inferences before they are loaded into the triplestore.

In tests we would compute the inferences of the ontology + test data and run our test queries on that. Inference

RIOT support creation of inferred triples during the parsing process:

riotcmd.infer --rdfs VOCAB FILE FILE ... Output will contain the base data and triples inferred based on RDF subclass, subproperty, domain and range declarations.

— Reply to this email directly or view it on GitHub https://github.com/USGCRP/gcis-ontology/issues/182.

Robert Wolfe, NASA GSFC @ USGCRP, o: 202-419-3470, m: 301-257-6966

justgo129 commented 8 years ago

+1

justgo129 commented 8 years ago

Is this something we should table until after the assets are transferred?

rewolfe commented 8 years ago

@justgo129 - I think this can wait. Do we already have a use case for this?

On Fri, Feb 5, 2016 at 11:56 AM, justgo129 notifications@github.com wrote:

Is this something we should table until after the assets are transferred?

— Reply to this email directly or view it on GitHub https://github.com/USGCRP/gcis-ontology/issues/182#issuecomment-180438741 .

Robert Wolfe, NASA GSFC @ USGCRP, o: 202-419-3470, m: 301-257-6966