oxigraph-serve(1)

πŸ“¦
version 0.5.10 Β· 2 versions
, in nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

oxigraph-serve πŸ’…βœ¨

okay bestie, gather round, because this is oxigraph-serve(1) from the General Commands Manual β€” section 1, the big leagues, we're literally in the command-line club πŸ‘‘


✨ NAME ✨

oxigraph-serve β€” start the Oxigraph HTTP server in read-write mode πŸ¦‹

like. it serves. it writes. it reads. it's giving main character server energy and we're obsessed πŸ’–


🌸 SYNOPSIS 🌸

oxigraph serve [-l|--location] [-b|--bind] [--cors]
[--union-default-graph] [--timeout-s] [-h|--help]

πŸŽ€ DESCRIPTION πŸŽ€

Start Oxigraph HTTP server in read-write mode.

that's it, that's the whole vibe. you spin it up, it serves your RDF, and it's not read-only so it will absolutely let you write stuff too, no cap πŸ”₯


πŸ’… OPTIONS πŸ’…

  • -l, --location <LOCATION> β€” the directory where your data gets persisted πŸ’Ύ like, actually saved to disk. and listen: if it's not present, an in-memory storage will be used β€” which means everything vanishes when you stop the server 😭 iconic but also devastating. choose wisely, bestie.
  • -b, --bind <BIND> β€” host and port you want to listen on. the default is localhost:7878 ✨ (yes, the cute one). change it if you're feeling spicy 🌈
  • --cors β€” allows cross-origin requests 🌐 so your browser besties from other origins can actually talk to it. if you've ever screamed at a CORS error at 2am, this flag is for you 🫢
  • --union-default-graph β€” makes it so SPARQL queries look for triples in all the dataset graphs by default (i.e. without GRAPH operations) πŸ‘‘ this is equivalent as setting the union-default-graph option in all SPARQL queries. so basically: you don't have to say GRAPH every single time, it just knows. periodt.
  • --timeout-s <TIMEOUT_S> β€” timeout for request processing, in seconds ⏱️ currently only used for SPARQL queries. might be used to set up things like HTTP query timeout. so like, it's the "okay we've been waiting long enough" timer ⭐
  • -h, --help β€” print help (see a summary with -h) πŸŽ€ and yeah, it literally tells you to check out the summary with -h, so the help has range, iykyk.

ngl bestie, if you skip --location and then get surprised that your data is gone… that's on you πŸ’€ in-memory means in-memory, fr fr.

and that's the whole page, babes 🌸 this was oxigraph-serve(1) β€” page name serve β€” out of the General Commands Manual, section 1 πŸ’œ mwah, go start a server, slay, and remember: read-write mode means it writes back πŸ¦‹βœ¨

πŸ“¦ where this page comes from