Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Serve an RDF file as an RDFLib Graph through a SPARQL endpoint served as fastapi with rdflib-endpoint

NotificationsYou must be signed in to change notification settings

AKSW/sparql-file

Repository files navigation

Serve an RDF file as anRDFLib Graph through a SPARQL endpoint served asfastapi withrdflib-endpoint (github).

Install

$ task install

or

$ poetry install

Run Locally

$ GRAPH_FILE=graph.ttl task serve:dev# or$ GRAPH_FILE=graph.ttl task serve:uvicorn

or

$ GRAPH_FILE=graph.ttl poetry run fastapi dev sparql_file.py# or$ GRAPH_FILE=graph.ttl poetry run uvicorn sparql_file:app --host'' --port 8080

Run With Podman/Docker (local build)

$ task build$ podman run -d --rm -v /path/to/graph_file.ttl:/data/graph.ttl:z -p 8080:8080 localhost/sparql-file:latest

Run With Podman/Docker (ghcr.io registry build)

$ GRAPH_FILE=graph.ttl task serve:container

or

$ podman run -d --rm -e GRAPH_FILE="/data/graph.ttl" -v /path/to/graph_file.ttl:/data/graph.ttl:z -p 8080:8080 ghcr.io/aksw/sparql-file:main

About

Serve an RDF file as an RDFLib Graph through a SPARQL endpoint served as fastapi with rdflib-endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

[8]ページ先頭

©2009-2025 Movatter.jp