Property talk:P5305

From Wikidata
Jump to navigation Jump to search

Documentation

SPARQL endpoint
URL of the SPARQL endpoint of the database/website
RepresentsSPARQL endpoint (Q26261192)
Data typeURL
ExampleWikidata (Q2013) → https://query.wikidata.org/sparql
Lists
Proposal discussionProperty proposal/SPARQL endpoint
Current uses56
[create] Create a translatable help page (preferably in English) for this property to be included here
Format “https?://.+”: value must be formatted using this pattern (PCRE syntax). (Help)
List of this constraint violations: Database reports/Constraint violations/P5305#Format, hourly updated report, SPARQL, SPARQL (new)
Format “(?i).*sparql.*”: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P5305#Format, SPARQL, SPARQL (new)
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P5305#Unique value, SPARQL (every item), SPARQL (by value), SPARQL (new)

A formatter URL for a query?[edit]

It would be cool to have the possibility to give a formatter URL for a query somehow, e.g. http://vocab.getty.edu/sparql?query=$1 for Getty Vocabulary Program (Q5554720). That value could e.g. be used for a parameter filling in the endpoint of Template:SPARQL (I've added a manual parameter to Template:SPARQL/sandbox.) Any idea if we have a property (combination) to add those formatter URLs? --Marsupium (talk) 11:58, 13 June 2018 (UTC)

  • If you do a federated query from WQS, you might not need it.
    --- Jura 14:10, 13 June 2018 (UTC)
    • @Jura1: That's right for the Getty Vocabulary Program. We don't have federated queries available for all SPARQL endpoints though, they might reduce performance or have shorter timeout etc. The question was meant to be more general, our template isn't the only use case … :) --Marsupium (talk) 15:19, 13 June 2018 (UTC)

Property for ”query service“ or ”query form“[edit]

I'd like to add a qualifier for the ”query service“ or ”query form“ (if existent) to this property, but I don't know which property to use. For now, I'm using official website (P856) like this:

Wikidata (Q2013)SPARQL endpoint (P5305)  https://query.wikidata.org/sparql / official website (P856)https://query.wikidata.org/

Any ideas?

BTW, the same could be useful for source code repository (P1324)} and similar properties: some kind of ”web application interface“—browsable source code in this case. --1914 Josef (talk) 14:25, 14 November 2018 (UTC)