Skip to main content

This should be an interface and implementation of a collection that holds SPARQL 1.1 queries.

Project description

query-collection

This should be an interface and implementation of a collection that holds SPARQL 1.1 queries.

Usage

from rdflib import Graph
from query_collection import TemplateQueryCollection

tqc = TemplateQueryCollection()
tqc.loadFromDirectory("path/to/dir/with/query/files")
example_query_template = tqc.get("example")

g = Graph()
g.query(**example_query_template.prepare())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

query_collection-0.1.7.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

query_collection-0.1.7-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file query_collection-0.1.7.tar.gz.

File metadata

  • Download URL: query_collection-0.1.7.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Linux/6.17.8-300.fc43.x86_64

File hashes

Hashes for query_collection-0.1.7.tar.gz
Algorithm Hash digest
SHA256 dbd877dcebb325c9702530d8258ddd14730965185cf20221dacd6b59207fb329
MD5 872943ede68d53fccc72e8344ec91ddc
BLAKE2b-256 86364160e0ebdfae46d21489644bd874f26b412bc3bd4c3873aedf346f665672

See more details on using hashes here.

File details

Details for the file query_collection-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: query_collection-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Linux/6.17.8-300.fc43.x86_64

File hashes

Hashes for query_collection-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6fca14d2ddd8371f8e5e0a18e2db691a2539f5917a3699e33bf1651582c761fe
MD5 5b050b9ac2740f08844003bed855408c
BLAKE2b-256 bc88821a9484c99b82366175e2a1e6281f507f992ea8d37fb615657549d5a005

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page