Skip to content

N3 Formula <-> SQLAlchemy Store error #92

@tduval-unifylogic

Description

@tduval-unifylogic

Greetings!

I have a need to store formulas in Conjunctive Graphs as depicted in tests here in a SQLAlchemy backed store using Postgres.

I can run the tests just fine, but when I switch over the store using the code below, I receive the error in the image below.

registerplugins()
store = plugin.get("SQLAlchemy", Store)(identifier="")
cg = ConjunctiveGraph(store=store)
cg.open(my_verified_sql_alchemy_connection_string, create=True)
testN3 = """
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix : <http://test/> .
{:a :b :c;a :foo} => {:a :d :c,?y}.
_:foo a rdfs:Class.
:a :d :c."""
cg.parse(data=testN3, format='n3')

Any help on what I might be doing wrong? I am aware that my store needs to be a 'formula aware' store. Is there something I am not setting (or setting incorrectly?)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions