dcausse created this task.
dcausse added projects: Data-Platform-SRE, Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Experimental endpoints `query-main-experimental` and 
`query-scholarly-experimental` must allow cross federation.
  A simple way to achieve this might be to allow these 3 experimental endpoints 
to be part of the `allowlist` stored in puppet, it might enable unnecessary 
federation between production servers and the experimental ones (not ideal but 
probably acceptable?).
  
  Ultimately the following queries must be working after allowing such 
federation:
  From https://query-scholarly-experimental.wikidata.org the query:
  
    # all papers by ISNI 0000 0001 2124 7940 (Carlo Rovelli)
    SELECT ?article ?articleLabel {
      ?author wdt:P213 "0000 0001 2124 7940"
      SERVICE <https://query-main-experimental.wikidata.org/sparql> {
        # Querying the scholarly article split
        ?article wdt:P50 ?author ;
                 wdt:P31 wd:Q13442814 .
        BIND(?articleLabel as ?articleLabel) .
        SERVICE wikibase:label { bd:serviceParam wikibase:language 
"[AUTO_LANGUAGE],en". }
      }
    }
  
  And from https://query-main-experimental.wikidata.org/ the query:
  
    # all papers by ISNI 0000 0001 2124 7940 (Carlo Rovelli)
    SELECT ?article ?articleLabel {
      SERVICE <https://query-scholarly-experimental.wikidata.org/sparql> {
        # Querying the wikidata main graph split
        ?author wdt:P213 "0000 0001 2124 7940"
      }
      hint:Prior hint:runFirst true . # Tell blazegraph to first collect ?author
      ?article wdt:P50 ?author ;
               wdt:P31 wd:Q13442814 .
      SERVICE wikibase:label { bd:serviceParam wikibase:language 
"[AUTO_LANGUAGE],en". }
    }
  
  Should work.
  
  AC:
  
  - federation works between query-main-experimental and 
query-scholarly-experimental
  - the 2 test queries work

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

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

To: dcausse
Cc: RKemper, dcausse, Aklapper, AWesterinen, BTullis, Namenlos314, Gq86, 
Lucas_Werkmeister_WMDE, EBjune, KimKelting, merbst, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to