[Wikidata-bugs] [Maniphest] [Created] T155973: Complex query result configuration options

2017-01-22 Thread Yair_rand
Yair_rand created this task.Yair_rand added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONAFAICT, the only thing a user can set regarding how a query result will be displayed is which default view is set, using the #defaultView:[NAME] comment.

There are numerous other potential settings which could be useful. For example, in the graph layout one might want to organize things vertically, or turn off the behaviour where when an object is clicked on all properties are displayed. When a timeline is used, one may want to not have Jan 1 - June 1 and June 1 - Dec 1 considered as overlapping, which causes a much messier timeline.

There should be a standard format for more specific settings for query results displays.TASK DETAILhttps://phabricator.wikimedia.org/T155973EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Yair_randCc: Yair_rand, Aklapper, EBjune, mschwarzer, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T149193: Boxes act weird if the external id section is small

2017-01-22 Thread jo12bar
jo12bar added a comment.
Alright, thanks for the tip. I'll definently look into using that extension - guess I didn't do enough research 😅

(Also, sorry that this is taking so long -  I've got a lot of exams this week, so I've been studying like mad. I'll definitely have the code ready by Saturday at the latest.)TASK DETAILhttps://phabricator.wikimedia.org/T149193EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jo12barCc: jo12bar, Florian, Harjotsingh, Aklapper, TerraCodes, Lucie, SacredWKnight, JakeTheDeveloper, DatGuy, SamanthaNguyen, Abbe98, JGirault, D3r1ck01, MuhammadShuaib, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


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

2017-01-22 Thread Smalyshev
Smalyshev triaged this task as "High" priority.Smalyshev added a project: Discovery-Wikidata-Query-Service-Sprint.Smalyshev added a comment.
Looks like redirects are more recent though, need to look into it...TASK DETAILhttps://phabricator.wikimedia.org/T155954EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, WikidataFacts, Daniel_Mietchen, Aklapper, EBjune, mschwarzer, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


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

2017-01-22 Thread Smalyshev
Smalyshev added a comment.
Yes, these seem to be still April deletes. Reload will get rid of them, but still waiting for hw to be ready. In the meantime, I've updated the IDs affected.TASK DETAILhttps://phabricator.wikimedia.org/T155954EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, WikidataFacts, Daniel_Mietchen, Aklapper, EBjune, mschwarzer, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[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;
wdt:P31 wd:Q13442814.
  BIND(year(?pubdate) AS ?pubyear).
  MINUS { ?item schema:description ?itemDescription. }
}
LIMIT 10

Query link

Currently, it returns these results:


wd:Q23793176
wd:Q23793177
wd:Q24247180
wd:Q28172728
wd:Q28179454
wd:Q28157264
wd:Q28157307
wd:Q28157351
wd:Q28157497
wd:Q28158074


The first two items have been deleted, the rest are redirects. As far as I know, WDQS isn’t supposed to return deleted items at all, and redirects should only appear when explicitly selected with owl:sameAs, so I assume this must be stale data.

This may be a dupe of T136393, and I suppose T153513 would resolve this issue.TASK DETAILhttps://phabricator.wikimedia.org/T155954EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WikidataFactsCc: Smalyshev, WikidataFacts, Daniel_Mietchen, Aklapper, EBjune, mschwarzer, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T145279: Interwiki links to articles in other projects from Commons categories via Wikidata

2017-01-22 Thread Ghouston
Ghouston added a comment.
Those are also fixed by making sitelinks. The only relevant Wikidata policy that I know of is Wikidata:Notability, which says "an item with only a sitelink to a category page in Wikimedia Commons is not allowed on main article items", which I believe means you can't create new Wikidata item which is linked only to Commons. That won't be an issue for most of the biological categories.

