Smalyshev created this task.
Smalyshev added a subscriber: Smalyshev.
Smalyshev added projects: Wikidata-Query-Service, 
Discovery-Wikidata-Query-Service-Sprint.
Herald added a subscriber: Aklapper.
Herald added projects: Wikidata, Discovery.

TASK DESCRIPTION
  From recent query on db01:
  
  ```
  # Clear out of date site links
  DELETE {
    ?s ?p ?o .
  }
  WHERE {
    ?s <http://schema.org/about> <http://www.wikidata.org/entity/Q13536649> .
    ?s ?p ?o .
    # This construct is constantly reused throughout the updates.  Its job is 
to not delete statements
    # that are still in use.
    FILTER NOT EXISTS {
      VALUES ( ?s ?p ?o ) {
        ( 
<http://www.wikidata.org/reference/95541d0f0f90a1cf32daf28a8778388cea9185a1> 
<http://www.wikidata.org/prop/reference/value/P813> 
<http://www.wikidata.org/value/526c88f3ddf7fb39b97e4f3458b013fb> )
  ( <http://www.wikidata.org/value/526c88f3ddf7fb39b97e4f3458b013fb> 
<http://wikiba.se/ontology#timeValue> 
"2015-07-11T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> )
  ( 
<http://www.wikidata.org/reference/95541d0f0f90a1cf32daf28a8778388cea9185a1> 
<http://www.wikidata.org/prop/reference/P813> 
"2015-07-11T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> )
  ( 
<http://www.wikidata.org/reference/95541d0f0f90a1cf32daf28a8778388cea9185a1> 
<http://www.wikidata.org/prop/reference/P248> 
<http://www.wikidata.org/entity/Q82486> )
  ( <http://www.wikidata.org/value/526c88f3ddf7fb39b97e4f3458b013fb> 
<http://wikiba.se/ontology#timeTimezone> 
"0"^^<http://www.w3.org/2001/XMLSchema#integer> )
  ( <http://www.wikidata.org/value/526c88f3ddf7fb39b97e4f3458b013fb> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://wikiba.se/ontology#TimeValue> )
  ( <http://www.wikidata.org/value/526c88f3ddf7fb39b97e4f3458b013fb> 
<http://wikiba.se/ontology#timeCalendarModel> 
<http://www.wikidata.org/entity/Q1985727> )
  ( <http://www.wikidata.org/value/526c88f3ddf7fb39b97e4f3458b013fb> 
<http://wikiba.se/ontology#timePrecision> 
"11"^^<http://www.w3.org/2001/XMLSchema#integer> )
      }
    }
  };
  ```
  
  We should not be trying to match values or refs to sitelinks.

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

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

To: Smalyshev
Cc: Aklapper, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, aude, Manybubbles, 
JanZerebecki, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to