Lucas_Werkmeister_WMDE added a comment.

  >   select ?p (count(*)as ?cnt) {
  >     ?s ?p ?o .
  >     filter ((!isLiteral(?o))&&(!isUri(?o)))
  >   }
  >   group by ?p
  
  This can be simplified using `isBlank`, I believe:
  
    SELECT ?p (COUNT(*) AS ?cnt) WHERE {
      ?s ?p ?o.
      FILTER(isBlank(?o))
    }
    GROUP BY ?p

TASK DETAIL
  https://phabricator.wikimedia.org/T239414

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Igorkim78, dcausse, Aklapper, Hook696, Daryl-TTMG, 
RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, Meekrab2012, 
joker88john, DannyS712, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, WSH1906, Lewizho99, 
Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Smalyshev, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to