Smalyshev created this task.
Smalyshev claimed this task.
Smalyshev added subscribers: Smalyshev, Manybubbles, Jdouglas.
Smalyshev added projects: Search-Team, Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  When updater runs the update, it generates SPARQL like this:
  
  ```
  # Clear out of date statements about statements
  DELETE {
    ?s ?p ?o .
  }
  WHERE {
    <http://test.wikidata.org/entity/Q1229> ?statementPred ?s .
    FILTER( STRSTARTS(STR(?s), "http://test.wikidata.org/entity/statement/";) ) .
    ?s ?p ?o .
    FILTER NOT EXISTS {
      VALUES ( ?s ?p ?o ) {
  .... statements ...
      }
    }
  }
  ```
  
  However, in the list of statements, all statements from the dump are 
included, even though only statements starting with 
`<http://test.wikidata.org/entity/Q1229>` are relevant. We should split the 
statements and only send the relevant ones in the query, this would both speed 
up the queries and reduce the load on the server.

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

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

To: Smalyshev
Cc: Jdouglas, Manybubbles, Aklapper, Smalyshev, jkroll, Wikidata-bugs, aude, 
daniel, JanZerebecki



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to