Skip to content

JervenBolleman/intermine-R2RML-mapping

 
 

Repository files navigation

R2RML-mapping

License

Clone the project from github and execute:

cd intermine-R2RML-mapping
./gradlew install
./gradlew -q run > mapping.ttl # Silence gradle or it will corrupt the mapping file

This mapping.ttl file can then be used by R2RML implementations such as ontop.

If one wants to use ontop

mkdir ontop-cli
cd ontop-cli

wget "https://github.com/ontop/ontop/releases/download/ontop-4.0.3/ontop-cli-4.0.3.zip"
unzip ontop-cli-4.0.3.zip

# intermine uses postgresql so get the JDBC driver
cd jdbc
wget "https://jdbc.postgresql.org/download/postgresql-42.2.18.jar"

#make a file db.properties
jdbc.url=jdbc:postgresql://localhost:5432/biotestmine #Change to your settinggs
jdbc.user=${YOUR_PGSQL_USERNAME}
jdbc.password=${YOUR_PGSQL_PASSWORD}


#Then one can use 
./ontop query -m ../mapping.ttl -p db.properties -q ../queries/proteins.rq

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%