Krinkle added a comment.
**Task description** > The constrain checks are accessible via 3 methods: > > - RDF action > - Special page > - API > > […] The RDF page-action exists for use by the WDQS and will not run the constraint check itself, it only exposes an RDF description of the currently stored constraints that apply to this entity. If I understand correctly then, the RFC action is not a way to access the result of, nor to trigger, a WDQS request. Is that right? **Task description** > The special page currently always re-runs the constraint checks via WDQS, it does not get or set any cache. Why not? **Task description** > The Query service performs checks on Wikidata entities on-demand from users. Results of these constraint checks are cached by MediaWiki (WBQC) in Memcached. […] The API only makes an internal request to WDQS if the constraint checks data is out of date, absent, or expired […]. > […] We could make the Job […] that informs the Query service to pull the API to ingest the new data. > > - […] we don't currently have the result of all constraints checks for all Wikidata items stored anywhere. From T201147 <https://phabricator.wikimedia.org/T201147>: > At the moment constraints violations are only imported to WDQS if they are cached the moment WDQS pulls the rdfs for constraint violations for an item. There is a race condition between the WDQS poller and the constraints check execution and this is why only a fraction of constraint violations are imported. The above sounds contradictory to me, but I assume that must be because I'm misunderstanding something. If I understand correctly, the authoritive source for describing items is Wikidata.org. The RDF Action on Wikidata.org exposes information relevant to constraint checks. The way we actually execute those contraint checks is by submitting a query to the Query service (WDQS), which has a nice relational model all the relationships and metadata etc. The thing that executes these checks is the MediaWiki WikibaseQualityConstraints extension (WBQC), and it caches the result for a day in Memcached. So far so good, I think. But then I also read that Query service (WDQS) ingests the result of these checks (which it executed itself?), and that we want the Job to notify WDQS when it is best to poll for that so that it is likely a Memcached cache-hit. I don't know why the result of this is stored in WDQS. But, that sounds to me like you already have a place to store them all? TASK DETAIL https://phabricator.wikimedia.org/T214362 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Krinkle Cc: eprodromou, CCicalese_WMF, kchapman, Krinkle, mobrovac, abian, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Marostegui, Joe, daniel, Agabi10, Aklapper, Addshore, darthmon_wmde, WDoranWMF, holger.knust, EvanProdromou, DannyS712, Nandana, kostajh, Lahi, Gq86, GoranSMilovanovic, RazeSoldier, QZanden, merbst, LawExplorer, _jensen, rosalieper, D3r1ck01, Scott_WUaS, Pchelolo, Izno, SBisson, Perhelion, Wikidata-bugs, Base, aude, GWicke, Bawolff, jayvdb, fbstj, santhosh, Jdforrester-WMF, Ladsgroup, Mbch331, Rxy, Jay8g, Ltrlg, bd808, Legoktm
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
