query: SELECT ?item ?nl ?st ?sl ?ids ?ct ?nl2 ?sample 
  WITH
  {
      SELECT ?item (COUNT(?p) as ?ct) (SAMPLE(?p) as ?sample)
      {
  	    ?item wdt:P31 wd:Q56228301 . 
          OPTIONAL { ?p wdt:P734 ?item ; wdt:P31 wd:Q5 }
      }
      GROUP BY ?item
  } as %a2
  WHERE
  {
    INCLUDE %a2
    OPTIONAL { ?item wdt:P1705 ?nl 
                     BIND( REPLACE(str(?nl), "^(Ó h