Skip to content

Find triples is not working using sparqlwrapper and fuseki server #2

@terence-coudert

Description

@terence-coudert

This code raise a TypeError

from datadocweb.datadoc import DataDoc, Triplestore


url = 'https://physmetfuseki.azurewebsites.net'
database = 'test-tem'
d = DataDoc()
d.store = Triplestore(
    backend='sparqlwrapper',
    base_iri=f'{url}/{database}',
    update_iri=f'{url}/{database}/update',
    username='*****',
    password='*****'
)
d.bind(pm='https://www.ntnu.edu/physmet/data#')
table = d.find(typ='pm:BrightFieldImage', fmt='table')
print(table)

Metadata

Metadata

Assignees

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