Global Similarity Graph: Combining The GKG & GSG

How might we combine the new Global Similarity Graph with the Global Knowledge Graph to identify coverage related to a given search? For example, what if we wanted to search the GKG for coverage that mentioned Surfside, Florida and then use the GSG to find coverage similar to those articles?

Doing so is as simple as:

WITH data AS (
    SELECT DocumentIdentifier url FROM `gdelt-bq.gdeltv2.gkg_partitioned` WHERE DATE(_PARTITIONTIME) = "2021-07-03" and V2Locations like '%Surfside%'
)
select * from `gdelt-bq.gdeltv2.gsg` where DATE(fromDate) = "2021-07-03" and fromUrl in (select url from data) OR toUrl in (select url from data)

This yields results like this:

Row type simScore simWords fromDate fromUrl fromTitle fromLang fromImage toDate toUrl toTitle toLang toImage
1
sim
0.32
5
2021-07-03 15:02:00 UTC
https://www.warm1033.com/news/the-remaining-portion-of-the-florida-collapsed-building-could-fall-down-and-search-crews-are-at-risk-county-attorney-says/
The remaining portion of the Florida collapsed building could fall down and search crews are at risk, county attorney says
ENGLISH
2021-07-03 15:01:00 UTC
https://www.diariosigloxxi.com/texto-ep/mostrar/20210703153933/registrados-seis-casos-coronavirus-entre-bomberos-trabajan-derrumbe-miami
Registrados seis casos de coronavirus entre los bomberos que trabajan en el derrumbe de Miami
SPANISH
http://www.diariosigloxxi.com/images/20537
2
sim
0.41
7
2021-07-03 17:32:00 UTC
https://600wmtradio.iheart.com/content/2021-07-03-death-toll-in-florida-condominium-collapse-now-at-24/
Death Toll In Florida Condominium Collapse Now At 24
ENGLISH
https://i.iheart.com/v3/re/new_assets/60d4b15415b4a4b5bae48b60?ops=gravity(%22north%22),fit(740,416),quality(65)
2021-07-03 17:17:00 UTC
https://www.blesk.cz/clanek/zpravy-svet/683761/zemrela-i-dcera-7-hasice-ve-zricenem-dome-na-floride-nasli-ctyri-tela-obeti-je-uz-24.html
Zemřela i dcera (†7) hasiče. Ve zříceném domě na Floridě našli čtyři těla, obětí je už 24
CZECH
https://img.blesk.cz/img/1/normal690/7075964_usa-miami-sesun-domu-tragedie-v3i.jpg?v=3i
3
sim
0.36
5
2021-07-03 00:32:00 UTC
https://www.elpais.com.co/mundo/ya-son-20-los-muertos-que-deja-derrumbe-en-florida-estados-unidos.html
Ya son 20 los muertos que deja derrumbe en Florida, Estados Unidos
SPANISH
https://www.elpais.com.co/files/listing_multimedia_main/uploads/2021/07/02/60df58eb7fbcb.jpeg
2021-07-03 00:17:00 UTC
https://www.hppr.org/2021-07-02/officials-begin-to-plan-demolition-of-the-remaining-part-of-the-surfside-condo
Officials Begin To Plan Demolition Of The Remaining Part Of The Surfside Condo
ENGLISH
https://media.npr.org/assets/img/2021/07/02/gettyimages-1233738814-36ba590d3f80653029a5caafb6c9f35807b4456a.jpg
4
sim
0.62
9
2021-07-03 00:32:00 UTC
https://www.elpais.com.co/mundo/ya-son-20-los-muertos-que-deja-derrumbe-en-florida-estados-unidos.html
Ya son 20 los muertos que deja derrumbe en Florida, Estados Unidos
SPANISH
https://www.elpais.com.co/files/listing_multimedia_main/uploads/2021/07/02/60df58eb7fbcb.jpeg
2021-07-03 00:17:00 UTC
https://www.journaldequebec.com/2021/07/02/immeuble-effondre-en-floride-deux-nouvelles-victimes-dont-la-fille-dun-pompier-20-morts-au-total
Immeuble effondré en Floride: deux nouvelles victimes, l'immeuble va être démoli
FRENCH
https://m1.quebecormedia.com/emp/emp/10605880-da3a-11eb-83fe-95cf63da6fc8_ORIGINAL.jpg?impolicy=crop-resize&x=0&y=152
5
sim
0.48
8
2021-07-03 00:32:00 UTC
https://www.elpais.com.co/mundo/ya-son-20-los-muertos-que-deja-derrumbe-en-florida-estados-unidos.html
Ya son 20 los muertos que deja derrumbe en Florida, Estados Unidos
SPANISH
https://www.elpais.com.co/files/listing_multimedia_main/uploads/2021/07/02/60df58eb7fbcb.jpeg
2021-07-03 00:31:00 UTC
https://www.9news.com.au/national/tally-of-missing-in-collapsed-miami-apartment-building-corrected-to-128/589e0111-f20a-4fd5-a981-7695ea989c97
Miami collapsed building: Two more bodies found as 128 still missing
ENGLISH
https://imageresizer.static9.net.au/WZYLcNUz2uBGF-9eCAU0mtV2bhk=/0x82:1000×644/1200×628/smart/https%3A%2F%2Fprod.static9.net.au%2Ffs%2F1f93353c-2022-45f1-8777-cd80027b60a4
6
sim
0.44
8
2021-07-03 00:47:00 UTC
https://noticias.uol.com.br/ultimas-noticias/efe/2021/07/02/equipe-de-resgate-extrai-mais-2-corpos-dos-escombros-de-predio-em-miami-dade.htm
Equipe de resgate extrai mais 2 corpos dos escombros de prédio em Miami-Dade
PORTUGUESE
2021-07-03 00:32:00 UTC
https://www.elpais.com.co/mundo/ya-son-20-los-muertos-que-deja-derrumbe-en-florida-estados-unidos.html
Ya son 20 los muertos que deja derrumbe en Florida, Estados Unidos
SPANISH
https://www.elpais.com.co/files/listing_multimedia_main/uploads/2021/07/02/60df58eb7fbcb.jpeg
7
sim
0.31
6
2021-07-03 22:17:00 UTC
http://elperiodiquito.com/noticias/134796/Seis-casos-de-coronavirus-entre-bomberos-que-trabajan-en-el-derrumbe-de-Miami
Diario El Periodiquito – Seis casos de coronavirus entre bomberos que trabajan en el derrumbe de Miami
SPANISH
http://elperiodiquito.com/noticias/134796/wp-content/uploads/noticias/Seis-casos-de-coronavirus-entre-bomberos-que-trabajan-en-el-derrumbe-de-Miami.jpg
2021-07-03 22:17:00 UTC
https://www.ndtv.com/world-news/us-death-count-rises-to-24-in-florida-building-collapse-2478710
US: Death Count Rises To 24 In Florida Building Collapse
ENGLISH
https://c.ndtvimg.com/2021-06/1jgavk08_florida-building-collapse-reuters-650_625x300_29_June_21.jpg
8
sim
0.49
8
2021-07-03 16:47:00 UTC
https://www.cnn.com/us/live-news/miami-florida-building-collapse-07-03-21/h_fa46e6d9338ae27822062515d6b87529
2 more victims pulled from Surfside collapse site, Miami-Dade County mayor says
ENGLISH
https://cdn.cnn.com/cnnnext/dam/assets/210702124059-02-building-collapse-0702-super-tease.jpg
2021-07-03 16:46:00 UTC
https://www.ncnewsonline.com/news/national/fire-official-demolition-of-collapsed-condo-to-start-sunday/article_9851bb98-7a4b-5c03-810d-3e70d4555b14.html
Fire official: Demolition of collapsed condo to start Sunday
ENGLISH
https://bloximages.chicago2.vip.townnews.com/ncnewsonline.com/content/tncms/custom/image/7b46e106-0d14-11e8-af5f-238120cd7d18.jpg
9
sim
0.56
7
2021-07-03 00:02:00 UTC
https://mundo.sputniknews.com/20210702/ciudad-estadounidense-north-miami-beach-ordena-evacuar-edificio-por-ser-inseguro-1113767599.html
Ciudad estadounidense North Miami Beach ordena evacuar edificio por ser inseguro
SPANISH
https://cdnmundo1.img.sputniknews.com/images/sharing/article/spa/1113767599.jpg
2021-07-03 00:02:00 UTC
https://www.nbcchicago.com/news/national-international/north-miami-beach-condo-building-closed-evacuated-after-structure-deemed-unsafe/2546707/
North Miami Beach Condo Building Closed, Evacuated After Structure Deemed Unsafe
ENGLISH
https://media.nbcchicago.com/2021/07/crestview.jpg?quality=85&strip=all&fit=1200%2C675
10
sim
0.47
9
2021-07-03 16:47:00 UTC
https://www.cnn.com/us/live-news/miami-florida-building-collapse-07-03-21/h_fa46e6d9338ae27822062515d6b87529
2 more victims pulled from Surfside collapse site, Miami-Dade County mayor says
ENGLISH
https://cdn.cnn.com/cnnnext/dam/assets/210702124059-02-building-collapse-0702-super-tease.jpg
2021-07-03 16:32:00 UTC
https://www.wptv.com/news/state/miami-dade/surfside-building-collapse-7-3-21
Remaining portion of Surfside condo to be demolished Sunday
ENGLISH
https://ewscripps.brightspotcdn.com/f2/38/301af9ba444fa8a18cfe0da5d5c5/ap21179506856899.jpg

