[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2023-10-16 Thread VladimirAlexiev
VladimirAlexiev added a comment. I used queries like this to compare counts between wikidata and our wdtruthy service. - For the first 2 queries we use `count(distinct ?x)`: they have prop path but a small result population - For the other queries we use `count(*)` because it's much

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2023-10-05 Thread VladimirAlexiev
VladimirAlexiev added a comment. I see the count triples on recently modified entities: F37987017: image.png <https://phabricator.wikimedia.org/F37987017> Our "wdtruthy" copy is built by initial loading of the WD dumps, then tracking the WD update stream. So I bet t

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2023-10-03 Thread VladimirAlexiev
VladimirAlexiev added a comment. The full dump is 15B triples (you can see this here https://query.wikidata.org/bigdata/ldf). WDtruthy is 6.5B triples (we have it in GraphDB, continuously updating). Adding the counts will add 320M, or 5%. Actually I'm wrong about site links

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2023-09-27 Thread VladimirAlexiev
VladimirAlexiev added a comment. The following query (from https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization#Distinct_term_scan,_and_group_by_and_count_optimization) SELECT ?p (COUNT(?p) AS ?count) WHERE { [] ?p [] . } GROUP BY ?p order by desc

[Wikidata-bugs] [Maniphest] T235540: StackOverflowError when SPARQL query uses same variable name before and after aggregation

2023-09-15 Thread VladimirAlexiev
VladimirAlexiev added a comment. I posted https://github.com/w3c/sparql-dev/issues/192 to collect info about what various SPARQL processors do in such cases. Blazegraph allows it for certain situations: - COUNT - SAMPLE - identity rebinding - expression rebinding (not aggregate

[Wikidata-bugs] [Maniphest] T346420: query causes Stack Overflow

2023-09-15 Thread VladimirAlexiev
VladimirAlexiev added a comment. Reading through the spec: - https://www.w3.org/TR/sparql11-query/#bind: "The variable introduced by the BIND clause must not have been used in the group graph pattern up to the point of use in BIND." - https://www.w3.org/TR/spar

[Wikidata-bugs] [Maniphest] T346420: query causes Stack Overflow

2023-09-15 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added projects: Wikidata, Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION The following query https://w.wiki/7Tep counts prevalence of location properties for Rivers: PREFIX wd: <h

[Wikidata-bugs] [Maniphest] T323774: some `wdtn:` values have disappeared

2022-11-24 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T323774 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja

[Wikidata-bugs] [Maniphest] T323774: some `wdtn:` values have disappeared

2022-11-24 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION `wdtn:` values expand external-ids to full URLs (documented at https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format

[Wikidata-bugs] [Maniphest] T318219: Timeline view: vertical and horizontal controls

2022-09-21 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T318219 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, AWesterinen, MPhamWMF, CBogen, Namenlos314, Gq86

[Wikidata-bugs] [Maniphest] T318219: Timeline view: vertical and horizontal controls

2022-09-21 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata Query UI. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION See this query https://w.wiki/5j55. It has controls on top to tweak the view: F35527011: image.png <https://phabricator.wikimedia.

[Wikidata-bugs] [Maniphest] T207705: Implement the Extended Date/Time Format Specification

2022-07-26 Thread VladimirAlexiev

[Wikidata-bugs] [Maniphest] T204045: Support GeoSPARQL in Wikidata Query Service

2022-02-17 Thread VladimirAlexiev
VladimirAlexiev added a comment. https://github.com/Sophox/sophox/issues/17 is about GeoSPARQL in Sophox, the OpenStreetMap SPARQL endpoint. It uses Blazegraph (and Wikibase for OSM tags.keys). TASK DETAIL https://phabricator.wikimedia.org/T204045 EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] T297096: add prefix `s:` or replace it with `wds:`

2021-12-06 Thread VladimirAlexiev
VladimirAlexiev renamed this task from "add prefix `s:`" to "add prefix `s:` or replace it with `wds:`". VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T297096 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pa

[Wikidata-bugs] [Maniphest] T297096: add prefix `s:`

2021-12-06 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added projects: Wikidata, Wikibase-Quality, TechCom-RFC, wdwb-tech, User-mobrovac, Wikibase-Quality-Constraints, User-Addshore, Platform Engineering Roadmap Decision Making. TASK DESCRIPTION https://www.wikidata.org/wiki/Q123?action

[Wikidata-bugs] [Maniphest] T297075: wrong/missing formatted URL when 2 props given in Property Example

2021-12-06 Thread VladimirAlexiev
VladimirAlexiev added a comment. Turns out that VIAF pages (from which I copied the values) do have such weird invisible Unicode chars. Printed in hex: 3337 3237 37e2 808f e280 8f But the second problem remains: only `pqn:P3133` is generated, but not `pqn:P951` s:P951

[Wikidata-bugs] [Maniphest] T297075: wrong/missing formatted URL when 2 props given in Property Example

2021-12-06 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION I wanted to contrast `NSZL (VIAF) ID` vs `NSZL name authority ID`, so I gave 2 examples at https://www.wikidata.org/wiki/Property:P951#P1855

[Wikidata-bugs] [Maniphest] T257415: lang zh-classical is invalid

2021-12-03 Thread VladimirAlexiev
VladimirAlexiev added a comment. @Mahir256 : see T30443 <https://phabricator.wikimedia.org/T30443> for a validation of the WD dump with rdf4j, and it still appears. TASK DETAIL https://phabricator.wikimedia.org/T257415 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings

[Wikidata-bugs] [Maniphest] T30443: Rename zh-classical -> lzh (invalid lang tag format)

2021-12-03 Thread VladimirAlexiev
VladimirAlexiev added a comment. Bart Hanssens tried to validate the WD dump with rdf4j: https://github.com/barthanssens/rdf4j-bigfile-validator/blob/main/log.txt `'孟慶雲' was not recognised as a language literal, and could not be verified, with language zh-classical` TASK DETAIL https

[Wikidata-bugs] [Maniphest] T295866: improve identifier search on Wikidata

2021-11-17 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION I search for "NNQS" on WD <https://www.wikidata.org/w/index.php?title=Special:Search=nnqs=1=1> expecting to find OTHER OTC (Q

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-20 Thread VladimirAlexiev
VladimirAlexiev added a comment. @ivan > see updated report immediately after fixing several items How would this work, on demand? Click a button and the page is regenerated? TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES ht

[Wikidata-bugs] [Maniphest] T201150: Regularly run constraint checks for all items

2021-09-16 Thread VladimirAlexiev
VladimirAlexiev added a subscriber: Lucas. VladimirAlexiev added a comment. @Lucas, congratulations on your command line wizardry! I know "jq" but not nearly to that extent, and I how did I not know about "units"? TASK DETAIL https://phabricator.wikimedia.org/T20115

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-16 Thread VladimirAlexiev
VladimirAlexiev added a comment. @Tacsipacsi Labels are missing at https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P2088. Maybe because it has a much bigger number of violations? TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86

[Wikidata-bugs] [Maniphest] T290635: Evaluate whether WMDE can take over our essential community run constraints bot

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev added a comment. ok! posted T290961 <https://phabricator.wikimedia.org/T290961> as a replacement TASK DETAIL https://phabricator.wikimedia.org/T290635 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Tacs

[Wikidata-bugs] [Maniphest] T214362: RFC: Store WikibaseQualityConstraint check data in persistent storage

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev added a subtask: T290961: rewrite KrBot to publish Constraint Violation pages. TASK DETAIL https://phabricator.wikimedia.org/T214362 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Manuel, Naike, Ottomata

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev added a parent task: T214362: RFC: Store WikibaseQualityConstraint check data in persistent storage. TASK DETAIL https://phabricator.wikimedia.org/T290961 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper

[Wikidata-bugs] [Maniphest] T290961: rewrite KrBot to publish Constraint Violation pages

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION WMDE declined to take over KrBot operations (T290635 <https://phabricator.wikimedia.org/T290635>, T189747 <https://phabricator.wiki

[Wikidata-bugs] [Maniphest] T201150: Regularly run constraint checks for all items

2021-09-14 Thread VladimirAlexiev
VladimirAlexiev added a comment. Here's the goal: a SPARQL query should return **all** violations of a certain kind, with a possible data lag of a few hours. So you need: - a baseline of having processed **all** items (TODO) - processing of changed items (DONE) - periodic

[Wikidata-bugs] [Maniphest] T290641: tweak SPARQL queries that expose constraint violations

2021-09-13 Thread VladimirAlexiev
VladimirAlexiev added a comment. https://www.wikidata.org/wiki/Module_talk:Constraints/SPARQL#tweak_queries_to_return_offending_value_not_offending_statement TASK DETAIL https://phabricator.wikimedia.org/T290641 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Wikidata-bugs] [Maniphest] T290635: Evaluate whether WMDE can take over our essential community run constraints bot

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev added a comment. @Addshore I think that's a fair description. To add: - those pages are linked to the Discussion pages of each property, so are perceived as an integral part of WD, eg: - Database reports/Constraint violations/P245 <https://phabricator.wikimedia.

[Wikidata-bugs] [Maniphest] T201150: Regularly run constraint checks for all items

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev added a subtask: T290641: tweak SPARQL queries that expose constraint violations. TASK DETAIL https://phabricator.wikimedia.org/T201150 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore, VladimirAlexiev Cc: So9q

[Wikidata-bugs] [Maniphest] T290641: tweak SPARQL queries that expose constraint violations

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev added a parent task: T201150: Regularly run constraint checks for all items. TASK DETAIL https://phabricator.wikimedia.org/T290641 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev

[Wikidata-bugs] [Maniphest] T290641: tweak SPARQL queries that expose constraint violations

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION The SPARQL queries that expose constraint violations return the offending **statement**. But the statement URL is opaque: it's more useful

[Wikidata-bugs] [Maniphest] T201150: Regularly run constraint checks for all items

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev reopened this task as "Open". VladimirAlexiev added a comment. > @Addshore Resolved T204031 <https://phabricator.wikimedia.org/T204031> on 11 Aug: "Deploy **regular running** of wikidata constraint checks using the job queue: These no

[Wikidata-bugs] [Maniphest] T192565: Find constraint violations

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev reopened subtask T201150: Regularly run constraint checks for all items as Open. TASK DETAIL https://phabricator.wikimedia.org/T192565 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: 99of9, Mike_Peel, abian

[Wikidata-bugs] [Maniphest] T290635: Evaluate whether WMF operations can take over our essential community run constraints bot

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev added a subscriber: Ivan_A_Krestinin. VladimirAlexiev added a comment. (Yes, we mean WMDE.) This is basically a reopen of T189747 <https://phabricator.wikimedia.org/T189747> which was declined because the source is not available. @Ivan_A_Krestinin Can you comment

[Wikidata-bugs] [Maniphest] T201150: Regularly run constraint checks for all items

2021-09-09 Thread VladimirAlexiev
VladimirAlexiev added a comment. Can I make two related requests? Not sure how to post them as separate tasks related to this task, can someone from WMD do that? 1. Change the query to return the offending value rather than the offending statement; which is more useful to eg generate

[Wikidata-bugs] [Maniphest] T211178: WDQ CONSTRUCT times out

2021-09-03 Thread VladimirAlexiev
VladimirAlexiev added a comment. @Gehel sorry, I don't see any investigation by WMD. Yes, I care because that's a very valid use case of extracting and reshaping WD data. Why does the Select succeed but Construct on the same resultset fail? Construct should be a very cheap operation

[Wikidata-bugs] [Maniphest] T211178: WDQ CONSTRUCT times out

2021-09-03 Thread VladimirAlexiev
VladimirAlexiev reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T211178 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Gehel, Esc3300, Liuxinyu970226, Acka47, Aklapper, VladimirAlexiev,

[Wikidata-bugs] [Maniphest] T253718: WDQ should reject invalid datetime literals

2021-08-31 Thread VladimirAlexiev
VladimirAlexiev added a subscriber: Denny. VladimirAlexiev added a comment. https://news.ycombinator.com/item?id=28283350 is a discussion between @Denny and someone else where he says "There is no difference between 7-7-2000 and 07-07-2000 in xsd". I disagree because:

[Wikidata-bugs] [Maniphest] T274519: timeout on geospatial query; resolved by OPTIONAL?

2021-02-11 Thread VladimirAlexiev
VladimirAlexiev added a comment. The following equivalent query works fine: SELECT ?place ?placeLabel ?page ?location ?dist WHERE { wd:Q84 wdt:P625 ?loc . SERVICE wikibase:around { ?place wdt:P625 ?location . bd:serviceParam wikibase:center ?loc

[Wikidata-bugs] [Maniphest] T274519: timeout on geospatial query; resolved by OPTIONAL?

2021-02-11 Thread VladimirAlexiev
VladimirAlexiev created this task. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION This query times out because of the clause marked `###` SELECT ?place ?placeLabel ?page ?location ?dist WHERE { wd:Q84 wdt:P625 ?loc . SERVICE wikibase:around

[Wikidata-bugs] [Maniphest] T271403: Home/Registry Port vs City/Country

2021-01-14 Thread VladimirAlexiev
VladimirAlexiev closed this task as "Invalid". VladimirAlexiev added a comment. Final location of discussion: https://www.wikidata.org/wiki/Wikidata_talk:WikiProject_Ships#Home/Registry_Port_vs_City/Country TASK DETAIL https://phabricator.wikimedia.org/T271403 EMAIL PREFERENC

[Wikidata-bugs] [Maniphest] T271403: Home/Registry Port vs City/Country

2021-01-07 Thread VladimirAlexiev
VladimirAlexiev added a comment. Reposted at https://www.wikidata.org/wiki/Wikidata:WikiProject_Ships/Maintenance#Home%2FRegistry_Port_vs_City%2FCountry TASK DETAIL https://phabricator.wikimedia.org/T271403 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2020-12-23 Thread VladimirAlexiev
VladimirAlexiev added a comment. Here are some queries to add the counts: directly to the Item node, and using some namespace `ontoRecon:`. I show the above counts, plus 3 more. They would need a lot of memory (group over 90M items) and a lot of time (especially `statements

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2020-12-23 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T270764 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2020-12-23 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T270764 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: Aklapper, VladimirAlexiev, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic

[Wikidata-bugs] [Maniphest] T270764: Wikidata Truthy dump is missing important metadata triples

2020-12-23 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION The "Wikidata Truthy" dump is missing the statements after the blank line (has only those above the blank line): da

[Wikidata-bugs] [Maniphest] T244341: Stop using blank nodes for encoding SomeValue and OWL constraints in WDQS

2020-11-25 Thread VladimirAlexiev
VladimirAlexiev added a comment. @ericP Wikidata doesn't use OWL axioms. It uses blanks only for the special values "unknown" and "no value" TASK DETAIL https://phabricator.wikimedia.org/T244341 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pa

[Wikidata-bugs] [Maniphest] T267383: duplicated prop suggestions when editing WD

2020-11-05 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION While editing https://www.wikidata.org/wiki/Q101218804 (a company register), I wanted to add some more props, and I got the following suggestions

[Wikidata-bugs] [Maniphest] T266212: improve Wikidata autocomplete service

2020-10-22 Thread VladimirAlexiev
VladimirAlexiev renamed this task from "improve Wikidata " to "improve Wikidata autocomplete service". VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T266212 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pa

[Wikidata-bugs] [Maniphest] T266212: improve Wikidata

2020-10-22 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION (Reported against Wikidata Reconcile https://github.com/wetneb/openrefine-wikibase

[Wikidata-bugs] [Maniphest] T266211: SPARQL: bad "instance of" statements pointing to EntityData

2020-10-22 Thread VladimirAlexiev
VladimirAlexiev added a comment. Out of 100 results of this query, about a third are such broken "classes" (dump URLs) select distinct ?c { [] wdt:P31|wdt:P279 ?c } limit 100 TASK DETAIL https://phabricator.wikimedia.org/T266211 EMAIL PREFERENC

[Wikidata-bugs] [Maniphest] T266211: SPARQL: bad "instance of" statements pointing to EntityData

2020-10-22 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added projects: Wikidata, Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION I was trying to find all classes, and hit strange things like this: ask { wd:Q84462620 wdt:P31 <ht

[Wikidata-bugs] [Maniphest] T30443: Rename zh-classical -> lzh

2020-10-21 Thread VladimirAlexiev
VladimirAlexiev raised the priority of this task from "Lowest" to "High". VladimirAlexiev added projects: Wikidata, Wikidata-Query-Service. TASK DETAIL https://phabricator.wikimedia.org/T30443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pa

[Wikidata-bugs] [Maniphest] T30443: Rename zh-classical -> lzh (invalid lang tag format)

2020-10-21 Thread VladimirAlexiev
VladimirAlexiev renamed this task from "Rename zh-classical -> lzh" to "Rename zh-classical -> lzh (invalid lang tag format)". TASK DETAIL https://phabricator.wikimedia.org/T30443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreference

[Wikidata-bugs] [Maniphest] T30443: Rename zh-classical -> lzh (invalid lang tag format)

2020-10-21 Thread VladimirAlexiev
VladimirAlexiev updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T30443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: VladimirAlexiev Cc: VladimirAlexiev, Smalyshev, toorich, Dringsim, TongcyDai, Ericliu1912, 94rain

[Wikidata-bugs] [Maniphest] [Created] T257415: lang zh-classical is invalid

2020-07-08 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added projects: Wikidata, Language-Team (Language-2020-Focus-Sprint). Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Various WD items (eg Niger) have labels in language `zh-classical` (as well as many other `zh

[Wikidata-bugs] [Maniphest] [Commented On] T253718: WDQ should reject invalid datetime literals

2020-05-28 Thread VladimirAlexiev
VladimirAlexiev added a comment. Use `FILTER(?dateOfDeath >= "2020-01-01"^^xsd:date)` which is as convenient, but is also a valid literal (note the datatype). The trouble with accepting invalid input is that further computations then become invalid. Eg how do you explain

[Wikidata-bugs] [Maniphest] [Created] T253718: WDQ should reject invalid datetime literals

2020-05-27 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples

[Wikidata-bugs] [Maniphest] [Commented On] T250386: Too many errors for QuickStatements particularly when running it in background

2020-05-27 Thread VladimirAlexiev
VladimirAlexiev added a comment. The reason is overloading of the WD backend, therefore throttling of update rates of any particular user or tool. I had similar issues with adding 1.5M "Worldcat Identity" identifiers, together with "source: ". QS has to edit t

[Wikidata-bugs] [Maniphest] [Commented On] T229655: bad interaction of lang() with wikibase:label

2020-03-09 Thread VladimirAlexiev
VladimirAlexiev added a comment. As of today, a slightly modified query https://w.wiki/K36 works ok (I added "country is Bulgaria") TASK DETAIL https://phabricator.wikimedia.org/T229655 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To:

[Wikidata-bugs] [Maniphest] [Commented On] T244341: Wikibase RDF dump: stop using blank nodes for encoding SomeValue and OWL constraints

2020-03-02 Thread VladimirAlexiev
VladimirAlexiev added a comment. I've done a lot of work with GLAM data that often includes "unknown" for creator. Getty ULAN has a whole slew of "unknowns" http://vocab.getty.edu/doc/#ULAN_Hierarchy_and_Classes (note: the counts are several years old, I imagine

[Wikidata-bugs] [Maniphest] [Commented On] T202530: [Epic] Feedback processes and tools for data-providers

2020-02-06 Thread VladimirAlexiev
VladimirAlexiev added a comment. See https://www.wikidata.org/wiki/Property_talk:P7844#regex_and_formatterUrl_exceptions and https://www.wikidata.org/wiki/Property_talk:P7711#Format trying to get culture.fr people into some discussion regarding the identifiers used in their 30 thesauri

[Wikidata-bugs] [Maniphest] [Commented On] T242410: wd-shex-infer highlighter doesn't insert comments on Chrome Windows

2020-01-11 Thread VladimirAlexiev
VladimirAlexiev added a comment. I think this is your message: `ShEx element already has 168 child elements, adding Wikidata annotations might break them` and it points to the reason? I guess you give up generating the comments in this case: but why do you think 168 is too many

[Wikidata-bugs] [Maniphest] [Updated] T224962: Syntax highlighting for ShEx editor

2020-01-10 Thread VladimirAlexiev
VladimirAlexiev added a subscriber: LucasWerkmeister. VladimirAlexiev added a comment. @Jelabra I see the tooltips at http://wikishape.weso.es/ Schema>Info: F31507172: wikishape-E10-YASHE-editor.png <https://phabricator.wikimedia.org/F31507172> The positioning, size and

[Wikidata-bugs] [Maniphest] [Commented On] T238831: Syntax highlighting for viewing ShExC code (EntitySchema pages)

2020-01-09 Thread VladimirAlexiev
VladimirAlexiev added a comment. Color is nice but imho decoding the P and Q numbers is critical. See this comment for details https://phabricator.wikimedia.org/T224962#5789394 TASK DETAIL https://phabricator.wikimedia.org/T238831 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Commented On] T224962: Syntax highlighting for ShEx editor

2020-01-09 Thread VladimirAlexiev
VladimirAlexiev added a comment. Color is nice but imho decoding the P and Q numbers is critical. https://www.wikidata.org/wiki/User:Zvpunry/EntitySchemaHighlighter.js does that: it linkifies Pnnn and Qnnn and shows a tooltip on hover. Some aid in adding comments semi-automatically

[Wikidata-bugs] [Maniphest] [Created] T237623: wikibase:geoPrecision is not consistently set?

2019-11-07 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION `wikibase:geoPrecision` is used in `pqv:P625` (a `wikibase:GlobecoordinateValue`). It's defined as <https://en.wikibooks.org/wiki/SPA

[Wikidata-bugs] [Maniphest] [Created] T229655: bad interaction of lang() with wikibase:label

2019-08-02 Thread VladimirAlexiev
VladimirAlexiev created this task. VladimirAlexiev added a project: Wikidata-Query-Service. Restricted Application added a subscriber: Aklapper. Restricted Application added a project: Wikidata. TASK DESCRIPTION Consider this query: select ?co ?coLabel (lang(?coLabel) as ?labelLang

[Wikidata-bugs] [Maniphest] [Commented On] T211177: WDQ UI should support download of RDF formats

2019-05-30 Thread VladimirAlexiev
VladimirAlexiev added a comment. @Peb will this work in a streaming fashion? I know WD has a 60s timeout but still it can produce some 10-100 megabytes in that time. Will the JS approach be reliable enough ? It's also important to be able to get Turtle, using all available prefixes, which

[Wikidata-bugs] [Maniphest] [Commented On] T211178: WDQ CONSTRUCT times out

2019-05-30 Thread VladimirAlexiev
VladimirAlexiev added a comment. Use construct when you want to get an rdf graph out of the repo, especially when you want the data to be shaped differently or to use ontology terms different from the original TASK DETAIL https://phabricator.wikimedia.org/T211178 EMAIL PREFERENCES

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-04-28 Thread VladimirAlexiev
VladimirAlexiev added a comment. @GerardM The IANA language tag list has a subfield Script exactly because languages can be written in different scripts. Neither you nor I could write a single word in Phoenician script. Yet we could write a Phoenician word in English and be able to read

[Wikidata-bugs] [Maniphest] [Commented On] T216006: nuke_limit often reached on esams varnish frontends

2019-04-09 Thread VladimirAlexiev
VladimirAlexiev added a comment. It's fixed! TASK DETAIL https://phabricator.wikimedia.org/T216006 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ema, VladimirAlexiev Cc: gerritbot, BBlack, Vgutierrez, Stashbot, akosiaris, Addshore, ema

[Wikidata-bugs] [Maniphest] [Commented On] T210738: schema:about URLs in Wikidata are encoded (mangled)

2019-04-04 Thread VladimirAlexiev
VladimirAlexiev added a comment. https://github.com/eclipse/rdf4j/issues/1291 got this answer: http://w3.org/TR/rdf11-concepts/#section-IRIs it says the following: > IRI equality: Two IRIs are equal if and only if they are equivalent under Simple String Comparison accord

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-03-29 Thread VladimirAlexiev
VladimirAlexiev added a comment. "Unless GerardM thinks it is not useful" ;-) TASK DETAIL https://phabricator.wikimedia.org/T155425 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Mbch331, VladimirAlexiev Cc: VladimirAlexiev, gerritbo

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-03-28 Thread VladimirAlexiev
VladimirAlexiev added a comment. > It does not make an argument go away. Your argument has not been substantiated by any info. You just repeat your opinion over and over again, without any elaboration. You did the same in the previous argument about "award" vs "sc

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-03-25 Thread VladimirAlexiev
VladimirAlexiev added a comment. > There is no Phoenician in Latin script. That is your opinion only. I cannot write Phoenician script just like you cannot, but thanks to @PKM I can write and pronounce the name of that city in a script that I know: `Gades`. But @GerardM you alw

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-03-20 Thread VladimirAlexiev
VladimirAlexiev added a comment. That is false. Gades is a Phoenician word, even if used in an English or Spanish text. The corresponding English word is Cadiz and the Spanish word is Cádiz. Look for example at http://vocab.getty.edu/page/aat/300198841 (rhyta). "lai t'an chi

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-03-19 Thread VladimirAlexiev
VladimirAlexiev added a comment. `"Gades"` is in `phn-Latn`, that's for sure. @GerardM I don't quite understand your arguments, but you seem to say that transliteration is just useless? What should be the lang tag of `"Gades"` in your opinion?

[Wikidata-bugs] [Maniphest] [Created] T216006: Wikidata sometimes cuts off entity RDF

2019-02-13 Thread VladimirAlexiev
VladimirAlexiev created this task.VladimirAlexiev added a project: Wikidata.Restricted Application added a subscriber: Aklapper. TASK DESCRIPTIONI'm getting some entity RDF from WD and manipulating it in some way. WD sometimes randomly cuts off the RDF. Eg this command sometimes shows different

[Wikidata-bugs] [Maniphest] [Commented On] T210738: schema:about URLs in Wikidata are encoded (mangled)

2019-02-11 Thread VladimirAlexiev
VladimirAlexiev added a comment. I've posted https://github.com/eclipse/rdf4j/issues/1291, let's see what the rdf4j developers say. https://www.w3.org/TR/rdf-concepts/#section-Graph-URIref says "Because of the risk of confusion between RDF URI references that would be equivalent if deref

[Wikidata-bugs] [Maniphest] [Commented On] T155425: Add monolingual language code phn (Phoenician)

2019-01-08 Thread VladimirAlexiev
VladimirAlexiev added a comment. Agree with @PKM: the name is "Gades"@phn-Latn, "Cadiz"@es and I guess "Cadiz"@en. @Lydia_Pintscher will you name the language "Phoenician (Transliterated)"? The Getty does that, search fo

[Wikidata-bugs] [Maniphest] [Commented On] T210738: schema:about URLs in Wikidata are encoded (mangled)

2018-12-13 Thread VladimirAlexiev
VladimirAlexiev added a comment. Hmmm, rdf4j returns the same false. Also if i use = instead of sameTermTASK DETAILhttps://phabricator.wikimedia.org/T210738EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: VladimirAlexievCc: Smalyshev, Aklapper, VladimirAlexiev

[Wikidata-bugs] [Maniphest] [Commented On] T210738: schema:about URLs in Wikidata are encoded (mangled)

2018-12-13 Thread VladimirAlexiev
VladimirAlexiev added a comment. This returns False, which I believe is a bug in Blazegraph select * { bind ( sameTerm(, ) as ?x) }TASK DETAILhttps://phabricator.wikimedia.org/T210738EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Commented On] T210738: schema:about URLs in Wikidata are encoded (mangled)

2018-12-13 Thread VladimirAlexiev
VladimirAlexiev added a comment. encode-for-uri Can you point to the encoding rules so we do the same before querying. Sparql's encode-for-uri encodes everything except upper- and lower-case letters A-Z, the digits 0-9, HYPHEN-MINUS ("-"), LOW LINE ("_"), FULL STOP ".&q

[Wikidata-bugs] [Maniphest] [Commented On] T211107: wikibase:label doesn't work through a federated request

2018-12-05 Thread VladimirAlexiev
VladimirAlexiev added a comment. Ok, this works and returns 18650 rows as expected: prefix wd: prefix wdt: prefix bd: prefix wikibase: select * { service { {select ?person ?personLabel ?personDescription ?occupationLabel ?countryLabel ?fieldLabel ?RID ?ORCID { {select

[Wikidata-bugs] [Maniphest] [Commented On] T211107: wikibase:label doesn't work through a federated request

2018-12-05 Thread VladimirAlexiev
VladimirAlexiev added a comment. So can you perhaps rewrite the query in a way that it works?TASK DETAILhttps://phabricator.wikimedia.org/T211107EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: VladimirAlexievCc: Smalyshev, Aklapper, VladimirAlexiev, Nandana

[Wikidata-bugs] [Maniphest] [Edited] T211178: WDQ CONSTRUCT times out

2018-12-05 Thread VladimirAlexiev
VladimirAlexiev updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...``` I want to insert the org to another repo. I can't use INSERT federated query because of T211107. So I want to use CONSTRUCT to get the data as Turtle: ``` base prefix trr: prefix xsd: prefix

[Wikidata-bugs] [Maniphest] [Edited] T211177: WDQ UI should support download of RDF formats

2018-12-05 Thread VladimirAlexiev
VladimirAlexiev updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...The WDQ endpoint https://query.wikidata.org/sparql returns RDF formats, I've tried with text/turtle.TASK DETAILhttps://phabricator.wikimedia.org/T211177EMAIL PREFERENCEShttps://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Created] T211178: WDQ CONSTRUCT times out

2018-12-05 Thread VladimirAlexiev
VladimirAlexiev created this task.VladimirAlexiev added a project: Wikidata-Query-Service.Restricted Application added a subscriber: Aklapper.Restricted Application added a project: Wikidata. TASK DESCRIPTIONThe query below returns orgs related to prestigious science award winners

[Wikidata-bugs] [Maniphest] [Updated] T211177: WDQ UI should support download of RDF formats

2018-12-04 Thread VladimirAlexiev
VladimirAlexiev added a project: Wikidata Query UI.Restricted Application added a project: Wikidata. TASK DETAILhttps://phabricator.wikimedia.org/T211177EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: VladimirAlexievCc: Aklapper, VladimirAlexiev, Nandana

[Wikidata-bugs] [Maniphest] [Commented On] T211107: wikibase:label doesn't work through a federated request

2018-12-04 Thread VladimirAlexiev
VladimirAlexiev added a comment. I want to use federation from an external repo. You can test the bug either using an external repo, or self-federation.TASK DETAILhttps://phabricator.wikimedia.org/T211107EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Created] T211107: wikibase:label doesn't work through a federated request

2018-12-04 Thread VladimirAlexiev
VladimirAlexiev created this task.VladimirAlexiev added a project: Wikidata-Query-Service.Restricted Application added a subscriber: Aklapper.Restricted Application added a project: Wikidata. TASK DESCRIPTIONI'm trying to get some WD data (science award winners) from another repo in order

[Wikidata-bugs] [Maniphest] [Created] T210738: schema:about URLs in Wikidata are encoded (mangled)

2018-11-29 Thread VladimirAlexiev
VladimirAlexiev created this task.Restricted Application added a subscriber: Aklapper. TASK DESCRIPTIONUsing an IRI to search a WD entity by WP IRI finds nothing: schema:about ?x One has to search by the encoded URL: select * { schema:about ?x } Other "special" chars i

[Wikidata-bugs] [Maniphest] [Created] T207926: Label freshness (cache delay)

2018-10-25 Thread VladimirAlexiev
VladimirAlexiev created this task.VladimirAlexiev added a project: Wikidata.Restricted Application added a subscriber: Aklapper. TASK DESCRIPTIONToday we saw in the WD UI a label "Actor Porno" for teacher (Q37226). This comes from this revision, which was reverted just 2h later:

  1   2   >