Git Product home page Git Product logo

jbi_sample_conversions's Introduction

jbi_sample_conversions

Sample conversion rules and proofs as a demonstration for our JBI submission

##FILES:

source-to-domain conversion:

source_entity.ttl contains sample source entity data, as displayed in Listing 2 of the paper.

source_to_domain_conversion_rule.n3 contains sample source to domain conversion rule, as displayed in Lisiting 3 of the paper.

source_to_domain_query_rule.n3q contains a sample filtering rule, which passes only the triples generated by the conversion rule (domain entity) as output result. A conversion rule only adds inferenced triples to the input data, a filtering rule is required if the input data (in this example, the source_entity) needs to be excluded from the output result.

domain-to-application conversion:

domain_entity.ttl contains sample domain entity data, the content is consistent to Listing 4 of the paper, the difference is that the domain_entity.ttl file in this project is generated from the source-to-domain conversion.

domain_to_OMOP_conversion_rule.n3 contains sample domain to OMOP conversion rule, as displayed in Listing 5 of the paper.

domain_to_OMOP_query_rule.n3q contains a sample filtering rule, which passes only the triples generated by the conversion rule (OMOP entity) as output result.

##CONVERSIONS

The results are generated by EYE with the following commands:

source-to-domain conversion: eye --nope source_entity.ttl source_to_domain_conversion_rule.n3 --query source_to_domain_query_rule.n3q >domain_entity.ttl

The content of the domain_entity.ttl is as displayed in Listing 4.

domain-to-application conversion: eye --nope domain_entity.ttl domain_to_OMOP_conversion_rule.n3 --query domain_to_OMOP_query_rule.n3q >OMOP_entity.ttl

The content of OMO_entity.ttl is as displayed in Listing 6.

##PROOFS

As introduced in the paper, EYE can also generate proof for the conversion process. The commands below generates proofs for the above mentioned conversion processes

eye source_entity.ttl source_to_domain_conversion_rule.n3 --query source_to_domain_query_rule.n3q >source_to_domain_proof.n3

eye domain_entity.ttl domain_to_OMOP_conversion_rule.n3 --query domain_to_OMOP_query_rule.n3q >domain_to_omop_proof.n3

In the generated proofs, the object of r:gives shows the conclusions of a conversion process, as what displayed in domain_entity.ttl or OMOP_entity.ttl. The remaining of the proofs records actions such as data extractions or inferences that leads to the conclusions.

jbi_sample_conversions's People

Contributors

hongsun502 avatar

Watchers

James Cloos avatar  avatar

Forkers

hongsun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.