What if we only want similar coverage published in a language other than English? We can simply append a language filter to the end of our query:

WITH data AS (
    SELECT DocumentIdentifier url FROM `gdelt-bq.gdeltv2.gkg_partitioned` WHERE DATE(_PARTITIONTIME) = "2021-07-03" and V2Locations like '%Surfside%'
)
select * from `gdelt-bq.gdeltv2.gsg` where DATE(fromDate) = "2021-07-03" and fromUrl in (select url from data) OR toUrl in (select url from data) and (fromlang!='ENGLISH' OR toLang!='ENGLISH')

This yields results like the following:

Row type simScore simWords fromDate fromUrl fromTitle fromLang fromImage toDate toUrl toTitle toLang toImage
1
sim
0.47
8
2021-07-03 00:47:00 UTC
https://wbng.com/2021/07/02/tally-of-missing-in-condo-collapse-falls-to-128-after-audit/
Tally of missing in condo collapse falls to 128 after audit
ENGLISH
https://quincy-network.s3.ca-central-1.amazonaws.com/wp-content/uploads/sites/19/2021/07/MGN_1280x720_10629P00-UDAFD-860×484.jpg
2021-07-03 00:32:00 UTC
https://www.elpais.com.co/mundo/ya-son-20-los-muertos-que-deja-derrumbe-en-florida-estados-unidos.html
Ya son 20 los muertos que deja derrumbe en Florida, Estados Unidos
SPANISH
https://www.elpais.com.co/files/listing_multimedia_main/uploads/2021/07/02/60df58eb7fbcb.jpeg
2
sim
0.42
6
2021-07-03 02:17:00 UTC
https://www.telemundo.com/noticias/noticias-telemundo/estados-unidos/evacuan-con-urgencia-un-edificio-de-condominios-de-miami-tras-detectar-en-enero-que-es-tmna3892596
Evacúan con urgencia un edificio de condominios de Miami tras detectar en enero que es "estructuralmente inseguro"
SPANISH
https://www.telemundo.com/sites/nbcutelemundo/files/styles/nbcnews-fp-1200-630/public/images/article/cover/2021/07/02/gettyimages-1233777598.jpg?ramen_itok=iqwQftIcTf
2021-07-03 02:01:00 UTC
https://www.stltoday.com/news/national/florida-condo-building-deemed-unsafe-evacuation-ordered/article_f59c4379-c1f8-5550-bf0c-b55351beba00.html
Florida condo building deemed unsafe, evacuation ordered
ENGLISH
https://bloximages.newyork1.vip.townnews.com/stltoday.com/content/tncms/assets/v3/editorial/c/27/c272bc9d-b008-5bf4-9ccd-a41ab6c46bdf/60dfb7c6dacfa.image.jpg?crop=1666%2C937%2C0%2C152
3
sim
0.34
6
2021-07-03 17:32:00 UTC
https://www.bakersfield.com/ap/national/fire-official-demolition-of-collapsed-condo-to-start-sunday/article_935d8040-9ead-5ee9-9e53-0feed9434185.html
Fire official: Demolition of collapsed condo to start Sunday
ENGLISH
https://bloximages.newyork1.vip.townnews.com/bakersfield.com/content/tncms/assets/v3/editorial/a/ef/aef26a3f-cbdc-5d23-b497-2bea681a2d52/60dff923ca0b4.image.jpg
2021-07-03 17:17:00 UTC
https://www.blesk.cz/clanek/zpravy-svet/683761/zemrela-i-dcera-7-hasice-ve-zricenem-dome-na-floride-nasli-ctyri-tela-obeti-je-uz-24.html
Zemřela i dcera (†7) hasiče. Ve zříceném domě na Floridě našli čtyři těla, obětí je už 24
CZECH
https://img.blesk.cz/img/1/normal690/7075964_usa-miami-sesun-domu-tragedie-v3i.jpg?v=3i
4
sim
0.52
5
2021-07-03 21:16:00 UTC
https://www.tctelevision.com/noticias/muertos-en-derrumbe-en-florida-suben-a-24-y-demoleran-lo-que-quedo-del-edificio
Muertos en derrumbe en Florida suben a 24 y demolerán lo que quedó del edificio
SPANISH
https://d1t9wpw49blxa2.cloudfront.net/articulos/_1200x630_crop_center-center_82_none/miami-edificio.jpeg?mtime=20210703131706&focal=none&tmtime=20210703131727
2021-07-03 21:02:00 UTC
https://gate.ahram.org.eg/News/2845683.aspx
ارتفاع حصيلة انهيار مبنى في فلوريدا إلى 24 قتيلا
ARABIC
https://gate.ahram.org.eg/Media/News/2021/6/26/19_2021-637603319679874348-987.jpg
5
sim
0.44
5
2021-07-03 09:02:00 UTC
https://cadenaser.com/ser/2021/07/03/internacional/1625294604_106943.html
Suben a 22 las víctimas por el derrumbe del edificio de Miami y mandan evacuar otro bloque de apartamentos
SPANISH
https://cadenaser00.epimg.net/ser/imagenes/2021/07/03/internacional/1625294604_106943_1625294896_rrss_normal.jpg
2021-07-03 08:48:00 UTC
http://elsiglo.com.pa/internacional/20-muertos-derrumbe-miami/24180845
20 muertos por derrumbe en Miami
SPANISH
http://elsiglo.com.pa/media/news/image/547062_800x600_crop_60dfa60d90caf.jpg
6
sim
0.33
5
2021-07-03 01:17:00 UTC
https://www.msn.com/en-us/news/us/developer-of-luxury-condos-offered-next-door-surfside-building-24400000-amid-complaints-over-construction-documents-show/ar-AALIeKt
Developer of luxury condos offered next-door Surfside building $400,000 amid complaints over construction, documents show
ENGLISH
https://img-s-msn-com.akamaized.net/tenant/amp/entityid/AAxYtfi.img?&m=6&q=60&u=t&o=t&l=f&f=png
2021-07-03 01:02:00 UTC
https://www.startribune.com/florida-condo-building-deemed-unsafe-evacuation-ordered/600074567/
Florida condo building deemed unsafe, evacuation ordered
ENGLISH
7
sim
0.32
5
2021-07-03 15:01:00 UTC
https://www.diariosigloxxi.com/texto-ep/mostrar/20210703153933/registrados-seis-casos-coronavirus-entre-bomberos-trabajan-derrumbe-miami
Registrados seis casos de coronavirus entre los bomberos que trabajan en el derrumbe de Miami
SPANISH
http://www.diariosigloxxi.com/images/20537
2021-07-03 14:47:00 UTC
https://www.wgow.com/news/the-remaining-portion-of-the-florida-collapsed-building-could-fall-down-and-search-crews-are-at-risk-county-attorney-says/
The remaining portion of the Florida collapsed building could fall down and search crews are at risk, county attorney says
ENGLISH
8
sim
0.43
8
2021-07-03 16:47:00 UTC
https://www.cnn.com/us/live-news/miami-florida-building-collapse-07-03-21/h_fa46e6d9338ae27822062515d6b87529
2 more victims pulled from Surfside collapse site, Miami-Dade County mayor says
ENGLISH
https://cdn.cnn.com/cnnnext/dam/assets/210702124059-02-building-collapse-0702-super-tease.jpg
2021-07-03 16:46:00 UTC
https://www.kagstv.com/article/news/nation-world/more-bodies-recovered-collapsed-condo-building/507-4e433ca2-2ce9-4045-a30a-e6ef85fff1fb
Mayor: 2 more bodies recovered, Florida collapsed condo building
ENGLISH
https://media.kagstv.com/assets/CCT/images/c0f1f8ab-1d8e-48d3-99ee-c67a94b508c4/c0f1f8ab-1d8e-48d3-99ee-c67a94b508c4_1140x641.jpg
9
sim
0.42
6
2021-07-03 08:48:00 UTC
http://elsiglo.com.pa/internacional/20-muertos-derrumbe-miami/24180845
20 muertos por derrumbe en Miami
SPANISH
http://elsiglo.com.pa/media/news/image/547062_800x600_crop_60dfa60d90caf.jpg
2021-07-03 08:32:00 UTC
http://french.china.org.cn/foreign/txt/2021-07/03/content_77603927.htm
Le bilan de l'effondrement d'un immeuble en Floride passe à 22 morts
FRENCH
http://images.china.cn/images1/de/20120607nrg/leng4.jpg
10
sim
0.5
6
2021-07-03 15:17:00 UTC
https://www.eldiarionuevodia.com.ar/internacionales/2021/7/3/derrumbe-en-miami-nina-fallecida-hallada-entre-los-escombros-es-hija-de-una-argentina-151389.html
Derrumbe en Miami: Niña fallecida hallada entre los escombros es hija de una argentina
SPANISH
https://www.eldiarionuevodia.com.ar/u/fotografias/m/2021/7/3/f1280x720-176248_307923_5050.jpg
2021-07-03 15:16:00 UTC
https://www.lagaceta.com.ar/nota/900719/actualidad/derrumbe-miami-bombero-hallo-muerta-bajo-escombros-edificio-hija-argentina.html
Derrumbe en Miami: un bombero halló muerta bajo los escombros del edificio a su hija argentina
SPANISH
https://img.lagaceta.com.ar/fotos/notas/2021/07/03/la-pequena-tena-siete-anos-900719-113731.jpg