[Wikidata-bugs] [Maniphest] T136479: Allow cancelling / aborting queries server-side

2023-04-01 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] T304365: Add property predicates to WCQS

2022-03-21 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T237165: LDF server has 404 errors for JS and CSS resources

2019-12-18 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Updated] T237165: LDF server has 404 errors for JS and CSS resources

2019-12-05 Thread 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

[Wikidata-bugs] [Maniphest] [Changed Status] T136479: Allow cancelling / aborting queries

2019-10-19 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T233647: Normalized quantities with uncertainty are rounded strangely

2019-09-23 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T233148: Wikidata Query Service UI doesn’t understand lexicographical data prefixes

2019-09-17 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T188722: Remove Moldovan Wikipedia from WDQS

2018-03-02 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Updated] T186452: IllegalArgumentException when adding duration with negative components to date

2018-02-05 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T175984: Unable to undo wikidata merge made by merge.js

2017-09-15 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T172113: ConcurrentModificationException on non-grouping query with aggregates in SELECT

2017-09-12 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T167858: hint:runFirst throws exception

2017-06-26 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T168741: SELECT * on query with no variables and property path results in NotMaterializedException

2017-06-23 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T168341: Chart views sometimes combine multiple numeric results into one

2017-06-19 Thread WikidataFacts
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 ""

[Wikidata-bugs] [Maniphest] [Created] T167858: hint:runFirst throws exception

2017-06-14 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used

2017-03-12 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used

2017-03-08 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used

2017-03-06 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used

2017-03-06 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T155954: WDQS returns deleted and redirected items

2017-01-22 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T155267: beta triples on query.wikidata.org (normalized units)

2017-01-15 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T155267: beta triples on query.wikidata.org (normalized units)

2017-01-13 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T145868: "Headless value factory should not be asked for its namespace" error on IF() + BOUND()

2017-01-06 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T154194: Bubble Chart links are off by one if bubble size variable is selected before item and label

2016-12-27 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T148923: Provide a way to access unencoded page names for sitelinks

2016-12-17 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T152342: Include SPARQL and SERVICE documentation in WDQS help

2016-12-04 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T150515: Graph view axes always begin at 0 when both coordinates are numeric

2016-11-11 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T150126: Re-displaying chart breaks grouping of results

2016-11-06 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T148923: Provide a way to access unencoded page names for sitelinks

2016-10-23 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T148022: Map layer colors are poorly chosen, especially for very few layers

2016-10-13 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T147577: NotMaterializedException (Vocab(2):) on combination of subquery, limit, triple, and label service

2016-10-06 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T147577: NotMaterializedException (Vocab(2):) on combination of subquery, limit, triple, and label service

2016-10-06 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T144764: Abbreviate GROUP_CONCAT result IRIs

2016-09-05 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T144246: Bubble Chart hover doesn’t display non-integer values

2016-08-29 Thread WikidataFacts
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)

[Wikidata-bugs] [Maniphest] [Created] T144095: Bubble Graph can’t handle labels without language tag

2016-08-27 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T143503: “java.lang.AssertionError: Non-required group has attached join filters” on combination of * paths, MINUS, and FILTER

2016-08-20 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T140151: NullPointerException when subtracting dates

2016-07-12 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T140151: NullPointerException when subtracting dates

2016-07-12 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T140151: NullPointerException when subtracting dates

2016-07-12 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T135956: Escape parentheses in WDQS URL

2016-06-02 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T136479: Allow cancelling / aborting queries

2016-05-31 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T136479: Allow cancelling / aborting queries

2016-05-28 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T135956: Escape parentheses in WDQS URL

2016-05-22 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T135956: Escape parentheses in WDQS URL

2016-05-22 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Commented On] T135222: [Story] Add Timeline display to visualize query results

2016-05-16 Thread WikidataFacts
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

[Wikidata-bugs] [Maniphest] [Created] T135222: Add Timeline display

2016-05-13 Thread WikidataFacts
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