User:Daniel/Queries: Difference between revisions

From MaRDI portal
Line 80: Line 80:
** [https://query.wikidata.org/#%23title%3A%20Common%20author%20name%20strings%20%28without%20single-letter%20initials%29%20on%20works%20that%20have%20either%20a%20zbMATH%20work%20ID%20%28P894%29%20or%20an%20author%20with%20a%20zbMATH%20author%20ID%20%28P1556%29%0ASELECT%0A%23%20Number%20of%20works%20with%20the%20author%20name%20string%20that%20have%20either%20a%20zbMATH%20work%20ID%20%28P894%29%20or%20an%20author%20with%20a%20zbMATH%20author%20ID%20%28P1556%29%0A%3Fcount%0A%0A%23%20Total%20number%20of%20works%20with%20the%20author%20name%20string%0A%3Fcount1%0A%0A%23%20Author%20as%20a%20string%0A%3Fauthorstring%0A%0A%23%20Length%20of%20author%20string%0A%3Flength%20%0A%0A%23%20String%20score%0A%3Fscore%20%0A%0A%23%20Build%20URL%20to%20the%20Author%20disambiguator%20tool%0A%28CONCAT%28%0A%20%20%27https%3A%2F%2Ftools.wmflabs.org%2Fauthor-disambiguator%2Fnames_oauth.php%3Flimit%3D9000%26name%3D%27%2C%0A%20%20ENCODE_FOR_URI%28%3Fauthorstring%29%29%20AS%20%3Fresolver_url%29%0AWITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fwork%20%3Fauthorstring%20WHERE%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20SERVICE%20bd%3Asample%20%7B%20%3Fwork%20wdt%3AP894%20%5B%5D%20.%20bd%3AserviceParam%20bd%3Asample.limit%20100000%20%7D%20%20%20%0A%20%20%20%20%20%20%3Fwork%20wdt%3AP2093%20%3Fauthorstring%20.%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20SERVICE%20bd%3Asample%20%7B%20%3Fauthor%20wdt%3AP1556%20%5B%5D%20.%20bd%3AserviceParam%20bd%3Asample.limit%20100000%20%7D%20%20%20%0A%20%20%20%20%20%20%3Fauthor%20%5Ewdt%3AP50%20%3Fwork%20.%0A%20%20%20%20%20%20%3Fwork%20wdt%3AP2093%20%3Fauthorstring%20.%0A%20%20%20%20%7D%0A%20%20%20%20%23%20remove%20single-letter%20initials%0A%20%20%20%20FILTER%28%21regex%20%28LCASE%28%3Fauthorstring%29%2C%20%22%5E.%2a%3F%28%28%5C%5Cb%5C%5Cw%7B1%7D%5C%5Cb%29%7C%5B.%5D%29.%2a%24%22%29%29.%0A%20%20%7D%0A%20%20%20%20LIMIT%2010000%0A%7D%20AS%20%25works%0AWITH%20%7B%0A%20%20SELECT%0A%20%20%28COUNT%28DISTINCT%20%3Fwork%29%20AS%20%3Fcount%29%0A%20%20%28COUNT%28DISTINCT%20%3Fwork1%29%20AS%20%3Fcount1%29%0A%20%20%3Fauthorstring%0A%20%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25works%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fwork1%20wdt%3AP2093%20%3Fauthorstring%20.%0A%20%20%7D%0A%20%20GROUP%20BY%20%3Fauthorstring%0A%7D%20AS%20%25result%0AWHERE%20%7B%0A%20%20INCLUDE%20%25result%0A%23%20%20%20FILTER%20%28%3Fcount1%20%3E%2049%29%0A%20%20%20%20%20%20%20%20%20%20BIND%28STRLEN%28%3Fauthorstring%29%20AS%20%3Flength%29%0A%20%20%20%20%20%20%20%20%20%20BIND%28%3Fcount%20%2a%20%3Fcount1%20%2a%20%3Flength%20%2a%20%3Flength%20AS%20%3Fscore%29%20%0A%7D%0AORDER%20BY%20DESC%28%3Fscore%29%20DESC%28%3Fcount1%29%20DESC%28%3Fcount%29 Common author name strings (without single-letter initials) on works that have either a zbMATH work ID (P894) or an author with a zbMATH author ID (P1556)]
** [https://query.wikidata.org/#%23title%3A%20Common%20author%20name%20strings%20%28without%20single-letter%20initials%29%20on%20works%20that%20have%20either%20a%20zbMATH%20work%20ID%20%28P894%29%20or%20an%20author%20with%20a%20zbMATH%20author%20ID%20%28P1556%29%0ASELECT%0A%23%20Number%20of%20works%20with%20the%20author%20name%20string%20that%20have%20either%20a%20zbMATH%20work%20ID%20%28P894%29%20or%20an%20author%20with%20a%20zbMATH%20author%20ID%20%28P1556%29%0A%3Fcount%0A%0A%23%20Total%20number%20of%20works%20with%20the%20author%20name%20string%0A%3Fcount1%0A%0A%23%20Author%20as%20a%20string%0A%3Fauthorstring%0A%0A%23%20Length%20of%20author%20string%0A%3Flength%20%0A%0A%23%20String%20score%0A%3Fscore%20%0A%0A%23%20Build%20URL%20to%20the%20Author%20disambiguator%20tool%0A%28CONCAT%28%0A%20%20%27https%3A%2F%2Ftools.wmflabs.org%2Fauthor-disambiguator%2Fnames_oauth.php%3Flimit%3D9000%26name%3D%27%2C%0A%20%20ENCODE_FOR_URI%28%3Fauthorstring%29%29%20AS%20%3Fresolver_url%29%0AWITH%20%7B%0A%20%20SELECT%20DISTINCT%20%3Fwork%20%3Fauthorstring%20WHERE%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20SERVICE%20bd%3Asample%20%7B%20%3Fwork%20wdt%3AP894%20%5B%5D%20.%20bd%3AserviceParam%20bd%3Asample.limit%20100000%20%7D%20%20%20%0A%20%20%20%20%20%20%3Fwork%20wdt%3AP2093%20%3Fauthorstring%20.%0A%20%20%20%20%7D%0A%20%20%20%20UNION%0A%20%20%20%20%7B%0A%20%20%20%20%20%20SERVICE%20bd%3Asample%20%7B%20%3Fauthor%20wdt%3AP1556%20%5B%5D%20.%20bd%3AserviceParam%20bd%3Asample.limit%20100000%20%7D%20%20%20%0A%20%20%20%20%20%20%3Fauthor%20%5Ewdt%3AP50%20%3Fwork%20.%0A%20%20%20%20%20%20%3Fwork%20wdt%3AP2093%20%3Fauthorstring%20.%0A%20%20%20%20%7D%0A%20%20%20%20%23%20remove%20single-letter%20initials%0A%20%20%20%20FILTER%28%21regex%20%28LCASE%28%3Fauthorstring%29%2C%20%22%5E.%2a%3F%28%28%5C%5Cb%5C%5Cw%7B1%7D%5C%5Cb%29%7C%5B.%5D%29.%2a%24%22%29%29.%0A%20%20%7D%0A%20%20%20%20LIMIT%2010000%0A%7D%20AS%20%25works%0AWITH%20%7B%0A%20%20SELECT%0A%20%20%28COUNT%28DISTINCT%20%3Fwork%29%20AS%20%3Fcount%29%0A%20%20%28COUNT%28DISTINCT%20%3Fwork1%29%20AS%20%3Fcount1%29%0A%20%20%3Fauthorstring%0A%20%20WHERE%20%7B%0A%20%20%20%20INCLUDE%20%25works%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fwork1%20wdt%3AP2093%20%3Fauthorstring%20.%0A%20%20%7D%0A%20%20GROUP%20BY%20%3Fauthorstring%0A%7D%20AS%20%25result%0AWHERE%20%7B%0A%20%20INCLUDE%20%25result%0A%23%20%20%20FILTER%20%28%3Fcount1%20%3E%2049%29%0A%20%20%20%20%20%20%20%20%20%20BIND%28STRLEN%28%3Fauthorstring%29%20AS%20%3Flength%29%0A%20%20%20%20%20%20%20%20%20%20BIND%28%3Fcount%20%2a%20%3Fcount1%20%2a%20%3Flength%20%2a%20%3Flength%20AS%20%3Fscore%29%20%0A%7D%0AORDER%20BY%20DESC%28%3Fscore%29%20DESC%28%3Fcount1%29%20DESC%28%3Fcount%29 Common author name strings (without single-letter initials) on works that have either a zbMATH work ID (P894) or an author with a zbMATH author ID (P1556)]
**:This looks like a good dataset to work with, paving the way for disambiguating strings with initials later with more confidence.
**:This looks like a good dataset to work with, paving the way for disambiguating strings with initials later with more confidence.
* [https://query.wikidata.org/#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%23%20Wikidata%20items%20of%20authors%20for%20which%20WIkidata%20does%20not%20know%20the%20zbMATH%20author%20ID%20but%20%23%20%20%0A%23%20the%20zbMATH%20author%20ID%20of%20at%20least%20two%20co-authors%20on%20a%20paper%20with%20zbMATH%20document%20ID%2C%20%23%0A%23%20from%20which%20the%20missing%20zbMATH%20author%20ID%20may%20be%20inferred.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%0ASELECT%20DISTINCT%20%3Fauthor3%20%0A%28URI%28CONCAT%28%0A%20%20%27https%3A%2F%2Fzbmath.org%2F%27%2C%0A%20%20ENCODE_FOR_URI%28%3Fzbm_doc%29%29%29%20AS%20%3Fresolver_url%29%0A%3Fauthor3Label%0A%3Fitem%20%3FitemLabel%20%3Fstatements3%20%20%20%20%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP894%20%3Fzbm_doc%20.%0A%20%20%3Fitem%20wdt%3AP50%20%3Fauthor1%20%2C%20%3Fauthor2%2C%20%3Fauthor3%20.%0A%20%20%3Fauthor1%20wdt%3AP1556%20%3Fzbm_au1%20.%0A%20%20%3Fauthor2%20wdt%3AP1556%20%3Fzbm_au2%20.%0A%20%20FILTER%20%28%3Fauthor1%20%21%3D%20%3Fauthor2%29%0A%20%20FILTER%20%28%3Fauthor1%20%21%3D%20%3Fauthor3%29%0A%20%20FILTER%20%28%3Fauthor2%20%21%3D%20%3Fauthor3%29%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fauthor3%20wdt%3AP1556%20%5B%5D%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Fauthor3%20wikibase%3Astatements%20%3Fstatements3%20.%0A%7D%0AORDER%20BY%20DESC%28%3Fstatements3%29%0ALIMIT%20100 Wikidata items of authors for which Wikidata does not know the zbMATH author ID but the zbMATH author ID of at least two co-authors on a paper with zbMATH document ID, from which the missing zbMATH author ID may be inferred.]
* [https://query.wikidata.org/#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%23%20Wikidata%20items%20of%20authors%20for%20which%20Wikidata%20does%20not%20know%20the%20zbMATH%20author%20ID%20but%20%23%20%20%0A%23%20the%20zbMATH%20author%20ID%20of%20at%20least%20two%20co-authors%20on%20a%20paper%20with%20zbMATH%20document%20ID%2C%20%23%0A%23%20from%20which%20the%20missing%20zbMATH%20author%20ID%20may%20be%20inferred.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%0A%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%0A%0ASELECT%20DISTINCT%20%3Fauthor3%20%0A%28URI%28CONCAT%28%0A%20%20%27https%3A%2F%2Fzbmath.org%2F%27%2C%0A%20%20ENCODE_FOR_URI%28%3Fzbm_doc%29%29%29%20AS%20%3Fresolver_url%29%0A%3Fauthor3Label%0A%3Fitem%20%3FitemLabel%20%3Fstatements3%20%20%20%20%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP894%20%3Fzbm_doc%20.%0A%20%20%3Fitem%20wdt%3AP50%20%3Fauthor1%20%2C%20%3Fauthor2%2C%20%3Fauthor3%20.%0A%20%20%3Fauthor1%20wdt%3AP1556%20%3Fzbm_au1%20.%0A%20%20%3Fauthor2%20wdt%3AP1556%20%3Fzbm_au2%20.%0A%20%20FILTER%20%28%3Fauthor1%20%21%3D%20%3Fauthor2%29%0A%20%20FILTER%20%28%3Fauthor1%20%21%3D%20%3Fauthor3%29%0A%20%20FILTER%20%28%3Fauthor2%20%21%3D%20%3Fauthor3%29%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fauthor3%20wdt%3AP1556%20%5B%5D%20%7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Fauthor3%20wikibase%3Astatements%20%3Fstatements3%20.%0A%7D%0AORDER%20BY%20DESC%28%3Fstatements3%29%0ALIMIT%20100 Wikidata items of authors for which Wikidata does not know the zbMATH author ID but the zbMATH author ID of at least two co-authors on a paper with zbMATH document ID, from which the missing zbMATH author ID may be inferred.]


== Tools ==
== Tools ==

Revision as of 16:03, 2 October 2023

About

This page assists with the creation, curation and maintenance of queries related to mathematical content here on the MaRDI portal or in other knowledge bases, especially in Wikidata.


Demo queries

These are queries that highlight some particular aspect of the data or the associated technical contexts.

Map of institutions involved in NFDI consortia

Formulas involving mass

Meaning of a given symbol in various formulas

Meaning of the symbol 'η' in various formulas

Meaning of the symbol 'μ' in various formulas

Most frequent topics of publications with a zbMATH document ID

Most frequent topics of publications by an author with a zbMATH author ID

Items matching a certain identifier

DLMF ID

Formulas containing certain LaTeX strings

Mathematicians who have had non-mathematical things named after them

Housekeeping queries

List of MaRDI Wikibase properties


Author identifiers

Editing queries

These queries generate commands that can be used to make additional edits in the same Wikibase or another.

Maintenance queries

These queries help maintain or improve data quality, e.g. by checking for consistency or gaps.

zbMATH-related queries

On Wikidata

See also recent changes to items linked from zbMATH work ID (P894), items linking to zbMATH work ID (P894), items linked from zbMATH author ID (P1556) and items linking to author ID (P1556) as well as frequent curators of zbMATH work ID (P894) statements and frequent curators of zbMATH author ID (P1556) statements.

Tools

Q & A

Annotation

See also