User:Daniel/Queries/Federated: Difference between revisions
From MaRDI portal
< User:Daniel | Queries
Line 10: | Line 10: | ||
*** [https://query.portal.mardi4nfdi.de/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fentity%2F%3E%0A%0APREFIX%20wikidata_wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0APREFIX%20wikidata_wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0A%0APREFIX%20zbmath_candidate_string%3A%20%3Chttps%3A%2F%2Fzbmath.org%2Fauthors%2Faaberge.rolf%3E%0A%0ASELECT%20%0A%3Fitem%0A%3Fwikidata%0A%28REPLACE%28STR%28%3Fitem%29%2C%20%22.%2aQ%22%2C%20%22Q%22%29%20AS%20%3Fqid%29%20%0A%28%22P12%22%20AS%20%3Fproperty%29%0A%3FzbMATH_author%0A%0AWHERE%20%7B%0A%20%20BIND%20%28STRAFTER%28STR%28zbmath_candidate_string%3A%29%2C%20%22https%3A%2F%2Fzbmath.org%2Fauthors%2F%22%29%20AS%20%3FzbMATH_author%29%0A%20%20%3Fitem%20wdt%3AP676%20%3FzbMATH_author%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20service%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%20%20%3Fwikidata%20wikidata_wdt%3AP1556%20%3FzbMATH_author%20.%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0ALIMIT%2010 more refined variant] | *** [https://query.portal.mardi4nfdi.de/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fentity%2F%3E%0A%0APREFIX%20wikidata_wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0APREFIX%20wikidata_wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0A%0APREFIX%20zbmath_candidate_string%3A%20%3Chttps%3A%2F%2Fzbmath.org%2Fauthors%2Faaberge.rolf%3E%0A%0ASELECT%20%0A%3Fitem%0A%3Fwikidata%0A%28REPLACE%28STR%28%3Fitem%29%2C%20%22.%2aQ%22%2C%20%22Q%22%29%20AS%20%3Fqid%29%20%0A%28%22P12%22%20AS%20%3Fproperty%29%0A%3FzbMATH_author%0A%0AWHERE%20%7B%0A%20%20BIND%20%28STRAFTER%28STR%28zbmath_candidate_string%3A%29%2C%20%22https%3A%2F%2Fzbmath.org%2Fauthors%2F%22%29%20AS%20%3FzbMATH_author%29%0A%20%20%3Fitem%20wdt%3AP676%20%3FzbMATH_author%20.%0A%20%20OPTIONAL%20%7B%0A%20%20%20%20service%20%3Chttps%3A%2F%2Fquery.wikidata.org%2Fsparql%3E%20%7B%0A%20%20%20%20%20%20%3Fwikidata%20wikidata_wdt%3AP1556%20%3FzbMATH_author%20.%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0ALIMIT%2010 more refined variant] | ||
* check MaRDI items for Wikidata ID, then check Wikidata for images | * check MaRDI items for Wikidata ID, then check Wikidata for images | ||
== MaRDI portal and DBLP == | |||
* [https://sparql.dblp.org/sparql https://sparql.dblp.org/sparql] needs to be added to [https://github.com/MaRDI4NFDI/portal-compose/blob/main/wdqs/allowlist.txt allowlist] | |||
* [https://query.portal.mardi4nfdi.de/#%23%20This%20query%20produces%20statements%20for%0A%23%20https%3A%2F%2Fquickstatements.portal.mardi4nfdi.de%2F%23%2Fbatch%2Fnew%0A%23%20Help%3A%20https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FHelp%3AQuickStatements%20.%0A%0APREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fportal.mardi4nfdi.de%2Fentity%2F%3E%0A%0APREFIX%20dblp%3A%20%3Chttps%3A%2F%2Fdblp.org%2Frdf%2Fschema%23%3E%0A%0ASELECT%20DISTINCT%0A%0A%23%23%23%23%23%23%23%0A%23%20To%20get%20the%20QuickStatements%20commands%2C%20comment%20out%20the%20lines%20until%20the%20next%20hash%20line%0A%3Fmardi_item%0A%3Fmardi_item_label%0A%3FDBLP%0A%3FDBLP_label%0A%3FDOI%0A%23%23%23%23%23%23%23%0A%0A%28REPLACE%28STR%28%3Fmardi_item%29%2C%20%22.%2aQ%22%2C%20%22Q%22%29%20AS%20%3Fmardi_qid%29%20%0A%28%22P1635%22%20AS%20%3Fproperty%29%0A%28CONCAT%28%22%5C%22%22%2C%20REPLACE%28STR%28%3FDBLP%29%2C%20%22.%2aQ%22%2C%20%22Q%22%29%2C%20%22%5C%22%22%29%20AS%20%3FDBLP4MaRDI%29%20%0A%0AWHERE%20%7B%0A%20%20SERVICE%20bd%3Asample%20%7B%20%3Fmardi_item%20wdt%3AP27%20%3Fdoi%20.%20bd%3AserviceParam%20bd%3Asample.limit%2022000%20%7D%0A%23%20%20%20BIND%28UCASE%28%3Fdoi%29%20AS%20%3FDOI%29%0A%20%20FILTER%20NOT%20EXISTS%20%7B%20%3Fmardi_item%20wdt%3AP1635%20%5B%5D%20%7D%20%0A%20%20service%20%3Chttps%3A%2F%2Fsparql.dblp.org%2Fsparql%3E%20%7B%0A%20%20%20%20%3FDBLP%20dblp%3Adoi%20%3Fdoi%20.%0A%20%20%7D%0A%20%20%3Fmardi_item%20rdfs%3Alabel%20%3Fmardi_item_label%20.%0A%20%20FILTER%20%28LANG%28%3Fmardi_item_label%29%20%3D%20%22en%22%29%0A%7D%0A%23%20LIMIT%201000 sample query] | |||
== MaRDI portal and FactGrid == | == MaRDI portal and FactGrid == |
Revision as of 04:34, 13 November 2024
MaRDI portal and MathAlgodDB
MaRDI portal and Wikidata
- formulas
- match between MaRDI and Wikidata by zbMATH author ID
- variant that produces QuickStatements commands to be used on the MaRDI QuickStatements instance
- check MaRDI items for Wikidata ID, then check Wikidata for images
MaRDI portal and DBLP
- https://sparql.dblp.org/sparql needs to be added to allowlist
- sample query
MaRDI portal and FactGrid
FAQ
- Shall there be a "MaRDI item ID"/ "MaRDI property ID"/ "MaRDI entity ID" on FactGrid?
- Which MaRDI items should get a FactGrid ID?
- How many would that be?
- What properties can be used to mediate between MaRDI and FactGrid?
- Wikidata ID
- zbMATH author ID
- Should FactGrid-based information be included in MaRDI profiles?
- What about using sitelinks rather than external identifiers for mapping to other Wikibase instances? (example: Wilhelm Friedrich Ostwald in MaRDI (which maps to Wikidata via external ID) and in FactGrid (which uses sitelinks)
- What about magic links to other Wikibase instances, e.g. something like
factgrid:Item:Q865262
for https://database.factgrid.de/wiki/Item:Q865262?
MaRDI portal and OpenStreetMap
FAIRJupyter and MaRDI portal
Wikidata and LinkedGeoData
Wikidata and OpenStreetMap
Wikidata and WikiPathways
See also
- https://wiki.openstreetmap.org/wiki/Sophox
- MeSH RDF
- SPARQL Micro-Services
- Who is using Knowledge Graphs in NFDI? An overview by the Working Group "Knowledge Graphs"
- Links
- Nomisma SPARQL endpoint and query examples as well as blog posts
- Manor wiki & Wikidata
- unclear, why this query does not show the image for Pehr Elvius