Repository navigation
Logic Programming and RDF
Logic programming allows for powerful queries. During Biohackathon 2019 we aim to make a show case based on existing facilities for using logic programming in conjunction with SPARQL.
Interestingly we found existing initiatives in Prolog. Chris Mungall (also attending the hackathon) is working on SparqlProg which provides sophisticated mapping of logic queries to SPARQL. Another find is ClioPatria by Jan Wielemaker the main author of SWI-Prolog. Amazingly, there exist even bindings for ClioPatria and Python, for example, though the repo is not found yet.
Recently, a number of biological databases have been developed on the basis of RDF supporting SPARQL access. For effectively extracting information by combining these databases, writing complicated SPARQL queries are required. However, composing complex SPARQL queries is bothersome work due to the lack of abstract modularized structure in SPARQL. Thus, high-level programming methodology on the basis of SPARQL endpoint is necessary. Here, we use SPARQLProg technology to compose building blocks to realize high-level programming by wrapping access to existing SPARQL endpoints as Prolog code. The examples we developed include MBGD, KEGG OC, TogoVar, JCM, Allie, EBI BioSamples, UniProt, and DesGeNET. Future work includes using these Prolog codes as building blocks for integrative analysis.
Uchiyama, I., Mihara, M., Nishide, H., Chiba, H., & Kato, M. (2018). MBGD update 2018: microbial genome database based on hierarchical orthology relations covering closely related and distantly related comparisons. Nucleic acids research, 47(D1), D382-D389.
-
Remote member Nada Amin, Chris Mungall, Deepak Unni, Will Byrd
-
Goal: implement a relational type inferencer for the Biolink model in miniKanren, which can be integrated into mediKanren
-
Nada added a
yamlsubdirectory to the mediKanren GitHub page:
https://github.com/webyrd/mediKanren
** yaml2sexp.py generates the biolink.scm file, which contains an s-expression version of the Biolink yaml file