WITH zona03 AS (
  SELECT tags, geom
  FROM postpass_polygon
  WHERE
  (
    -- Bounding box: City of Livorno.
    ST_intersects(geom, ST_MakeEnvelope(9.888339, 43.419635, 10.419938, 43.595488, 4326))
    -- Type of entries: Administrative subdivisions.
    AND tags->>'admin_level'='10'
    -- Entity: Consiglio di Zona 3 (https://www.wikidata.org/wiki/Q138388886).
    AND tags->>'wikidata'='Q138388886'
  )
)
SELECT p.tags, p.geom
FROM postpass_pointlinepolygon p, zona03
WHERE
(
  -- Bounding box: zona03 boundaries.
  ST_Intersects(zona03.geom, p.geom)
  -- Type of entries: Bicycle parkings.
  AND p.tags->>'amenity'='bicycle_parking'
)
