title: How do I query Wikidata for items modified in the last day?
body: <p>I am trying to retrieve all wikidata items within a latitude/longitude bounding box <strong>that have been edited in the last 24 hours</strong></p>
  <p>I get through the bounding box part ok, but I can't figure the &quot;modified since&quot; bit.</p>
  <p><a href="https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance#Items_on_human_genes_that_haven%27t_been_updated_for_more_than_a_month" rel="nofollow noreferrer">This</a> is the closest example I could find, from which I tried to make this work:</p>
  <pre><code>SELECT ?place WHERE {
    SERVICE wikibase:box {
      ?place wdt:P625 ?location .
      # looks like cornerwest must be south of cornereast
      # otherwise you go around the globe
      # this is lng lat
      bd:serviceParam wikibase:cornerWest &quot;Point(SW_LNG SW_LAT)&quot;^^geo:wktLiteral .
      bd:serviceParam wikibase:cornerEast &quot;Point(NE_LNG NE_LAT)&quot;^^geo:wktLiteral .
    }
    ?place wdt:P31  ?placeCategory .
    ?place wdt:P625 ?placeCoords   .
  
    optional{ ?place wdt:P18 ?placePicture . }
  
  
    BIND (now() - ?modified as ?date_range)
    FILTER (?date_range &gt; 2)
  }
  </code></pre>
  <p>without results.</p>