[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
gerritbot added a comment. Change 533117 **merged** by jenkins-bot: [wikidata/query/rdf@master] Fix NME on bind variable both by LabelService and some other clause https://gerrit.wikimedia.org/r/533117 TASK DETAIL https://phabricator.wikimedia.org/T159723 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Smalyshev, Aklapper, WikidataFacts, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, ET4Eva, DannyS712, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, WSH1906, Avner, Lewizho99, Maathavan, Gehel, _jensen, rosalieper, Cirdan, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, Krenair ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
gerritbot added a comment. Change 533112 **merged** by Smalyshev: [wikidata/query/blazegraph@master] Support for uncertainVars in ServiceNode https://gerrit.wikimedia.org/r/533112 TASK DETAIL https://phabricator.wikimedia.org/T159723 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Smalyshev, Aklapper, WikidataFacts, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, ET4Eva, DannyS712, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, WSH1906, Avner, Lewizho99, Maathavan, Gehel, _jensen, rosalieper, Cirdan, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, Krenair ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
gerritbot added a comment. Change 533117 had a related patch set uploaded (by Igor Kim; owner: Igor Kim): [wikidata/query/rdf@master] Fix NME on bind variable both by LabelService and some other clause https://gerrit.wikimedia.org/r/533117 TASK DETAIL https://phabricator.wikimedia.org/T159723 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Smalyshev, Aklapper, WikidataFacts, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, ET4Eva, DannyS712, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, WSH1906, Avner, Lewizho99, Maathavan, Gehel, _jensen, rosalieper, Cirdan, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, Krenair ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
gerritbot added a comment. Change 533112 had a related patch set uploaded (by Igor Kim; owner: Igor Kim): [wikidata/query/blazegraph@master] Support for uncertainVars in ServiceNode https://gerrit.wikimedia.org/r/533112 TASK DETAIL https://phabricator.wikimedia.org/T159723 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Smalyshev, Aklapper, WikidataFacts, darthmon_wmde, ET4Eva, DannyS712, Nandana, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, _jensen, rosalieper, Jonas, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331, Krenair ___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
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 ?xLabel) { (wd:Q42 "Douglas Adams"@en) } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } Link (Motivation for the second example: I have a selection of values with predefined labels, which may not match the Wikidata labels.)TASK DETAILhttps://phabricator.wikimedia.org/T159723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WikidataFactsCc: Smalyshev, Aklapper, WikidataFacts, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331, Jay8g, Krenair___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
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 list, comment out or remove line 24.)TASK DETAILhttps://phabricator.wikimedia.org/T159723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WikidataFactsCc: Smalyshev, Aklapper, WikidataFacts, EBjune, 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] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
Smalyshev added a comment. @WikidataFacts the query you provided however works. Could you provide a full query that didn't work for you? That'd make figuring out the problem easier.TASK DETAILhttps://phabricator.wikimedia.org/T159723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, Aklapper, WikidataFacts, EBjune, 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] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
Smalyshev added a comment. Direct link to the full query.TASK DETAILhttps://phabricator.wikimedia.org/T159723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, Aklapper, WikidataFacts, EBjune, 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] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
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 real query, in the end I had to use rdfs:label anyways to make the GROUP_CONCAT in the SELECT clause work.)TASK DETAILhttps://phabricator.wikimedia.org/T159723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WikidataFactsCc: Smalyshev, Aklapper, WikidataFacts, EBjune, 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] T159723: NotMaterializedException when one branch of UNION binds ?variable and other branch binds ?variableLabel and label service is used
Smalyshev added a comment. This is rather weird query - why you need a service if you already have the label bound?TASK DETAILhttps://phabricator.wikimedia.org/T159723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SmalyshevCc: Smalyshev, Aklapper, WikidataFacts, EBjune, 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