Another advantage of sitelinks is that when a Commons category is renamed, the sitelink is fixed automatically, but the P373 link is left pointing to the old name.TASK DETAILhttps://phabricator.wikimedia.org/T145279EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: GhoustonCc: Ghouston, MisterSynergy, Quiddity, Lydia_Pintscher, hoo, Josve05a, xcombelle, Dereckson, Nemo_bis, Aklapper, Pokefan95, Acer, D3r1ck01, Izno, Wikidata-bugs, Base, matthiasmullie, aude, Deskana, El_Grafo, Ricordisamoa, Fabrice_Florin, Jackmcbarn, Steinsplitter, Mbch331, Tgr___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T145279: Interwiki links to articles in other projects from Commons categories via Wikidata

2017-01-22 Thread Josve05a
Josve05a added a comment.
Also, if someone could find a way we could get rid of thse cats from this maintenance cat without reaking Wikidata's policies, that would be swell...TASK DETAILhttps://phabricator.wikimedia.org/T145279EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Josve05aCc: Ghouston, MisterSynergy, Quiddity, Lydia_Pintscher, hoo, Josve05a, xcombelle, Dereckson, Nemo_bis, Aklapper, Pokefan95, Acer, D3r1ck01, Izno, Wikidata-bugs, Base, matthiasmullie, aude, Deskana, El_Grafo, Ricordisamoa, Fabrice_Florin, Jackmcbarn, Steinsplitter, Mbch331, Tgr___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T155910: Erroneous digits in QuantityValue

2017-01-22 Thread Bugreporter
Bugreporter added a comment.
Probably this is a bug of QuickStatements, whose bug is not tracking here, but at https://bitbucket.org/magnusmanske/wikidata-todo/issues?q=quick.TASK DETAILhttps://phabricator.wikimedia.org/T155910EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: BugreporterCc: Bugreporter, Magnus, Daniel_Mietchen, Aklapper, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T149193: Boxes act weird if the external id section is small

2017-01-22 Thread Lucie
Lucie added a comment.
I am afraid it's not possible.
You could import test data to your Wikibase repository with the extension https://github.com/filbertkm/WikibaseImport 
Thanks for working on this!TASK DETAILhttps://phabricator.wikimedia.org/T149193EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jo12bar, LucieCc: jo12bar, Florian, Harjotsingh, Aklapper, TerraCodes, Lucie, SacredWKnight, JakeTheDeveloper, DatGuy, SamanthaNguyen, Abbe98, JGirault, D3r1ck01, MuhammadShuaib, Izno, Wikidata-bugs, aude, jayvdb, Ricordisamoa, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T155891: Represent Statement and Reference URIs as Skolem IRIs consistent with RFC5785

2017-01-22 Thread Christopher
Christopher added a comment.
A JSON-LD framing pipeline (like the one I have developed for Fedora Commons) is one use case.  The JSON-LD library does not understand Skolem IRIs, so these type of identifier URIs would need to be converted into bnodes first.  A Skolem IRI parsing function can be generic only if identifiers are recognizable in a standard namespace.   Of course, one could hard code your namespaces into the parser as well, but this does not facilitate the interoperability of the data which is what is important and why there are recommendations like RFC5785.

Here is a basic gist of how an entity can be framed and it demonstrates the utility of JSON-LD framing for presentation tools.
http://json-ld.org/playground/#/gist/2e4059a897a90acd22d778267f230bd4

You may notice that this only includes the item graph and that the reference exists within its associated statement node, something that is rather cumbersome to resolve using the default RDF serialization formats.

I believe that it would benefit Wikibase and Wikidata to standardize the statement and reference identifiers not only as 128-bit UUIDs (which the current reference hash ID is not) but also as Skolem IRIs according to the W3C recommendation [1], (even if the immediate utility of a breaking change may not seem worthwhile).

[1] rdf11-concepts/#section-skolemizationTASK DETAILhttps://phabricator.wikimedia.org/T155891EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: ChristopherCc: Smalyshev, Aklapper, Christopher, EBjune, mschwarzer, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs