As the National Library of Sweden has deployed a Linked data system see [[ https://www.mynewsdesk.com/se/kungliga_biblioteket/pressreleases/kb-becomes-the-first-national-library-to-fully-transition-to-linked-data-2573975 | KB becomes the first national library to fully transition to linked data ]] we would like to see what SPARQL queries can be executed.
There is planned activities between Wikidata @Lokal_Profil and KB (LIBRIS) maybe doing federates searches will be part of that
In TORA we have relations to LIBRIS eg. [[ https://tora.entryscape.net/wp/view/#esc_entry=12345&esc_context=26 | Lidö Tora 12345]] is related to [[ http://libris.kb.se/bib/8463285 | LIBRIS 8463285 ]] that I guess also will have a relation to WIkipedia [[ https://sv.wikipedia.org/wiki/Lid%C3%B6 | sv:Wikipedia Lidö]] and Wikidata [[ https://www.wikidata.org/wiki/Q10561414 | Q10561414 ]]
- [[ https://youtu.be/pfngmmfXCjg | Video ]] of how a federated search works
- see also [T199977] and [T200067]
- [[ http://sparql.uniprot.org/sparql/?query=PREFIX+keywords%3A%3Chttp%3A%2F%2Fpurl.uniprot.org%2Fkeywords%2F%3E+%0D%0APREFIX+uniprotkb%3A%3Chttp%3A%2F%2Fpurl.uniprot.org%2Funiprot%2F%3E+%0D%0APREFIX+ec%3A%3Chttp%3A%2F%2Fpurl.uniprot.org%2Fenzyme%2F%3E+%0D%0APREFIX+rdf%3A%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E+%0D%0APREFIX+skos%3A%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E+%0D%0APREFIX+owl%3A%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E+%0D%0APREFIX+bibo%3A%3Chttp%3A%2F%2Fpurl.org%2Fontology%2Fbibo%2F%3E+%0D%0APREFIX+dc%3A%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E+%0D%0APREFIX+xsd%3A%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E+%0D%0APREFIX+faldo%3A%3Chttp%3A%2F%2Fbiohackathon.org%2Fresource%2Ffaldo%23%3E+%0D%0APREFIX+up%3A%3Chttp%3A%2F%2Fpurl.uniprot.org%2Fcore%2F%3E+%0D%0APREFIX+taxon%3A%3Chttp%3A%2F%2Fpurl.uniprot.org%2Ftaxonomy%2F%3E+%0D%0APREFIX+rdfs%3A%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+wdt%3A+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0D%0APREFIX+wd%3A+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0D%0APREFIX+pq%3A+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fqualifier%2F%3E%0D%0APREFIX+ps%3A+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fstatement%2F%3E%0D%0APREFIX+p%3A+%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2F%3E%0D%0A%0D%0ASELECT+DISTINCT+%3Fwd_item+%3Fphysically_interacts_with+%3FinteractswithLabel+%3Ftype+%3Firi+%3Funiprot+%3Ftext++WHERE++%7B%0D%0A+++%7BSELECT+*+WHERE+%7B+%3Firi+a+up%3AProtein+%3B%0D%0A%09%09++++up%3Aorganism+taxon%3A9606+%3B+%0D%0A%09%09++++up%3Aannotation+%3Fannotation+.%0D%0A%09%09%3Fannotation+a+up%3ANatural_Variant_Annotation+%3B+%0D%0A%09%09++++++++++++rdfs%3Acomment+%3Ftext+.%0D%0A%09%09FILTER+%28CONTAINS%28%3Ftext%2C+%27loss+of+function%27%29%29%0D%0A+++++%7D%7D%0D%0A++++SERVICE+%3Chttps%3A%2F%2Fquery.wikidata.org%2Fbigdata%2Fnamespace%2Fwdq%2Fsparql%3E+%7B%0D%0A++++++VALUES+%3Fuse+%7Bwd%3AQ427492%7D%0D%0A++++%3Fwd_item+wdt%3AP352+%3Funiprot+%3B%0D%0A+++++++++++++wdt%3AP129+%3Fphysically_interacts_with+%3B+++++%0D%0A++++++++wdt%3AP2888+%3Firi+%3B%0D%0A++++++++wdt%3AP703+wd%3AQ15978631+.%0D%0A++++%3Fwd_item+p%3AP129+%3Fphys_interacts_with_node+.%0D%0A++++%3Fphys_interacts_with_node+ps%3AP129+%3Fphysically_interacts_with+%3B%0D%0A++++++++++++++++++++++++++++++pq%3AP366+%3Fuse+.++++%0D%0A++++%3Fphysically_interacts_with+wdt%3AP31+%3Ftype+%3B%0D%0A+++++++++++++++++++++++++++++++rdfs%3Alabel+%3FinteractswithLabel+.%0D%0A++++FILTER+%28lang%28%3FinteractswithLabel%29+%3D+%22en%22%29++++%0D%0A++++%7D%7D | example ]] [[ https://www.uniprot.org/ | www.uniprot.org ]] searching in Wikidata
- [[ https://twitter.com/salgo60/status/1019886899715100672 | tweet ]]
- Question asked to [[ https://kundo.se/org/librisxl/d/federated-sparql-fragor-hur-gor-man-och-vad-behovs/ | Libris XL ]]
- comment on [[T199977]] regarding license
> There are license issues if the federated queries are run from the [[ https://www.mediawiki.org/wiki/Wikidata_Query_Service | WDQS ]]. However, if you set up a SPARQL endpoint that support federated querying you can include Wikidata through the WDQS immediately. The example you gave above from Uniprot is exactly where this is happening.....