Smalyshev added a comment.

`<http://test.wikidata.org/entity/Q1229-[UUID]>` should not exist, I think you 
mean `<http://test.wikidata.org/entity/statement/Q1229-[UUID]>`.

Depends on the query. I.e. for this one:

  %entity:id% ?p ?o .
    FILTER NOT EXISTS {
      VALUES ( ?s ?p ?o ) {
        %valueStatements%
      }
    }

We probably need ones starting with the entity 
(`http://test.wikidata.org/entity/Q123`). For this one:

  %entity:id% ?statementPred ?s .
   FILTER( STRSTARTS(STR(?s), "%uris.statement%") ) .
   ?s ?p ?o .
   FILTER NOT EXISTS {
     VALUES ( ?s ?p ?o ) {
       %valueStatements%
     }
   }

should be ones that start with `http://test.wikidata.org/entity/statement/`.

This one:

  ?s %schema:about% %entity:id% .
   ?s ?p ?o .

Is tricky as it describes sitelinks and sitelinks are harder to identify. I'd 
say anything that does not start with entity, statement, reference, value or 
property prefix (from WikibaseURIs), or maybe just with the site URL (but this 
may be dangerous as it is in theory possible something lives in the same domain 
and has sitelink).


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

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

To: Jdouglas, 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