Skip to content

Calling SPARQLProcessor run throws a TypeError: get_all_item_data() #21

Description

@jermnelson

Attempted to test SPARQLProcessor from command-line Python:

>>> from rdfframework.rml.processor import SPARQLProcessor`
>>> mapv4_processor = SPARQLProcessor(`
	    ["bf-to-map4.ttl",`
	    "D:/2018/dpla-service-hub/profiles/map4.ttl"],`
	    triplestore_url=TRIPLESTORE_URL)`
>>> mapv4_processor.run(item=rdflib.URIRef("https://digitalcc.coloradocollege.edu/islandora/object/coccc:8473"),
>>>     instance=rdlfib.URIRef("https://plains2peaks.org/0e9fa0e8-0ba2-11e8-8277-005056c00008"))
Traceback (most recent call last):`
  File "", line 2, in `
    instance=instance)`
  File "d:\2018\rdfframework\rdfframework\rml\processor.py", line 935, in run
    debug=False)`
TypeError: get_all_item_data() missing 1 required positional argument: 'items'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions