WikidataFacts closed this task as "Declined".
WikidataFacts added a comment.
> **Solution this task covers**
>
> Use the Blazegraph CANCEL POST
<https://github.com/blazegraph/database/wiki/REST_API#cancel> request to stop
the query from running on
WikidataFacts created this task.
WikidataFacts added projects: SDC General, Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
**Feature summary** (what you would like to be able to do and where):
I would like to be able to write queries for WCQS
WikidataFacts added a comment.
For me they look exactly the same – I suspect the first URL is still in your
browser cache.
TASK DETAIL
https://phabricator.wikimedia.org/T237165
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Gehel, WikidataFacts
WikidataFacts added subscribers: Gehel, WikidataFacts.
WikidataFacts added a project: Wikidata-Query-Service.
WikidataFacts added a comment.
Restricted Application added a project: Wikidata.
I think @Ratso56’s original title was more accurate. The core issue isn’t
that some JS/CSS is failing
WikidataFacts changed the task status from "Open" to "Stalled".
TASK DETAIL
https://phabricator.wikimedia.org/T136479
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: WikidataFacts
Cc: Bugreporter, Maxlath, NoInkling, Daniel_M
WikidataFacts created this task.
WikidataFacts added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
I tried to find the shortest rivers on Wikidata with this query
<https://query.wikidata.org/#SELECT%20%3Friver%20%3FriverLabel%20%3Flength%20WITH
WikidataFacts created this task.
WikidataFacts added a project: Wikidata Query UI.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.
TASK DESCRIPTION
The WDQS UI doesn’t understand the `dct:` and `ontolex:` prefixes used in the
RDF export
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONMoldovan Wikipedia was deleted in 2010 (see proposal and T169450), but WDQS still knows the triple
WikidataFacts added a project: Wikidata-Query-Service.WikidataFacts added a comment.Herald added projects: Wikidata, Discovery.
Steps to reproduce: take the SPARQL query at the beginning, paste it into https://query.wikidata.org, run the query (press Ctrl+Enter or clilck the blue “run query
WikidataFacts added a comment.
Rolling back the merge still works, apparently, and afterwards it’s also possible to restore the old version. I used this on Q38906046 (rollback diff), and @MisterSynergy also had success with this on Q34836264 (rollback diff).TASK DETAILhttps
WikidataFacts added a comment.
Note that this can also occur on grouping queries:
SELECT ?x (COUNT(*) AS ?total) (SUM(?y) AS ?ys) (?ys/?total AS ?ratio) WHERE {
?x wdt:P31 wd:Q1.
BIND(1 AS ?y)
}
GROUP BY ?x
And an alternative workaround is to inline the variables into the SELECT, i. e. (SUM
WikidataFacts added a comment.
Yes, that’s what I meant with:
(This example query can be made to run by completely disabling the optimizer, but in general it would be nice to have more fine-grained control over it.)TASK DETAILhttps://phabricator.wikimedia.org/T167858EMAIL PREFERENCEShttps
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONExample 1:
SELECT * WHERE {
wd:Q4176 wdt:P31/wdt:P279 wd:Q16970.
}
Example 2, more stable against changes
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONMinimal reproducer:
#defaultView:LineChart
SELECT ?x ?y ?c WHERE {
VALUES (?x ?y ?c) {
(1 1 ""
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONAccording to QueryHints, hint:runFirst should allow specifying that a particular join should run first in a join
WikidataFacts added a comment.
I think these are the same issue:
SELECT ?x ?xLabel WHERE {
BIND(wd:Q42 AS ?x).
BIND("Douglas Adams"@en AS ?xLabel).
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Link
SELECT ?x ?xLabel WHERE {
VALUES (?x ?x
WikidataFacts added a comment.
Here’s a variation that triggers the error: query
It returns some partial results before the error message because the error is only triggered when the first “no value” is reached, in “abbot” – “applies to territorial jurisdiction” – no value. (To see the result
WikidataFacts added a comment.
Here is the real query – the relevant part is: either a statement is a normal statement and has a proper object (?object), in which case I want its label, or it’s a “no value” statement, in which case I want to bind ?objectLabel to "no value"@en. (In the
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONSELECT ?xLabel WHERE {
{ BIND(wd:Q1 AS ?x). } UNION
{ BIND("none"@en AS ?xLabel). }
SERVICE wiki
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTION@Daniel_Mietchen submitted this query:
SELECT DISTINCT ?item ?pubyear WHERE {
?item wdt:P577 ?pubdate
WikidataFacts added a comment.
Yup, LGTM. Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T155267EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Smalyshev, WikidataFactsCc: Smalyshev, Aklapper, WikidataFacts, EBjune, mschwarzer, Avner, debt, Gehel
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONCurrently, there are 113761 triples with predicate http://wikiba.se/ontology-beta#quantityAmount
WikidataFacts added a comment.
Another query with the same error message:
SELECT (COUNT(?x) AS ?c) WHERE {
BIND(IF(true, 1, 0) AS ?x).
}
Link
Same bug, or should I file a new ticket?TASK DETAILhttps://phabricator.wikimedia.org/T145868EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONExample query:
#defaultView:BubbleChart
SELECT ?count ?item ?itemLabel WHERE {
VALUES (?count ?item ?itemLabel
WikidataFacts added a comment.
I don’t really like the choice of rdfs:label as predicate. Currently, as far as I’m aware, only items have triples with that predicate, and queries that rely on this assumption might break (and the straightforward fix, ?item a wikibase:Item, isn’t available on WDQS
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONIt would be useful to have two more links in the WDQS help menu, perhaps next to the RDF Data Model:
the SPARQL
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONExample query:
#defaultView:LineChart
SELECT ?year (COUNT(?person) AS ?count) WHERE {
?person wdt:P31 wd:Q5
WikidataFacts created this task.WikidataFacts added projects: Wikidata-Query-Service, Wikidata.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONIf you have a query that groups results in some way (not in the SPARQL GROUP BY sense, but in the graph view sense
WikidataFacts added a comment.
I would suggest a triple with the predicate schema:name, or perhaps schema:headline.TASK DETAILhttps://phabricator.wikimedia.org/T148923EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WikidataFactsCc: WikidataFacts, Aklapper
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONIf you only have two layers, the first layer is colored blue, and the second layer is colored light blue, because
WikidataFacts added a comment.
Hrm, perhaps I over-reduced it. In the original query, I of course select ?personLabel in the inner query as well – I only noticed that it wasn’t necessary to get the error message, so I threw it out.
But anyways, the only reason I’m bothering with a subquery is so
WikidataFacts created this task.WikidataFacts added projects: Wikidata-Query-Service, Wikidata.Herald added a subscriber: Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONSELECT ?person ?personLabel WHERE {
{
SELECT ?person WHERE {
BIND(wd:Q23 AS ?person).
?person
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONThe WDQS UI turns IRIs in results into links, and also abbreviates IRIs that point to Wikidata to just the Q
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONExample query:
#defaultView:BubbleChart
SELECT * WHERE
{
VALUES (?size ?label) {
(1 "integer"@en)
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONThis works:
#defaultView:BubbleChart
SELECT (1 AS ?size) ("label"@en AS ?label) WHERE {}
Link
But th
WikidataFacts created this task.WikidataFacts added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONThe following query results in an error:
SELECT * WHERE
{
?p wdt:P279* ?o.
MINUS { ?o wdt:P279* []. }
FILTER
WikidataFacts added a comment.
Ah… I should have thought of that. Because I actually saw an odd date string for that item at one point, and fixed it. Sorry, I really should have mentioned that. (But it probably won’t be the only item with such a date string…)TASK DETAILhttps
WikidataFacts added a comment.
Huh, so it’s the discrepancy in the precision?
I ran the query a few times with LIMIT 10 before reporting this, and when it did go through, the results were all old Pharaohs (probably because the index for those properties is ordered by death, I guess?), which don’t
WikidataFacts created this task.WikidataFacts added projects: Wikidata, Wikidata-Query-Service.Herald added subscribers: Zppix, Aklapper.Herald added a project: Discovery.
TASK DESCRIPTIONThis query will lead to a NullPointerException most of the time:
SELECT ?person ?age
WHERE
{
?person
WikidataFacts added a comment.
That’s odd, because occasionally curly braces also cause problems, and
according to MDN
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent>
`encodeURIComponent` always escapes those. I guess that p
WikidataFacts added a comment.
@Smalyshev: Good to know. So the client would send the cancel request while
the query `GET` request is still pending, and that would then return… 204 No
Content? 408 Request Timeout? (I suppose it doesn’t matter – the client knows
it canceled the query
WikidataFacts created this task.
Herald added subscribers: Zppix, Aklapper.
Herald added projects: Wikidata, Discovery.
TASK DESCRIPTION
Most of the time, I expect a query to run in less than a second. If it takes
longer than that, I assume that I’ve accidentally made an expensive query
WikidataFacts added a comment.
I actually used to use the short bit.ly links, but stopped because
> most query links in full form would be too long for Twitter.
is incorrect: Twitter has its own link shortener (t.co), which it forces on
you, and so every link counts as exactly
WikidataFacts created this task.
Herald added subscribers: Zppix, Aklapper.
Herald added a project: Discovery.
TASK DESCRIPTION
It would be useful if WDQS URL-escaped parentheses (`()`) in the address it
builds from the query (https://query.wikidata.org/#QUERY_GOES_HERE). For
example, Twitter
WikidataFacts added a comment.
, though I hope that the display won’t require `ORDER BY ?date` to function?
TASK DETAIL
https://phabricator.wikimedia.org/T135222
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: WikidataFacts
Cc: Lydia_Pintscher
WikidataFacts created this task.
Herald added subscribers: Zppix, Aklapper.
Herald added a project: Discovery.
TASK DESCRIPTION
A Timeline display (in addition to Map, Image Grid, etc.) would be useful to
visualize the temporal relation of events. In a Table of dates, it’s hard to
see
46 matches
Mail list logo