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 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 block to realize high-level programming by wrapping access to existing SPARQL endpoints as Prolog code. The examples we developed includes MBGD, KEGG OC, TogoVar, JCM, and Allie. 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.