SPARQL queries & tests

Database password

Please fill in the database password below


In [ ]:
from __future__ import print_function
import ipywidgets as widgets
passwordField = widgets.Password(value="postgres")
passwordField

In [ ]:
from sqlalchemy import create_engine

connectionString = "postgresql://postgres:%s@postgresdb:5432/mydata" % passwordField.value
dbEngine = create_engine(connectionString)

In [ ]:
from r2rmlQueryEditor import R2RMLQueryEditor

r2rmlEditor = R2RMLQueryEditor("http://graphdb:7200/repositories/r2rml", dbEngine)
widgets.VBox(r2rmlEditor.runInterface())

In [ ]:
r2rmlEditor.comparisonEngine.load('gender', sqlDateColumns=[], sparqlDateColumns=[])

In [ ]:
r2rmlEditor.comparisonEngine.interact(figsize=(18, 8))

In [ ]: