Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider writing 'endpoint' to SPARQL JSON #6

Open
ross-spencer opened this issue Jan 30, 2022 · 2 comments
Open

Consider writing 'endpoint' to SPARQL JSON #6

ross-spencer opened this issue Jan 30, 2022 · 2 comments

Comments

@ross-spencer
Copy link
Owner

The JSON could further extended to include the endpoint URL. Doing so provides further information to the caller of the JSON output, be that immediate consumption, or like in Siegfried's case, from a file on disk.

@ross-spencer
Copy link
Owner Author

Related to: ross-spencer/siegfried#2

@ross-spencer
Copy link
Owner Author

Example output might be:

{
  "endpoint": "http://wikibase.uri/proxy/wdqs/bigdata/namespace/wdq/sparql?",
  "head": {
    "vars": [
      "uri",
      "uriLabel",
      "puid",
      "extension",
      "mimetype",
      "encoding",
      "referenceLabel",
      "date",
      "relativity",
      "offset",
      "sig"
    ]
  },

@ross-spencer ross-spencer changed the title Consider writing endpoint to SPARQL Consider writing 'endpoint' to SPARQL JSON Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant